Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2016-03-10 02:59:06 -0500
committerThomas Watson2016-10-07 09:24:22 -0400
commit29060df46ea548a78ff37feaf49672f2b372fdf6 (patch)
tree7e73a245eafd1257cf31438969fbe85ddad54b87
parentd1ae88ece1a9968215b0a369ddcd71d7467e0fbf (diff)
downloadrt.equinox.bundles-29060df46ea548a78ff37feaf49672f2b372fdf6.tar.gz
rt.equinox.bundles-29060df46ea548a78ff37feaf49672f2b372fdf6.tar.xz
rt.equinox.bundles-29060df46ea548a78ff37feaf49672f2b372fdf6.zip
Bug 489330 - Technical debt : useless immutable operation
String.trim() doesn't change value, but returns it. Return value must be kept for usage. Change-Id: Ib7e85d4946d313a07eca4845919453b70e133a9d Signed-off-by: Mickael Istria <mistria@redhat.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.equinox.ip/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.equinox.ip/pom.xml2
-rw-r--r--bundles/org.eclipse.equinox.ip/src/org/eclipse/equinox/internal/ip/impl/ProvisioningAgent.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.ip/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.ip/META-INF/MANIFEST.MF
index b8fb367e..9a39b3b0 100644
--- a/bundles/org.eclipse.equinox.ip/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.ip/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-SymbolicName: org.eclipse.equinox.ip
-Bundle-Version: 1.1.300.qualifier
+Bundle-Version: 1.1.400.qualifier
Bundle-Vendor: %bundleVendor
Bundle-Description: Provides implementation of the Intial Provisioning service
defined by OSGi specification release 4.
diff --git a/bundles/org.eclipse.equinox.ip/pom.xml b/bundles/org.eclipse.equinox.ip/pom.xml
index 59731b6c..8523e59d 100644
--- a/bundles/org.eclipse.equinox.ip/pom.xml
+++ b/bundles/org.eclipse.equinox.ip/pom.xml
@@ -19,6 +19,6 @@
</parent>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.ip</artifactId>
- <version>1.1.300-SNAPSHOT</version>
+ <version>1.1.400-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/bundles/org.eclipse.equinox.ip/src/org/eclipse/equinox/internal/ip/impl/ProvisioningAgent.java b/bundles/org.eclipse.equinox.ip/src/org/eclipse/equinox/internal/ip/impl/ProvisioningAgent.java
index 47e60c4e..a978761a 100644
--- a/bundles/org.eclipse.equinox.ip/src/org/eclipse/equinox/internal/ip/impl/ProvisioningAgent.java
+++ b/bundles/org.eclipse.equinox.ip/src/org/eclipse/equinox/internal/ip/impl/ProvisioningAgent.java
@@ -265,7 +265,7 @@ public class ProvisioningAgent implements BundleActivator, ProvisioningService,
// Gets inner storage activator class name (if inner storage exists).
String storageName = (String) thisBundle.getHeaders().get(STORAGE);
if (storageName != null) {
- storageName.trim();
+ storageName = storageName.trim();
}
// Registers configuration providers packed into the bundle

Back to the top