forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue checkstyle#4390: Modified error handling of errors that are to …
…be generated when missing HTML tags are encountered while parsing javadoc
- Loading branch information
Showing
10 changed files
with
216 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...sources/com/puppycrawl/tools/checkstyle/astprinter/InputHtmlTagCloseBeforeTagOpen.javadoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* </tag> <tag> |
1 change: 1 addition & 0 deletions
1
...st/resources/com/puppycrawl/tools/checkstyle/astprinter/InputNoViableAltException.javadoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @see <<p> |
1 change: 1 addition & 0 deletions
1
...ces/com/puppycrawl/tools/checkstyle/astprinter/InputOmittedStartTagForHtmlElement.javadoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* <a href="http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/tips0243.html">IBM website</code> |
41 changes: 41 additions & 0 deletions
41
...uppycrawl/tools/checkstyle/astprinter/InputUnescapedJavaCodeWithGenericsInJavadoc.javadoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
@Test | ||
public void someTestMethod() { | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
Issue #4390: Javadoc comments containing unescaped Java code with | ||
generic types leads to enormous parsing times | ||
<Issue> <#4390:> <javadoc> <comments> <containing> <unescaped> <java> <code> <with> | ||
<generic> <types> <leads> <to> <enormous> <parsing> <times> | ||
|
||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
|
||
List<Foo> x = makeAList(); | ||
List<Foo> x = makeAList(); | ||
Issue #4390: Javadoc comments containing unescaped Java code with | ||
generic types leads to enormous parsing times | ||
<parsing> <Issue> <#4390:> <javadoc> <comments> <containing> <unescaped> <java> <code> <with> | ||
<generic> <types> <leads> <to> <enormous> <parsing> | ||
</parsing> </enormous> </to> </leads> </types> </generic> </with> </code> </java> | ||
</unescaped> </containing> </comments> </javadoc> </Issue> | ||
} | ||
**/ |
1 change: 1 addition & 0 deletions
1
src/test/resources/com/puppycrawl/tools/checkstyle/astprinter/InputWrongHtmlTagOrder.javadoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* <tag1> <tag2> </tag1> </tag2> |