diff options
author | Alexander Kurtakov | 2015-12-16 14:24:24 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2015-12-16 14:24:24 +0000 |
commit | 9bb2eba5e790e5b0860c95e76444e39cb979a157 (patch) | |
tree | 9ecb548aa35174c48a0d60129c4b7938dff197c1 /bundles/org.eclipse.swt/Eclipse SWT Program | |
parent | 24c5e740f926777946aed719e0de0acfed68741e (diff) | |
download | eclipse.platform.swt-9bb2eba5e790e5b0860c95e76444e39cb979a157.tar.gz eclipse.platform.swt-9bb2eba5e790e5b0860c95e76444e39cb979a157.tar.xz eclipse.platform.swt-9bb2eba5e790e5b0860c95e76444e39cb979a157.zip |
Bug 484484 - Remove org.eclipse.swt.internal.Compatibility class
Inlined:
* Math.PI
* equalsIgnoreCase
* interrupt
* isLetter
* isWhitespace
Change-Id: Ib38e9efb1017533f5205fa0b41cb78c0ac5a3254
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Program')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java b/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java index b45b319e6e..525e0ecc2e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java @@ -332,7 +332,7 @@ static String[] parseCommand(String cmd) { int eIndex; while (sIndex < cmd.length()) { /* Trim initial white space of argument. */ - while (sIndex < cmd.length() && Compatibility.isWhitespace(cmd.charAt(sIndex))) { + while (sIndex < cmd.length() && Character.isWhitespace(cmd.charAt(sIndex))) { sIndex++; } if (sIndex < cmd.length()) { @@ -357,7 +357,7 @@ static String[] parseCommand(String cmd) { else { /* Use white space for the delimiters. */ eIndex = sIndex; - while (eIndex < cmd.length() && !Compatibility.isWhitespace(cmd.charAt(eIndex))) eIndex++; + while (eIndex < cmd.length() && !Character.isWhitespace(cmd.charAt(eIndex))) eIndex++; args.add(cmd.substring(sIndex, eIndex)); sIndex = eIndex + 1; } |