]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/src/org/simantics/g3d/tools/PluginTools.java
White space clean-up
[simantics/3d.git] / org.simantics.g3d / src / org / simantics / g3d / tools / PluginTools.java
index cf48ca3b3c67a3c07f667273e5b54cdd7e865525..296f1a1142545cbe7516aaa56af21c4bc831b270 100644 (file)
@@ -21,19 +21,19 @@ import org.osgi.framework.Bundle;
 \r
 public class PluginTools {\r
        \r
-        public static String getAbsolutePath(Bundle inBundle, String fullpath) {\r
-               IPath path = new Path(fullpath);\r
-               URL u = FileLocator.find(inBundle, path, null);\r
-               if (u != null) {\r
-                   try {\r
-                       u = FileLocator.resolve(u);\r
-                       if ("file".equals(u.getProtocol())) {\r
-                           return new File(u.getFile()).getAbsolutePath();\r
-                       }\r
-                   } catch (Exception e) {\r
-                   }\r
-               }\r
-               return null;\r
-           }\r
+       public static String getAbsolutePath(Bundle inBundle, String fullpath) {\r
+               IPath path = new Path(fullpath);\r
+               URL u = FileLocator.find(inBundle, path, null);\r
+               if (u != null) {\r
+                       try {\r
+                               u = FileLocator.resolve(u);\r
+                               if ("file".equals(u.getProtocol())) {\r
+                                       return new File(u.getFile()).getAbsolutePath();\r
+                               }\r
+                       } catch (Exception e) {\r
+                       }\r
+               }\r
+               return null;\r
+       }\r
 \r
 }\r