diff options
7 files changed, 6 insertions, 12 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java index 08761482a3..622e50c89b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java @@ -10,8 +10,8 @@ *******************************************************************************/ package org.eclipse.swt.internal; + public class Platform { - public static final String PLATFORM = "carbon"; //$NON-NLS-1$ public static final Lock lock = new Lock (); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java index da8e9aabce..e4e0cef19f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java @@ -10,9 +10,6 @@ *******************************************************************************/ package org.eclipse.swt.internal; -import java.io.*; -import java.net.*; -import java.util.jar.*; public class Platform { public static final String PLATFORM = "cocoa"; //$NON-NLS-1$ diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/Platform.java index 390b4447ad..13a7402492 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/Platform.java @@ -17,7 +17,7 @@ package org.eclipse.swt.internal; public class Platform { public static final String PLATFORM = "gtk"; //$NON-NLS-1$ - public static final Lock lock = new Lock(); + public static final Lock lock = new Lock (); public static boolean isLoadable () { return Library.isLoadable (); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index 5793e23e41..33205d9031 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -14,7 +14,7 @@ *******************************************************************************/ package org.eclipse.swt.internal.gtk; - + import org.eclipse.swt.internal.*; public class OS extends C { diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/Platform.java index 4e9dbfc22c..deb3f482c9 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/Platform.java @@ -10,9 +10,10 @@ *******************************************************************************/ package org.eclipse.swt.internal; + public class Platform { public static final String PLATFORM = "motif"; //$NON-NLS-1$ - public static final Lock lock = new Lock(); + public static final Lock lock = new Lock (); public static boolean isLoadable () { return Library.isLoadable (); diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/Platform.java index a5c6d7e647..6ebf9202d5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/Platform.java @@ -10,8 +10,8 @@ *******************************************************************************/ package org.eclipse.swt.internal; + public class Platform { - public static final String PLATFORM = "photon"; //$NON-NLS-1$ public static boolean isLoadable () { diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/Platform.java b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/Platform.java index 7fd3805985..14d93f4c4e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/Platform.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/Platform.java @@ -10,12 +10,8 @@ *******************************************************************************/ package org.eclipse.swt.internal; -import java.io.*; -import java.net.*; -import java.util.jar.*; public class Platform { - public static final String PLATFORM = "win32"; //$NON-NLS-1$ public static final Lock lock = new Lock (); |