Skip to content

Commit 594d745

Browse files
committed
Remove unused methods
1 parent 6e1243b commit 594d745

File tree

2 files changed

+0
-42
lines changed

2 files changed

+0
-42
lines changed

src/main/java/io/github/mboegers/openrewrite/testngtojupiter/helper/AnnotationArguments.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,6 @@
1515
*/
1616
public final class AnnotationArguments {
1717

18-
/**
19-
* Determines if the annotation has any arguments
20-
*/
21-
public static boolean hasAny(J.Annotation annotation) {
22-
List<Expression> arguments = annotation.getArguments();
23-
24-
if (arguments == null || arguments.isEmpty()) {
25-
return false;
26-
}
27-
28-
boolean containsNoEmpty = arguments.stream().noneMatch(J.Empty.class::isInstance);
29-
return containsNoEmpty;
30-
}
31-
3218
/**
3319
* Extracts all assignments with the given argument name from the annotation
3420
*

src/main/java/io/github/mboegers/openrewrite/testngtojupiter/helper/UsesAnnotation.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)