-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored: reportsErrorWhenParameterObjectIsNotDocumented and report…
…sErrorWhenParameterObjectIsNotDocumented as per issue 526
- Loading branch information
1 parent
2d990c8
commit 85cc310
Showing
2 changed files
with
34 additions
and
80 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
26 changes: 26 additions & 0 deletions
26
qulice-checkstyle/src/test/resources/com/qulice/checkstyle/Main.java
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,26 @@ | ||
/** | ||
* Hello. | ||
*/ | ||
package foo; | ||
/** | ||
* Simple. | ||
* @version $Id $ | ||
* @author John Smith (john@example.com) | ||
*/ | ||
public final class Main { | ||
/** | ||
* Start. Check fails in this method. | ||
*/ | ||
private void start() { | ||
Collections.singletonList("1") | ||
.forEach(this::doSomething); | ||
} | ||
/** | ||
* Method to be referenced. | ||
* @param value Value to print | ||
*/ | ||
private void doSomething(final String value) { | ||
System.out.println(value); | ||
} | ||
} | ||
|