Committed by
Gerrit Code Review
Restrict the visibility of methods only accessed from the same package
Change-Id: Ia735baeb6035df597773dfbe260831e97656a9fa
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -112,7 +112,7 @@ public class IntentPartitionManager implements IntentPartitionService { | ... | @@ -112,7 +112,7 @@ public class IntentPartitionManager implements IntentPartitionService { |
112 | * @param executor scheduled executor service for background tasks | 112 | * @param executor scheduled executor service for background tasks |
113 | * @return this PartitionManager | 113 | * @return this PartitionManager |
114 | */ | 114 | */ |
115 | - public IntentPartitionManager withScheduledExecutor(ScheduledExecutorService executor) { | 115 | + IntentPartitionManager withScheduledExecutor(ScheduledExecutorService executor) { |
116 | this.executor = executor; | 116 | this.executor = executor; |
117 | return this; | 117 | return this; |
118 | } | 118 | } |
... | @@ -155,7 +155,7 @@ public class IntentPartitionManager implements IntentPartitionService { | ... | @@ -155,7 +155,7 @@ public class IntentPartitionManager implements IntentPartitionService { |
155 | listenerRegistry.removeListener(listener); | 155 | listenerRegistry.removeListener(listener); |
156 | } | 156 | } |
157 | 157 | ||
158 | - protected void doRebalance() { | 158 | + void doRebalance() { |
159 | rebalanceScheduled.set(false); | 159 | rebalanceScheduled.set(false); |
160 | try { | 160 | try { |
161 | rebalance(); | 161 | rebalance(); | ... | ... |
-
Please register or login to post a comment