ERROR_THREAD_INVALID_ACCESS when called from the wrong thread
*
ERROR_WIDGET_DISPOSED when the widget has been disposed
*
- *
*/
/*public*/ void setChevronVisible(boolean visible) {
checkWidget();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java
index 5aeca8ac701..d310a3172d2 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java
@@ -755,9 +755,6 @@ void drawBackground(GC gc, int[] shape, int x, int y, int width, int height, Col
/*
* Draw the border of the tab
- *
- * @param gc
- * @param shape
*/
void drawBorder(GC gc, int[] shape) {
@@ -1045,8 +1042,6 @@ void drawHighlight(GC gc, Rectangle bounds, int state, int rightEdge) {
/*
* Draw the unselected border for the receiver on the left.
- *
- * @param gc
*/
void drawLeftUnselectedBorder(GC gc, Rectangle bounds, int state) {
int x = bounds.x;
@@ -1184,8 +1179,6 @@ void drawMinimize(GC gc, Rectangle minRect, int minImageState) {
/*
* Draw the unselected border for the receiver on the right.
- *
- * @param gc
*/
void drawRightUnselectedBorder(GC gc, Rectangle bounds, int state) {
int x = bounds.x;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java
index bf219b809f0..e08c505885d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java
@@ -118,7 +118,6 @@ public class ControlEditor {
* Creates a ControlEditor for the specified Composite.
*
* @param parent the Composite above which this editor will be displayed
-*
*/
public ControlEditor (Composite parent) {
this.parent = parent;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
index e0d63ae5841..db39296bae3 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
@@ -10235,10 +10235,7 @@ void setStyleRanges(int start, int length, int[] ranges, StyleRange[] styles, bo
/**
*
* @param referenceRanges former ranges, sorted by order and without overlapping, typically returned {@link #getRanges(int, int)}
- * @param referenceStyles
* @param newRanges former ranges, sorted by order and without overlapping
- * @param newStyles
- * @return
*/
private SortedSet computeModifiedLines(int[] referenceRanges, StyleRange[] referenceStyles, int[] newRanges, StyleRange[] newStyles) {
if (referenceStyles == null) {
@@ -10329,9 +10326,6 @@ private boolean isInRange(int[] ranges, int styleIndex, int offset) {
/**
* The offset on which the range ends (excluded)
- * @param ranges
- * @param styleIndex
- * @return
*/
private int endRangeOffset(int[] ranges, int styleIndex) {
if (styleIndex < 0 || 2 * styleIndex > ranges.length) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java
index 7004d371e3a..ad1ccc1cabc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java
@@ -16,9 +16,6 @@
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;
-/**
- *
- */
class StyledTextEvent extends Event {
// used by LineStyleEvent
int[] ranges;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextListener.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextListener.java
index d27682f46e3..293890e0a07 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextListener.java
@@ -18,8 +18,6 @@
import org.eclipse.swt.widgets.*;
class StyledTextListener extends TypedListener {
-/**
- */
StyledTextListener(SWTEventListener listener) {
super(listener);
}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java
index e4bb0512800..18f0225463b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java
@@ -195,7 +195,6 @@ public void getName(AccessibleEvent e) {
* @see SelectionListener
* @see SelectionEvent
* @see #removeSelectionListener(SelectionListener)
- *
*/
public void addSelectionListener(SelectionListener listener) {
checkWidget();
@@ -626,7 +625,6 @@ public void setForeground (Color color) {
*
ERROR_WIDGET_DISPOSED - if the receiver has been disposed
*
ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
*
- *
*/
public void setSelection(int row, int column) {
checkWidget();
@@ -649,7 +647,6 @@ public void setSelection(int row, int column) {
*
ERROR_WIDGET_DISPOSED - if the receiver has been disposed
*
ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
*
- *
*/
public void setSelection(TableItem row, int column) {
checkWidget();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java
index 574dd987a53..707b912a684 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java
@@ -87,7 +87,6 @@ public class TableEditor extends ControlEditor {
* Creates a TableEditor for the specified Table.
*
* @param table the Table Control above which this editor will be displayed
-*
*/
public TableEditor (Table table) {
super(table);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java
index 0f91ee36006..981414bd82c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java
@@ -87,7 +87,6 @@ public class TreeEditor extends ControlEditor {
* Creates a TreeEditor for the specified Tree.
*
* @param tree the Tree Control above which this editor will be displayed
-*
*/
public TreeEditor (Tree tree) {
super(tree);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
index 4d508cb7257..c98a457f8c7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceListener.java
@@ -25,7 +25,6 @@
*
After the drop has completed successfully or has been aborted, the application which defines the
* DragSource is required to take the appropriate cleanup action. In the case of a successful
* move operation, the application must remove the data that was transferred.
- *
*/
public interface DragSourceListener extends SWTEventListener {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
index 0e40f22dc1b..f41dc996aa7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
@@ -34,7 +34,6 @@
* operation that is performed but the data type is fixed.
*
* @see DropTargetEvent
- *
*/
public interface DropTargetListener extends SWTEventListener {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TextTransfer.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TextTransfer.java
index 16b38fd6586..d5e95c3939d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TextTransfer.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TextTransfer.java
@@ -42,9 +42,11 @@ public class TextTransfer extends ByteArrayTransfer {
private static final String COMPOUND_TEXT = "COMPOUND_TEXT"; //$NON-NLS-1$
private static final String UTF8_STRING = "UTF8_STRING"; //$NON-NLS-1$
private static final String STRING = "STRING"; //$NON-NLS-1$
+ private static final String TEXT_PLAIN_UTF8 = "text/plain;charset=utf-8"; //RFC-1341
private static final int COMPOUND_TEXT_ID = GTK.GTK4 ? 0 : registerType(COMPOUND_TEXT);
private static final int UTF8_STRING_ID = GTK.GTK4 ? 0 : registerType(UTF8_STRING);
private static final int STRING_ID = GTK.GTK4 ? 0 : registerType(STRING);
+ private static final int TEXT_PLAIN_UTF8_ID = GTK.GTK4 ? 0 : registerType(TEXT_PLAIN_UTF8);
private TextTransfer() {}
@@ -88,11 +90,10 @@ public void javaToNative (Object object, TransferData transferData) {
transferData.pValue = ctext[0];
transferData.result = 1;
}
- if (transferData.type == UTF8_STRING_ID) {
+ if (transferData.type == UTF8_STRING_ID || transferData.type == TEXT_PLAIN_UTF8_ID) {
long pValue = OS.g_malloc(utf8.length);
if (pValue == 0) return;
C.memmove(pValue, utf8, utf8.length);
- transferData.type = UTF8_STRING_ID;
transferData.format = 8;
transferData.length = utf8.length - 1;
transferData.pValue = pValue;
@@ -109,6 +110,7 @@ public void javaToNative (Object object, TransferData transferData) {
}
}
+
/**
* This implementation of nativeToJava converts a platform specific
* representation of plain text to a java String.
@@ -145,7 +147,7 @@ protected int[] getTypeIds() {
if(GTK.GTK4) {
return new int[] {(int) OS.G_TYPE_STRING()};
}
- return new int[] {UTF8_STRING_ID, STRING_ID};
+ return new int[] {UTF8_STRING_ID, STRING_ID, TEXT_PLAIN_UTF8_ID};
}
@Override
@@ -157,7 +159,7 @@ protected String[] getTypeNames() {
return new String[] {"text/plain", STRING};
}
- return new String[] {UTF8_STRING, STRING};
+ return new String[] {UTF8_STRING, STRING, TEXT_PLAIN_UTF8};
}
boolean checkText(Object object) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/internal/dnd/gtk/ListDragSourceEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/internal/dnd/gtk/ListDragSourceEffect.java
index ef66e050ce2..bd7921e127c 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/internal/dnd/gtk/ListDragSourceEffect.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/internal/dnd/gtk/ListDragSourceEffect.java
@@ -35,7 +35,6 @@
* @see DragSourceEffect
* @see DragSourceEvent
* @see Sample code and further information
- *
*/
public class ListDragSourceEffect extends DragSourceEffect {
Image dragSourceImage = null;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java
index 6e6b314a9b5..d226cf52906 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java
@@ -25,7 +25,6 @@
* OLE contains all the constants used to create an ActiveX Control or an OLE Document.
*
*
Definitions for these constants can be found in MSDN.
- *
*/
public class OLE extends SWT {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
index 7dcb01ec57c..9d1d1a7980d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
@@ -660,7 +660,6 @@ public int doVerb(int verb) {
* @param out the return value of the command
*
* @return an HRESULT value; OLE.S_OK is returned if successful
- *
*/
public int exec(int cmdID, int options, Variant in, Variant out) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java
index 2b47969c11c..29c0eac261a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleEventTable.java
@@ -19,7 +19,6 @@
* look up mechanism that maps an event type
* to a listener. Multiple listeners for the
* same event type are supported.
-*
*/
class OleEventTable {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java
index fa5f3282ec7..66e6df9a2b1 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java
@@ -89,7 +89,6 @@ final public class OleFrame extends Composite
* @exception SWTException
*
ERROR_THREAD_INVALID_ACCESS when called from the wrong thread
*
- *
*/
public OleFrame(Composite parent, int style) {
super(parent, style);
@@ -382,7 +381,6 @@ object, returns the outer rectangle (relative to the window) where the object ca
*
* @return the application menu items that will appear in the Container location when an OLE Document
* is in-place activated.
- *
*/
public MenuItem[] getContainerMenus(){
return containerMenuItems;
@@ -400,7 +398,6 @@ public MenuItem[] getContainerMenus(){
*
* @return the application menu items that will appear in the File location when an OLE Document
* is in-place activated.
- *
*/
public MenuItem[] getFileMenus(){
return fileMenuItems;
@@ -440,7 +437,6 @@ private int GetWindow(long phwnd) {
*
* @return the application menu items that will appear in the Window location when an OLE Document
* is in-place activated.
- *
*/
public MenuItem[] getWindowMenus(){
return windowMenuItems;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java
index c75a3bccb4e..3b645e59204 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java
@@ -23,7 +23,6 @@
*
*
It is used within the OleAutomation object for getting a property, setting a property or invoking
* a method on an OLE Control or OLE Document.
- *
*/
public final class Variant {
/**
@@ -115,7 +114,6 @@ public Variant() {
* Create a Variant object which represents a Java float as a VT_R4.
*
* @param val the Java float value that this Variant represents
- *
*/
public Variant(float val) {
type = COM.VT_R4;
@@ -136,7 +134,6 @@ public Variant(double val) {
* Create a Variant object which represents a Java int as a VT_I4.
*
* @param val the Java int value that this Variant represents
- *
*/
public Variant(int val) {
type = COM.VT_I4;
@@ -152,7 +149,6 @@ public Variant(int val) {
*
* @param ptr a pointer to the data being transferred.
* @param byRefType the type of the data being transferred such as OLE.VT_BSTR | OLE.VT_BYREF
- *
*/
public Variant(long ptr, short byRefType) {
type = byRefType;
@@ -162,7 +158,6 @@ public Variant(long ptr, short byRefType) {
* Create a Variant object which represents an IDispatch interface as a VT_Dispatch.
*
* @param automation the OleAutomation object that this Variant represents
- *
*/
public Variant(OleAutomation automation) {
type = COM.VT_DISPATCH;
@@ -176,7 +171,6 @@ public Variant(OleAutomation automation) {
* @since 2.0
*
* @param idispatch the IDispatch object that this Variant represents
- *
*/
public Variant(IDispatch idispatch) {
type = COM.VT_DISPATCH;
@@ -189,7 +183,6 @@ public Variant(IDispatch idispatch) {
* this Variant.
*
* @param unknown the IUnknown object that this Variant represents
- *
*/
public Variant(IUnknown unknown) {
type = COM.VT_UNKNOWN;
@@ -210,7 +203,6 @@ public Variant(long val) {
* Create a Variant object which represents a Java String as a VT_BSTR.
*
* @param string the Java String value that this Variant represents
- *
*/
public Variant(String string) {
type = COM.VT_BSTR;
@@ -220,7 +212,6 @@ public Variant(String string) {
* Create a Variant object which represents a Java short as a VT_I2.
*
* @param val the Java short value that this Variant represents
- *
*/
public Variant(short val) {
type = COM.VT_I2;
@@ -230,7 +221,6 @@ public Variant(short val) {
* Create a Variant object which represents a Java boolean as a VT_BOOL.
*
* @param val the Java boolean value that this Variant represents
- *
*/
public Variant(boolean val) {
type = COM.VT_BOOL;
@@ -355,7 +345,6 @@ public IDispatch getDispatch() {
* @exception SWTException
*
ERROR_CANNOT_CHANGE_VARIANT_TYPE when type of Variant can not be coerced into a boolean
*
- *
*/
public boolean getBoolean() {
if (type == COM.VT_EMPTY) {
@@ -389,7 +378,6 @@ public boolean getBoolean() {
*
If this Variant does not contain a reference to data, zero is returned.
*
* @return a pointer to the referenced data represented by this Variant or 0
- *
*/
public long getByRef() {
if (type == COM.VT_EMPTY) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
index 2bf4c89df83..5b556771862 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java
@@ -13,10 +13,15 @@
*******************************************************************************/
package org.eclipse.swt.internal;
-import java.io.*;
-import java.net.*;
-import java.nio.file.*;
-import java.util.jar.*;
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.JarURLConnection;
+import java.net.URL;
+import java.net.URLConnection;
+import java.nio.file.Files;
+import java.nio.file.StandardCopyOption;
+import java.util.jar.Attributes;
public class Library {
@@ -35,7 +40,7 @@ public class Library {
/**
* SWT revision number (must be >= 0)
*/
- static int REVISION = 3;
+ static int REVISION = 5;
/**
* The JAVA and SWT versions
@@ -116,9 +121,6 @@ static int parseVersion(String version) {
/**
* Returns the Java version number as an integer.
*
- * @param major
- * @param minor
- * @param micro
* @return the version
*/
public static int JAVA_VERSION (int major, int minor, int micro) {
@@ -128,8 +130,6 @@ public static int JAVA_VERSION (int major, int minor, int micro) {
/**
* Returns the SWT version number as an integer.
*
- * @param major
- * @param minor
* @return the version
*/
public static int SWT_VERSION (int major, int minor) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
index 03f09c55410..5542c86947e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java
@@ -944,13 +944,11 @@ public class GTK extends OS {
/**
* @param label cast=(GtkLabel *)
* @param xalign cast=(gfloat)
- *
*/
public static final native void gtk_label_set_xalign(long label, float xalign);
/**
* @param label cast=(GtkLabel *)
* @param yalign cast=(gfloat)
- *
*/
public static final native void gtk_label_set_yalign(long label, float yalign);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/ImageLoader.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/ImageLoader.java
index bbe5ac8d518..5b063ab2e78 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/ImageLoader.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/ImageLoader.java
@@ -78,7 +78,6 @@ public class ImageLoader {
* the background pixel for the logical screen (this
* corresponds to the GIF89a Background Color Index value).
* The default is -1 which means 'unspecified background'
- *
*/
public int backgroundPixel;
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Region.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Region.java
index adb2b99efb5..7dbe8e518c5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Region.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Region.java
@@ -207,7 +207,6 @@ static long polyRgn(int[] pointArray, int count) {
*
*
* @since 3.0
- *
*/
public void add (int[] pointArray) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/internal/graphics/ImageUtil.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/internal/graphics/ImageUtil.java
index 10c422d8a0d..3e74cacf364 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/internal/graphics/ImageUtil.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/internal/graphics/ImageUtil.java
@@ -22,7 +22,6 @@
* Not used on other platforms
*
* @since 3.110
- *
*/
public class ImageUtil {
/**
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
index 8e39df48f7d..5b04b5e5ecc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
@@ -3506,7 +3506,6 @@ static long getCurrentKeyLayout () {
*
*
* @since 3.0
- *
*/
public boolean post(Event event) {
synchronized (Device.class) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
index 76f146bb8ba..d0b5067c677 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
@@ -1163,7 +1163,6 @@ public Point getMinimumSize () {
*
*
* @since 3.0
- *
*/
@Override
public Region getRegion () {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabItem.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabItem.java
index b7a2f8eaf17..ebaafb30163 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabItem.java
@@ -392,7 +392,6 @@ public void setImage (Image image) {
*
ERROR_WIDGET_DISPOSED - if the receiver has been disposed
*
ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver
*
- *
*/
@Override
public void setText (String string) {
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java
index e2b84453f98..59e3a77847d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java
@@ -521,7 +521,6 @@ public int getWidth () {
*
ERROR_WIDGET_DISPOSED - if the receiver has been disposed
*
ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver