Fixed #544985 to handle Javadoc on variable declarations that span several lines
This commit is contained in:
parent
1b8483fc82
commit
44950d1ee4
|
|
@ -95,5 +95,3 @@ class LineText
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -43,4 +43,10 @@ class MyVariable
|
|||
{
|
||||
return mModifierSet;
|
||||
}
|
||||
|
||||
/** @return the line number that the declaration starts on **/
|
||||
int getLineNo()
|
||||
{
|
||||
return Math.min(super.getLineNo(), mModifierSet.getFirstLineNo());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -134,5 +134,9 @@ class InputTags
|
|||
{
|
||||
int z = 2; // should not require any javadoc
|
||||
}
|
||||
|
||||
/** handle where variable declaration over several lines **/
|
||||
private static final int
|
||||
ON_SECOND_LINE = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue