diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PlatformURLMetaConnection.java')
-rw-r--r-- | bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PlatformURLMetaConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PlatformURLMetaConnection.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PlatformURLMetaConnection.java index f8c948141..b86d55885 100644 --- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PlatformURLMetaConnection.java +++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/internal/runtime/PlatformURLMetaConnection.java @@ -40,7 +40,7 @@ public class PlatformURLMetaConnection extends PlatformURLConnection { spec = spec.substring(1); if (!spec.startsWith(META)) throw new IOException(NLS.bind(CommonMessages.url_badVariant, url.toString())); - int ix = spec.indexOf("/", META.length() + 1); //$NON-NLS-1$ + int ix = spec.indexOf('/', META.length() + 1); //$NON-NLS-1$ String ref = ix == -1 ? spec.substring(META.length() + 1) : spec.substring(META.length() + 1, ix); String id = getId(ref); Activator activator = Activator.getDefault(); |