Skip to content

Commit 251c1b0

Browse files
committed
fix javadoc warnings
1 parent 0bfe63d commit 251c1b0

File tree

6 files changed

+9
-13
lines changed

6 files changed

+9
-13
lines changed

java/de/jflex/ucd_generator/emitter/unicode_properties/UnicodeProperties.java.vm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public class UnicodeProperties {
4141
private IntCharSet[] caselessMatches;
4242

4343
/**
44-
* Unpacks the Unicode data corresponding to the default Unicode version: "{@value
45-
* #DEFAULT_UNICODE_VERSION}".
44+
* Unpacks the Unicode data corresponding to the default Unicode version.
4645
*
4746
* @throws UnsupportedUnicodeVersionException if the default version is not supported.
4847
*/

javatests/de/jflex/ucd_generator/emitter/unicode_properties/UnicodeProperties.java.golden

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ public class UnicodeProperties {
4040
private IntCharSet[] caselessMatches;
4141

4242
/**
43-
* Unpacks the Unicode data corresponding to the default Unicode version: "{@value
44-
* #DEFAULT_UNICODE_VERSION}".
43+
* Unpacks the Unicode data corresponding to the default Unicode version.
4544
*
4645
* @throws UnsupportedUnicodeVersionException if the default version is not supported.
4746
*/

jflex/src/main/java/jflex/core/Action.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public Action(String content, int priority) {
6262
* BACKWARD_ACTION.
6363
*
6464
* @param kind the kind of action
65-
* @see #FORWARD_ACTION
66-
* @see #BACKWARD_ACTION
65+
* @see Kind#FORWARD_ACTION
66+
* @see Kind#BACKWARD_ACTION
6767
*/
6868
public Action(Kind kind) {
6969
if (kind != Kind.FORWARD_ACTION && kind != Kind.BACKWARD_ACTION) throw new GeneratorException();

jflex/src/main/java/jflex/core/unicode/UnicodeProperties.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public class UnicodeProperties {
4343
private IntCharSet[] caselessMatches;
4444

4545
/**
46-
* Unpacks the Unicode data corresponding to the default Unicode version: "{@value
47-
* #DEFAULT_UNICODE_VERSION}".
46+
* Unpacks the Unicode data corresponding to the default Unicode version.
4847
*
4948
* @throws UnsupportedUnicodeVersionException if the default version is not supported.
5049
*/

jflex/src/main/java/jflex/generator/CountEmitter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ protected void emitUnpackChunk() {
106106
*
107107
* @param count a int.
108108
* @param value a int.
109-
* @see CountEmitter#setValTranslation(int)
110109
*/
111110
public void emit(int count, int value) {
112111
numEntries += count;

jflex/src/main/java/jflex/gui/GridPanel.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class GridPanel extends Panel {
3232
private final List<GridPanelConstraint> constraints = new ArrayList<>();
3333
private Insets insets = new Insets(0, 0, 0, 0);
3434

35-
/** {@inheritDoc} */
35+
/** Construct a new GridPanel with 0 hgap/vgap. */
3636
public GridPanel(int cols, int rows) {
3737
this(cols, rows, 0, 0);
3838
}
@@ -156,17 +156,17 @@ public void setInsets(Insets insets) {
156156
this.insets = insets;
157157
}
158158

159-
/** {@inheritDoc} */
159+
/** Add a component to this panl with Handles.FILL and dx=dy=1 */
160160
public void add(int x, int y, Component c) {
161161
add(x, y, 1, 1, Handles.FILL, c);
162162
}
163163

164-
/** {@inheritDoc} */
164+
/** Add a component to this panel with dx=dy=1 */
165165
public void add(int x, int y, int handle, Component c) {
166166
add(x, y, 1, 1, handle, c);
167167
}
168168

169-
/** {@inheritDoc} */
169+
/** Add a component to this panel with Handles.FILL. */
170170
public void add(int x, int y, int dx, int dy, Component c) {
171171
add(x, y, dx, dy, Handles.FILL, c);
172172
}

0 commit comments

Comments
 (0)