Project: SWT
Bug 333053 Multiple compiler warnings in I20101221-1019
Reported: 2010-12-21 22:14:42 | Status: resolved fixed

These errors show up on multiple platforms. 1. WARNING in /temp.folder/@dot.src/org/eclipse/swt/custom/SashForm.java (at line 112) public int getOrientation() { The method SashForm.getOrientation() does not override the inherited method from Control since it is private to a different package 2. WARNING in /temp.folder/@dot.src/org/eclipse/swt/custom/SashForm.java (at line 297) public void setOrientation(int orientation) { The method SashForm.setOrientation(int) does not override the inherited method from Control since it is private to a different package 1. WARNING in /temp.folder/@dot.src/org/eclipse/swt/custom/StyledText.java (at line 4472) public int getOrientation () { The method StyledText.getOrientation() does not override the inherited method from Control since it is private to a different package 2. WARNING in /temp.folder/@dot.src/org/eclipse/swt/custom/StyledText.java (at line 9238) public void setOrientation(int orientation) { The method StyledText.setOrientation(int) does not override the inherited method from Control since it is private to a different package

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java