Skip to content

Commit b6d71d7

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

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import io.javaoperatorsdk.operator.api.monitoring.Metrics;
1515
import io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResourceFactory;
1616

17-
@SuppressWarnings( {"unused", "UnusedReturnValue"})
17+
@SuppressWarnings({"unused", "UnusedReturnValue"})
1818
public class ConfigurationServiceOverrider {
1919

2020
private static final Logger log = LoggerFactory.getLogger(ConfigurationServiceOverrider.class);

operator-framework-core/src/test/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverriderTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414
class ConfigurationServiceOverriderTest {
1515

16-
private static final Metrics METRICS = new Metrics() {
17-
};
16+
private static final Metrics METRICS = new Metrics() {};
1817

1918
private static final LeaderElectionConfiguration LEADER_ELECTION_CONFIGURATION =
2019
new LeaderElectionConfiguration("foo", "fooNS");
@@ -61,8 +60,7 @@ public <R extends HasMetadata> R clone(R object) {
6160
}
6261
})
6362
.withConcurrentReconciliationThreads(25)
64-
.withMetrics(new Metrics() {
65-
})
63+
.withMetrics(new Metrics() {})
6664
.withLeaderElectionConfiguration(new LeaderElectionConfiguration("newLease", "newLeaseNS"))
6765
.withInformerStoppedHandler((informer, ex) -> {
6866
})

0 commit comments

Comments
 (0)