forked from checkstyle/checkstyle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue checkstyle#3958: Modified GenericWhitespaceCheckTest.java and m…
…oved its input files to genericwhitespace subdirectory
- Loading branch information
Showing
8 changed files
with
44 additions
and
24 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
8 changes: 0 additions & 8 deletions
8
src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/InputGh47.java
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...ce/InputGenericWhitespaceEndsTheLine.java → ...ce/InputGenericWhitespaceEndsTheLine.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
2 changes: 1 addition & 1 deletion
2
...ace/InputGenericWhitespaceInnerClass.java → ...ace/InputGenericWhitespaceInnerClass.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
8 changes: 8 additions & 0 deletions
8
...rawl/tools/checkstyle/checks/whitespace/genericwhitespace/InputGenericWhitespaceList.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,8 @@ | ||
package com.puppycrawl.tools.checkstyle.checks.whitespace.genericwhitespace; | ||
|
||
import java.util.List; | ||
|
||
public class InputGenericWhitespaceList | ||
{ | ||
public List<List<String>[]> listOfListOFArrays; | ||
} |
20 changes: 20 additions & 0 deletions
20
...ools/checkstyle/checks/whitespace/genericwhitespace/InputGenericWhitespaceMethodRef1.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,20 @@ | ||
package com.puppycrawl.tools.checkstyle.checks.whitespace.genericwhitespace; | ||
import java.util.function.Supplier; | ||
public class InputGenericWhitespaceMethodRef1 | ||
{ | ||
public static class SomeClass { | ||
public static class Nested<V> { | ||
private Nested() { | ||
} | ||
} | ||
} | ||
|
||
public static class Nested2<V> { | ||
} | ||
|
||
public <V> void methodName(V value) { | ||
Supplier<?> t = Nested2<V>::new; | ||
Supplier<SomeClass.Nested<V>> passes = SomeClass.Nested::new; | ||
Supplier<SomeClass.Nested<V>> fails = SomeClass.Nested<V>::new; | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...pace/InputGenericWhitespaceMethodRef.java → ...ace/InputGenericWhitespaceMethodRef2.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