Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Added constructor and method comments to verify that these are not du…
Browse files Browse the repository at this point in the history
…plicated when parsed by JavaParser 3.2.x. #609
  • Loading branch information
alankstewart committed May 24, 2017
1 parent a14f8e6 commit 544f014
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ object JavaTypeUsageTest extends Matchers {
|import com.someone.FooBar;
|
|/**
| * Class comment
| * Class comment.
| */
|@Bar
|class Dog
Expand All @@ -38,12 +38,18 @@ object JavaTypeUsageTest extends Matchers {
| @ComFooBar
| private String stringField;
|
| /**
| No-arg constructor.
| */
| public Dog() {}
|
| public Dog(String stringField) {
| this.stringField = stringField;
| }
|
| /**
| * Bark.
| */
| @FooBar
| public void bark() {
| }
Expand Down

0 comments on commit 544f014

Please sign in to comment.