Skip to content

Commit feee568

Browse files
committed
Fix annotation order and import
1 parent a51a3ba commit feee568

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/org/openrewrite/staticanalysis/OnlyCatchDeclaredExceptionsTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import org.junit.jupiter.api.Test;
1919
import org.openrewrite.DocumentExample;
20+
import org.openrewrite.Issue;
2021
import org.openrewrite.java.JavaParser;
2122
import org.openrewrite.test.RecipeSpec;
2223
import org.openrewrite.test.RewriteTest;
@@ -454,8 +455,8 @@ void doSomething() {
454455
);
455456
}
456457

458+
@Issue("https://github.com/openrewrite/rewrite-static-analysis/issues/715")
457459
@Test
458-
@org.openrewrite.Issue("https://github.com/openrewrite/rewrite-static-analysis/issues/715")
459460
void doNotChangeWhenThrownExceptionIsGeneric() {
460461
rewriteRun(
461462
spec -> spec.parser(JavaParser.fromJavaVersion()),
@@ -465,7 +466,7 @@ void doNotChangeWhenThrownExceptionIsGeneric() {
465466
interface ThrowsGenerics<TE extends Throwable> {
466467
void get() throws TE;
467468
}
468-
469+
469470
class MyService {
470471
void doSomething(ThrowsGenerics<Exception> t) {
471472
try {

0 commit comments

Comments
 (0)