Skip to content

Commit 4bec042

Browse files
committed
Fix lint error
Signed-off-by: 10000-ki <[email protected]>
1 parent b6d71d7 commit 4bec042

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/Operator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ public void stop(Duration gracefulShutdownTimeout) throws OperatorException {
164164

165165
@Override
166166
public void stop() throws OperatorException {
167-
Duration reconciliationTerminationTimeout = configurationService.reconciliationTerminationTimeout();
167+
Duration reconciliationTerminationTimeout =
168+
configurationService.reconciliationTerminationTimeout();
168169
stop(reconciliationTerminationTimeout);
169170
}
170171

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public interface ConfigurationService {
5656
* </p>
5757
*
5858
* @param baseConfiguration the {@link ConfigurationService} to start from
59-
* @param overrider the {@link ConfigurationServiceOverrider} used to change the values
60-
* provided by the base configuration
59+
* @param overrider the {@link ConfigurationServiceOverrider} used to change the values provided
60+
* by the base configuration
6161
* @return a new {@link ConfigurationService} starting from the configuration provided as base but
62-
* with overridden values.
62+
* with overridden values.
6363
*/
6464
static ConfigurationService newOverriddenConfigurationService(
6565
ConfigurationService baseConfiguration,
@@ -86,9 +86,9 @@ static ConfigurationService newOverriddenConfigurationService(
8686
* </p>
8787
*
8888
* @param overrider the {@link ConfigurationServiceOverrider} used to change the values provided
89-
* by the default configuration
89+
* by the default configuration
9090
* @return a new {@link ConfigurationService} overriding the default values with the ones provided
91-
* by the specified {@link ConfigurationServiceOverrider}
91+
* by the specified {@link ConfigurationServiceOverrider}
9292
* @since 4.4.0
9393
*/
9494
static ConfigurationService newOverriddenConfigurationService(
@@ -100,9 +100,9 @@ static ConfigurationService newOverriddenConfigurationService(
100100
* Retrieves the configuration associated with the specified reconciler
101101
*
102102
* @param reconciler the reconciler we want the configuration of
103-
* @param <R> the {@code CustomResource} type associated with the specified reconciler
103+
* @param <R> the {@code CustomResource} type associated with the specified reconciler
104104
* @return the {@link ControllerConfiguration} associated with the specified reconciler or
105-
* {@code null} if no configuration exists for the reconciler
105+
* {@code null} if no configuration exists for the reconciler
106106
*/
107107
<R extends HasMetadata> ControllerConfiguration<R> getConfigurationFor(Reconciler<R> reconciler);
108108

@@ -223,7 +223,7 @@ default Metrics getMetrics() {
223223
* handle concurrent reconciliations
224224
*
225225
* @return the {@link ExecutorService} implementation to use for concurrent reconciliation
226-
* processing
226+
* processing
227227
*/
228228
default ExecutorService getExecutorService() {
229229
return Executors.newFixedThreadPool(concurrentReconciliationThreads());
@@ -251,8 +251,7 @@ default boolean closeClientOnStop() {
251251

252252
/**
253253
* Override to provide a custom {@link DependentResourceFactory} implementation to change how
254-
* {@link io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource} are
255-
* instantiated
254+
* {@link io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResource} are instantiated
256255
*
257256
* @return the custom {@link DependentResourceFactory} implementation
258257
*/
@@ -422,7 +421,7 @@ default boolean parseResourceVersionsForEventFilteringAndCaching() {
422421
* adding finalizers, patching resources and status.
423422
*
424423
* @return {@code true} if Server-Side Apply (SSA) should be used when patching the primary
425-
* resources, {@code false} otherwise
424+
* resources, {@code false} otherwise
426425
* @see ConfigurationServiceOverrider#withUseSSAToPatchPrimaryResource(boolean)
427426
* @since 5.0.0
428427
*/
@@ -445,7 +444,7 @@ default boolean useSSAToPatchPrimaryResource() {
445444
* </p>
446445
*
447446
* @return {@code true} if resources should be defensively cloned before returning them from
448-
* caches, {@code false} otherwise
447+
* caches, {@code false} otherwise
449448
* @since 5.0.0
450449
*/
451450
default boolean cloneSecondaryResourcesWhenGettingFromCache() {

0 commit comments

Comments
 (0)