diff options
author | Christophe Cornu <chrix> | 2001-10-09 15:37:49 +0000 |
---|---|---|
committer | Christophe Cornu <chrix> | 2001-10-09 15:37:49 +0000 |
commit | 495d6429820f2bcf4131f190b4d48fe26a73a4f7 (patch) | |
tree | 899f4bc37e2e4a870996206abca5c4d0c1ab3e79 /bundles/org.eclipse.swt/Eclipse SWT Program | |
parent | a22ea01263b55e62c96a5c6e9da21430387ce195 (diff) | |
download | eclipse.platform.swt-495d6429820f2bcf4131f190b4d48fe26a73a4f7.tar.gz eclipse.platform.swt-495d6429820f2bcf4131f190b4d48fe26a73a4f7.tar.xz eclipse.platform.swt-495d6429820f2bcf4131f190b4d48fe26a73a4f7.zip |
More CLDC changes
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java b/bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java index 5f58b97556..d83c5f663b 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java @@ -431,7 +431,7 @@ private static String[] parseCommand( String cmd ) { int eIndex; while (sIndex < cmd.length()) { // Trim initial white space of argument. - while (sIndex < cmd.length() && Character.isWhitespace( cmd.charAt(sIndex) )) { + while (sIndex < cmd.length() && Compatibility.isWhitespace( cmd.charAt(sIndex) )) { sIndex++; } if (sIndex < cmd.length()) { @@ -457,7 +457,7 @@ private static String[] parseCommand( String cmd ) { // else use white space for the delimiters. else { eIndex = sIndex; - while (eIndex < cmd.length() && !Character.isWhitespace( cmd.charAt(eIndex) )) { + while (eIndex < cmd.length() && !Compatibility.isWhitespace( cmd.charAt(eIndex) )) { eIndex++; } args.add( cmd.substring( sIndex, eIndex ) ); @@ -526,7 +526,7 @@ static String gnome_getMimeValue(String mimeType, String key) { static boolean kde_init () { try { Callback.loadLibrary("swt-kde"); - } catch (UnsatisfiedLinkError e) { + } catch (SWTError e) { return false; } @@ -863,7 +863,7 @@ public String toString () { static boolean gnome_init () { try { Callback.loadLibrary("swt-gnome"); - } catch (UnsatisfiedLinkError e) { + } catch (SWTError e) { return false; } return true; @@ -1033,7 +1033,7 @@ ImageData cde_getImageData() { static boolean cde_init( Display display ) { try { Callback.loadLibrary("swt-cde"); - } catch (UnsatisfiedLinkError e) { + } catch (SWTError e) { return false; } |