[566200] EMF gives wrong baseUrl in felix OSGi

Ensure that computed base URL doesn't end with // in general.

Signed-off-by: Ed Merks <ed.merks@gmail.com>
diff --git a/plugins/org.eclipse.emf.common/src/org/eclipse/emf/common/util/DelegatingResourceLocator.java b/plugins/org.eclipse.emf.common/src/org/eclipse/emf/common/util/DelegatingResourceLocator.java
index b434c7e..c137e34 100644
--- a/plugins/org.eclipse.emf.common/src/org/eclipse/emf/common/util/DelegatingResourceLocator.java
+++ b/plugins/org.eclipse.emf.common/src/org/eclipse/emf/common/util/DelegatingResourceLocator.java
@@ -200,7 +200,8 @@
                 {
                   this.bundleLocalization = bundleLocalization;
                 }
-                baseURL = new URL(uri.toString() + "/");
+                String baseURI = uri.toString();
+                baseURL = new URL(baseURI.endsWith("/") ? baseURI : baseURI + "/");
               }
               catch (IOException exception)
               {