-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce SettableWatcher to make writing Watcher related integration… #693
base: main
Are you sure you want to change the base?
Conversation
… test more easily
Codecov Report
@@ Coverage Diff @@
## master #693 +/- ##
============================================
- Coverage 70.19% 70.06% -0.14%
+ Complexity 3419 3414 -5
============================================
Files 349 350 +1
Lines 13468 13487 +19
Branches 1454 1457 +3
============================================
- Hits 9454 9449 -5
- Misses 3133 3154 +21
- Partials 881 884 +3
Continue to review full report at Codecov.
|
import com.linecorp.centraldogma.client.Watcher; | ||
import com.linecorp.centraldogma.common.Revision; | ||
|
||
public final class SettableWatcher<T> implements Watcher<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding Javadoc and simple test suites to ensure the feature?
updateListeners.clear(); | ||
} | ||
|
||
public void setValue(T value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a Javadoc?
… test more easily