Skip to content

Commit b098901

Browse files
gselzerctrueden
authored andcommitted
LazyFieldParamData: avoid AIOOBE
We need to change the name in the while loop, or we will never get out of it.
1 parent d5cffb4 commit b098901

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scijava/scijava-ops-engine/src/main/java/org/scijava/ops/engine/struct/LazilyGeneratedFieldParameterData.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ private static MethodParamInfo javadocFieldParamInfo(
118118
String name = other.getName();
119119
while (!validParameterTag(name)) {
120120
other = others.get(otherIndex++);
121+
name = other.getName();
121122
}
122123

123124
// if the taglet is not output, it should have a name and description

0 commit comments

Comments
 (0)