This is a simple comparison, no parentheses are needed.
Change-Id: Ib0857e0a9c35f743260d5250f4bcf0cd6fd35230
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
// but we intentionally, got a little further than Karaf's "diag" command,
// and instead of only checking some states, we check what's really Active,
// but accept that some remain just Resolved:
- if (karafBundleState != Active && !(karafBundleState == BundleState.Resolved)) {
+ if (karafBundleState != Active && karafBundleState != BundleState.Resolved) {
String msg = "NOK " + bundleSymbolicNameWithVersion + ": " + bundleStateDiagText;
nokBundleStateInfoTexts.add(msg);
} else {