Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

remove clock Guice binding #305

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

ylwu-amzn
Copy link
Contributor

*Issue #299 *

Description of changes:
Conflict Guice binding for Clock.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Nov 3, 2020

Codecov Report

Merging #305 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #305      +/-   ##
============================================
- Coverage     72.04%   72.02%   -0.03%     
  Complexity     1968     1968              
============================================
  Files           199      199              
  Lines          9463     9465       +2     
  Branches        844      844              
============================================
- Hits           6818     6817       -1     
- Misses         2233     2236       +3     
  Partials        412      412              
Flag Coverage Δ Complexity Δ
cli 79.27% <ø> (ø) 0.00 <ø> (ø)
plugin 71.42% <100.00%> (-0.03%) 1968.00 <2.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...stroforelasticsearch/ad/AnomalyDetectorPlugin.java 94.73% <ø> (-0.18%) 11.00 <0.00> (-2.00)
.../opendistroforelasticsearch/ad/util/Throttler.java 100.00% <ø> (ø) 5.00 <0.00> (ø)
...arch/ad/transport/EntityResultTransportAction.java 86.30% <100.00%> (+0.58%) 14.00 <1.00> (+1.00)
...ad/transport/handler/MultiEntityResultHandler.java 23.25% <100.00%> (+5.75%) 3.00 <1.00> (+1.00)
...port/SearchAnomalyDetectorInfoTransportAction.java 54.54% <0.00%> (-9.10%) 4.00% <0.00%> (ø%)
...sticsearch/ad/indices/AnomalyDetectionIndices.java 50.00% <0.00%> (-0.34%) 39.00% <0.00%> (-1.00%)
...asticsearch/ad/cluster/ADClusterEventListener.java 92.00% <0.00%> (+4.00%) 14.00% <0.00%> (+1.00%)

@ylwu-amzn ylwu-amzn added the bug Something isn't working label Nov 3, 2020
@ylwu-amzn ylwu-amzn linked an issue Nov 3, 2020 that may be closed by this pull request
@@ -525,14 +522,6 @@ protected Clock getClock() {
return Clock.systemUTC();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove getClock() this method if it is not used anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still being used.

@ylwu-amzn ylwu-amzn merged commit 2b78d10 into opendistro-for-elasticsearch:master Nov 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guice Creation errors on java.time.Clock [BUG]
3 participants