diff options
author | Mickael Istria | 2016-03-10 07:59:06 +0000 |
---|---|---|
committer | Thomas Watson | 2016-10-07 13:24:22 +0000 |
commit | 29060df46ea548a78ff37feaf49672f2b372fdf6 (patch) | |
tree | 7e73a245eafd1257cf31438969fbe85ddad54b87 | |
parent | d1ae88ece1a9968215b0a369ddcd71d7467e0fbf (diff) | |
download | rt.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>
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 b8fb367e9..9a39b3b0c 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 59731b6c3..8523e59d8 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 47e60c4ec..a978761ac 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 |