private final Map<BundleState, Integer> bundleStatesCounters;
private static final Map<String, BundleState> WHITELISTED_BUNDLES = ImmutableMap.of(
- "slf4j.log4j12", Installed );
+ "slf4j.log4j12", Installed);
public static BundleDiagInfos forContext(BundleContext bundleContext, BundleService bundleService) {
List<String> okBundleStateInfoTexts = new ArrayList<>();
.conditionEvaluationListener(
condition -> LOG.info("{} (elapsed time {}s, remaining time {}s)",
((BundleDiagInfos) condition.getValue()).getSummaryText(),
- condition.getElapsedTimeInMS() / 1000, condition.getRemainingTimeInMS() / 1000 ))
+ condition.getElapsedTimeInMS() / 1000, condition.getRemainingTimeInMS() / 1000))
.until(() -> getBundleDiagInfos(), new BundleServiceSummaryMatcher());
// If we're here then either BundleServiceSummaryMatcher quit because of Active, Failure or Stopping..
private final Map<BundleState, Integer> bundleStatesCounters;
private static final Map<String, BundleState> WHITELISTED_BUNDLES = ImmutableMap.of(
- "slf4j.log4j12", Installed );
+ "slf4j.log4j12", Installed);
public static BundleDiagInfos forContext(BundleContext bundleContext, BundleService bundleService) {
List<String> okBundleStateInfoTexts = new ArrayList<>();
.conditionEvaluationListener(
condition -> LOG.info("{} (elapsed time {}s, remaining time {}s)",
((BundleDiagInfos) condition.getValue()).getSummaryText(),
- condition.getElapsedTimeInMS() / 1000, condition.getRemainingTimeInMS() / 1000 ))
+ condition.getElapsedTimeInMS() / 1000, condition.getRemainingTimeInMS() / 1000))
.until(() -> getBundleDiagInfos(), new BundleServiceSummaryMatcher());
// If we're here then either BundleServiceSummaryMatcher quit because of Active, Failure or Stopping..
<message key="ws.notPreceded"
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
+ <module name="ParenPad" />
<module name="OneStatementPerLine"/>
<module name="MultipleVariableDeclarations"/>
<module name="ArrayTypeStyle"/>