Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2006-11-30 21:34:26 +0000
committerSilenio Quarti2006-11-30 21:34:26 +0000
commit00581def820ad3079e02cd5ae45793b53edac5ec (patch)
treef8ad08802da40579775a274f99721c51e0080bb6 /bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal
parent3f4f11935cadbb78e8d83414ccd7f9dd63c75e21 (diff)
downloadeclipse.platform.swt-00581def820ad3079e02cd5ae45793b53edac5ec.tar.gz
eclipse.platform.swt-00581def820ad3079e02cd5ae45793b53edac5ec.tar.xz
eclipse.platform.swt-00581def820ad3079e02cd5ae45793b53edac5ec.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
index 9a9affb8b8..2c845e0019 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
@@ -179,7 +179,7 @@ public static void loadLibrary (String name) {
/* Try loading library from swt library path */
String path = System.getProperty ("swt.library.path"); //$NON-NLS-1$
if (path != null) {
- path = new File(path).getAbsolutePath ();
+ path = new File (path).getAbsolutePath ();
if (load (path + SEPARATOR + mappedName1)) return;
if (load (path + SEPARATOR + mappedName2)) return;
}
@@ -191,7 +191,7 @@ public static void loadLibrary (String name) {
/* Try loading library from the tmp directory if swt library path is not specified */
if (path == null) {
path = System.getProperty ("java.io.tmpdir"); //$NON-NLS-1$
- path = new File(path).getAbsolutePath ();
+ path = new File (path).getAbsolutePath ();
if (load (path + SEPARATOR + mappedName1)) return;
if (load (path + SEPARATOR + mappedName2)) return;
}
@@ -203,7 +203,7 @@ public static void loadLibrary (String name) {
}
/* Failed to find the library */
- throw new UnsatisfiedLinkError ("no " + libName1 + " or " + libName2 + " in swt.library.path, java.libary.path or the jar file");
+ throw new UnsatisfiedLinkError ("no " + libName1 + " or " + libName2 + " in swt.library.path, java.libary.path or the jar file"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
}

Back to the top