summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuong Nguyen <dnguyen>2008-07-10 21:09:12 +0000
committerDuong Nguyen <dnguyen>2008-07-10 21:09:12 +0000
commite7a466f558751d15ec36d3e5484520377fa6315e (patch)
tree6de30202992131373a1ca18b9f0d10d71dce5ab5
parent6b130b31eaa4ab6cdb0628482e2e6a71200ff714 (diff)
downloadeclipse.platform.swt-e7a466f558751d15ec36d3e5484520377fa6315e.tar.gz
eclipse.platform.swt-e7a466f558751d15ec36d3e5484520377fa6315e.tar.xz
eclipse.platform.swt-e7a466f558751d15ec36d3e5484520377fa6315e.zip
Bug 235968 - CCombo class should not be final
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java4
3 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java
index c281190e07..4c2a00f61d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java
@@ -151,8 +151,8 @@ static int[] bezier(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int
static int checkStyle (int style) {
return SWT.NONE;
}
-// We should have checkSubclass() but adding it now will cause existing
-// subclasses to break.
+//The checkSubclass() method should be implemented but adding it now
+//will cause existing subclasses to break.
//protected void checkSubclass () {
// String name = getClass ().getName ();
// int index = name.lastIndexOf ('.');
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
index 6f9cdbce31..8c53901747 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
@@ -47,8 +47,6 @@ import org.eclipse.swt.accessibility.*;
*/
public class CCombo extends Composite {
- static final String PACKAGE_PREFIX = "org.eclipse.swt.custom."; //$NON-NLS-1$
-
Text text;
List list;
int visibleItemCount = 5;
@@ -59,6 +57,8 @@ public class CCombo extends Composite {
Color foreground, background;
Font font;
+ static final String PACKAGE_PREFIX = "org.eclipse.swt.custom."; //$NON-NLS-1$
+
/**
* Constructs a new instance of this class given its parent
* and a style value describing its behavior and appearance.
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
index 4c0227ebc0..8e0cf57ba4 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
@@ -545,8 +545,8 @@ void antialias (int[] shape, RGB lineRGB, RGB innerRGB, RGB outerRGB, GC gc){
color.dispose();
}
}
-//We should have checkSubclass() but adding it now will cause existing
-//subclasses to break.
+//The checkSubclass() method should be implemented but adding it now
+//will cause existing subclasses to break.
//protected void checkSubclass () {
// String name = getClass ().getName ();
// int index = name.lastIndexOf ('.');