diff options
Diffstat (limited to 'gnu/java')
| -rw-r--r-- | gnu/java/awt/AWTUtilities.java | 2 | ||||
| -rw-r--r-- | gnu/java/awt/peer/gtk/CairoGraphics2D.java | 5 | ||||
| -rw-r--r-- | gnu/java/awt/peer/gtk/CairoSurface.java | 3 | ||||
| -rw-r--r-- | gnu/java/awt/peer/swing/SwingMenuBarPeer.java | 2 | ||||
| -rw-r--r-- | gnu/java/awt/peer/swing/SwingTextFieldPeer.java | 2 | ||||
| -rw-r--r-- | gnu/java/text/AttributedFormatBuffer.java | 2 | ||||
| -rw-r--r-- | gnu/java/util/regex/REToken.java | 2 |
7 files changed, 10 insertions, 8 deletions
diff --git a/gnu/java/awt/AWTUtilities.java b/gnu/java/awt/AWTUtilities.java index 1b6870369..dcebc67fa 100644 --- a/gnu/java/awt/AWTUtilities.java +++ b/gnu/java/awt/AWTUtilities.java @@ -126,7 +126,7 @@ public class AWTUtilities * * @return the next visible <code>Component</code> in the List * - * @throws if there is no next element + * @throws NoSuchElementException if there is no next element */ public Object next() { diff --git a/gnu/java/awt/peer/gtk/CairoGraphics2D.java b/gnu/java/awt/peer/gtk/CairoGraphics2D.java index db8acd1cd..e3ab39364 100644 --- a/gnu/java/awt/peer/gtk/CairoGraphics2D.java +++ b/gnu/java/awt/peer/gtk/CairoGraphics2D.java @@ -222,7 +222,7 @@ public abstract class CairoGraphics2D extends Graphics2D /** * Sets up the default values and allocates the native cairographics2d structure - * @param cairo_t_pointer, a native pointer to a cairo_t of the context. + * @param cairo_t_pointer a native pointer to a cairo_t of the context. */ public void setup(long cairo_t_pointer) { @@ -341,7 +341,8 @@ public abstract class CairoGraphics2D extends Graphics2D /** * Draw pixels as an RGBA int matrix - * @param w, h - width and height + * @param w - width + * @param h - height * @param stride - stride of the array width * @param i2u - affine transform array */ diff --git a/gnu/java/awt/peer/gtk/CairoSurface.java b/gnu/java/awt/peer/gtk/CairoSurface.java index 804f7aff0..6c8a30d11 100644 --- a/gnu/java/awt/peer/gtk/CairoSurface.java +++ b/gnu/java/awt/peer/gtk/CairoSurface.java @@ -100,7 +100,8 @@ public class CairoSurface extends WritableRaster 0x000000FF); /** * Allocates and clears the buffer and creates the cairo surface. - * @param width, height - the image size + * @param width - the image size + * @param height - the image size * @param stride - the buffer row stride. (in ints) */ private native void create(int width, int height, int stride, int[] buf); diff --git a/gnu/java/awt/peer/swing/SwingMenuBarPeer.java b/gnu/java/awt/peer/swing/SwingMenuBarPeer.java index bd9dcd77a..0033efb02 100644 --- a/gnu/java/awt/peer/swing/SwingMenuBarPeer.java +++ b/gnu/java/awt/peer/swing/SwingMenuBarPeer.java @@ -174,7 +174,7 @@ public class SwingMenuBarPeer /** * Adds a help menu to the menu bar. * - * @param m the menu to add + * @param menu the menu to add */ public void addHelpMenu(Menu menu) { diff --git a/gnu/java/awt/peer/swing/SwingTextFieldPeer.java b/gnu/java/awt/peer/swing/SwingTextFieldPeer.java index 49989a574..28dc5f339 100644 --- a/gnu/java/awt/peer/swing/SwingTextFieldPeer.java +++ b/gnu/java/awt/peer/swing/SwingTextFieldPeer.java @@ -327,7 +327,7 @@ public class SwingTextFieldPeer * @param startPos the start index of the selection * @param endPos the start index of the selection */ - public void select(int start_pos, int endPos) + public void select(int startPos, int endPos) { // TODO: Must be implemented. } diff --git a/gnu/java/text/AttributedFormatBuffer.java b/gnu/java/text/AttributedFormatBuffer.java index 8cfc8f56d..ae3e6ef70 100644 --- a/gnu/java/text/AttributedFormatBuffer.java +++ b/gnu/java/text/AttributedFormatBuffer.java @@ -91,7 +91,7 @@ public class AttributedFormatBuffer implements FormatBuffer * comprised between the last entry in 'ranges' and the specified new range. * * @param new_range A new range to insert in the list. - * @param new_attribute A new attribute to insert in the list. + * @param attr A new attribute to insert in the list. */ private final void addAttribute(int new_range, AttributedCharacterIterator.Attribute attr) { diff --git a/gnu/java/util/regex/REToken.java b/gnu/java/util/regex/REToken.java index 9affd4ee3..addc62225 100644 --- a/gnu/java/util/regex/REToken.java +++ b/gnu/java/util/regex/REToken.java @@ -128,7 +128,7 @@ abstract class REToken implements Serializable, Cloneable { * of the REmatch found this time so that another possible match * may be found when backtrack is called. * By default, nothing is added to the backtrackStack. - * @param CharIndexed input Input character sequence. + * @param input Input character sequence. * @param mymatch Position at which a match should be found * @return REMatch object if a match was found, null otherwise. */ |
