Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor PmdValidatorTest#understandsMethodReferences test
- Loading branch information
Showing
2 changed files
with
20 additions
and
23 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
14 changes: 14 additions & 0 deletions
14
qulice-pmd/src/test/resources/com/qulice/pmd/UnderstandsMethodReferences.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,14 @@ | ||
package foo; | ||
|
||
import java.util.ArrayList; | ||
|
||
public final class UnderstandsMethodReferences { | ||
public void test() { | ||
new ArrayList<String>().forEach( | ||
UnderstandsMethodReferences::other | ||
); | ||
} | ||
private static void other() { | ||
// body | ||
} | ||
} |
6410361
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
1129-a60b2495
disappeared fromqulice-pmd/src/test/java/com/qulice/pmd/PmdValidatorTest.java
), that's why I closed #1193. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.