summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorGrant Gayed <grant_gayed@ca.ibm.com>2012-02-24 12:33:10 -0500
committerGrant Gayed <grant_gayed@ca.ibm.com>2012-02-24 12:33:10 -0500
commite048abbf58389e1cccd6d9514c87591bba0083f6 (patch)
tree2273c700d66d1db10d8ec566634bc3d97834779f /bundles
parentffbb45ebcfe4cf4170e71894082281c96df7160f (diff)
downloadeclipse.platform.swt-e048abbf58389e1cccd6d9514c87591bba0083f6.tar.gz
eclipse.platform.swt-e048abbf58389e1cccd6d9514c87591bba0083f6.tar.xz
eclipse.platform.swt-e048abbf58389e1cccd6d9514c87591bba0083f6.zip
remove unused imports, fix some whitespace
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/Platform.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/Platform.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/Platform.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/Platform.java3
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/Platform.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/Platform.java4
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 ();