summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
3f1642c)
https://github.com/spotbugs/spotbugs/releases/tag/4.7.3
Change-Id: Ie9c2f372b439a28e7d391d8117739921aab765fc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
= new BundleSymbolicNameWithVersion(bundleSymbolicName, bundle.getVersion().toString());
BundleInfo karafBundleInfo = bundleService.getInfo(bundle);
= new BundleSymbolicNameWithVersion(bundleSymbolicName, bundle.getVersion().toString());
BundleInfo karafBundleInfo = bundleService.getInfo(bundle);
+ String diagText = bundleService.getDiag(bundle);
BundleState karafBundleState = karafBundleInfo.getState();
bundlesStateMap.put(bundleSymbolicNameWithVersion, karafBundleState);
String bundleStateDiagText = "OSGi state = " + bundleStateToText(bundle.getState())
BundleState karafBundleState = karafBundleInfo.getState();
bundlesStateMap.put(bundleSymbolicNameWithVersion, karafBundleState);
String bundleStateDiagText = "OSGi state = " + bundleStateToText(bundle.getState())
- + ", Karaf bundleState = " + karafBundleState;
- String diagText = bundleService.getDiag(bundle);
- if (!diagText.isEmpty()) {
- bundleStateDiagText += ", due to: " + diagText;
- }
+ + ", Karaf bundleState = " + karafBundleState
+ + (diagText.isEmpty() ? "" : ", due to: " + diagText);
if (WHITELISTED_BUNDLES.get(bundleSymbolicName) != null) {
if (WHITELISTED_BUNDLES.get(bundleSymbolicName).equals(karafBundleState)) {
if (WHITELISTED_BUNDLES.get(bundleSymbolicName) != null) {
if (WHITELISTED_BUNDLES.get(bundleSymbolicName).equals(karafBundleState)) {
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
- <version>4.7.2</version>
+ <version>4.7.3</version>
<scope>provided</scope>
<!-- Contains retention=RUNTIME annotations, which are not really needed -->
<optional>true</optional>
<scope>provided</scope>
<!-- Contains retention=RUNTIME annotations, which are not really needed -->
<optional>true</optional>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs</artifactId>
- <version>4.7.2</version>
+ <version>4.7.3</version>
</dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
</dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>