Skip to content

Commit

Permalink
Remove blank Javadoc
Browse files Browse the repository at this point in the history
This commit cleans up Javadoc that does not add information.
It resolves ecj warnings:
 `Javadoc: Description expected after ...`
It helps to prevent future empty javadoc by disabling
missingJavaDoc warnings. This resolves
 `Javadoc: Missing ...`

The modification is a result of regular expression search&replace:

in files `*.java`
 `^[\s]*\*[\s]*(@return|@param[\s]*[^\s]+|@throws[\s]*[^\s]+)\R([\s]*\*[\s]*@|[\s]*\*/\R)`
 ->`$2`
 `^([\s]*\*[\s]*\R)([\s]*\*/\R)`
 ->`$2`
 `^[\S\t ]*/\*\*\R[\s]*\*/\R`
 ->``

in files `org.eclipse.jdt.core.prefs`
 `org\.eclipse\.jdt\.core\.compiler\.problem\.missingJavadoc(Comments|Tags)\=[^\s]*`
 ->`org\.eclipse\.jdt\.core\.compiler\.problem\.missingJavadoc$1\=ignore`
  • Loading branch information
EcljpseB0T authored and jukzi committed Nov 8, 2023
1 parent 030807a commit 17dd4bc
Show file tree
Hide file tree
Showing 80 changed files with 0 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
*
* Modify the main method below to launch your application.
* Run Sleak.
*
*/
public class Sleak {
List list;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

/**
* Interface containing constants for the Spies plug-in.
*
*/

public interface SpiesConstants {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,6 @@ static 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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ public class CBanner extends Composite {
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
* </ul>
*
*/
public CBanner(Composite parent, int style) {
super(parent, checkStyle(style));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,6 @@ ToolBar getChevron() {
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
*/
/*public*/ boolean getChevronVisible() {
checkWidget();
Expand Down Expand Up @@ -4176,7 +4175,6 @@ int getWrappedHeight (Point size) {
* <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread</li>
* <li>ERROR_WIDGET_DISPOSED when the widget has been disposed</li>
* </ul>
*
*/
/*public*/ void setChevronVisible(boolean visible) {
checkWidget();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Integer> computeModifiedLines(int[] referenceRanges, StyleRange[] referenceStyles, int[] newRanges, StyleRange[] newStyles) {
if (referenceStyles == null) {
Expand Down Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
import org.eclipse.swt.graphics.*;
import org.eclipse.swt.widgets.*;

/**
*
*/
class StyledTextEvent extends Event {
// used by LineStyleEvent
int[] ranges;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import org.eclipse.swt.widgets.*;

class StyledTextListener extends TypedListener {
/**
*/
StyledTextListener(SWTEventListener listener) {
super(listener);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public void getName(AccessibleEvent e) {
* @see SelectionListener
* @see SelectionEvent
* @see #removeSelectionListener(SelectionListener)
*
*/
public void addSelectionListener(SelectionListener listener) {
checkWidget();
Expand Down Expand Up @@ -626,7 +625,6 @@ public void setForeground (Color color) {
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
*/
public void setSelection(int row, int column) {
checkWidget();
Expand All @@ -649,7 +647,6 @@ public void setSelection(int row, int column) {
* <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li>
* <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
* </ul>
*
*/
public void setSelection(TableItem row, int column) {
checkWidget();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
* <p>After the drop has completed successfully or has been aborted, the application which defines the
* <code>DragSource</code> is required to take the appropriate cleanup action. In the case of a successful
* <b>move</b> operation, the application must remove the data that was transferred.</p>
*
*/
public interface DragSourceListener extends SWTEventListener {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* operation that is performed but the data type is fixed.</p>
*
* @see DropTargetEvent
*
*/
public interface DropTargetListener extends SWTEventListener {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
* @see DragSourceEffect
* @see DragSourceEvent
* @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
*
*/
public class ListDragSourceEffect extends DragSourceEffect {
Image dragSourceImage = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
* OLE contains all the constants used to create an ActiveX Control or an OLE Document.
*
* <p>Definitions for these constants can be found in MSDN.
*
*/
public class OLE extends SWT {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ final public class OleFrame extends Composite
* @exception SWTException <ul>
* <li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread
* </ul>
*
*/
public OleFrame(Composite parent, int style) {
super(parent, style);
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*
* <p>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 {
/**
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -355,7 +345,6 @@ public IDispatch getDispatch() {
* @exception SWTException <ul>
* <li>ERROR_CANNOT_CHANGE_VARIANT_TYPE when type of Variant can not be coerced into a boolean</li>
* </ul>
*
*/
public boolean getBoolean() {
if (type == COM.VT_EMPTY) {
Expand Down Expand Up @@ -389,7 +378,6 @@ public boolean getBoolean() {
* <p>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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,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) {
Expand All @@ -128,8 +125,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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ static long polyRgn(int[] pointArray, int count) {
* </ul>
*
* @since 3.0
*
*/
public void add (int[] pointArray) {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* Not used on other platforms
*
* @since 3.110
*
*/
public class ImageUtil {
/**
Expand Down
Loading

0 comments on commit 17dd4bc

Please sign in to comment.