Skip to content

Commit f436adb

Browse files
committed
Polish @nullable location
1 parent 7a21d21 commit f436adb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ public J visitNewClass(J.NewClass nc, ExecutionContext ctx) {
105105
return super.visitNewClass(nc, ctx);
106106
}
107107

108-
@Nullable
109-
private String extractPath(Expression arg) {
108+
private @Nullable String extractPath(Expression arg) {
110109
if (arg instanceof J.Literal &&
111110
TypeUtils.isOfType(arg.getType(), JavaType.Primitive.String)) {
112111
// Check if value is not null

0 commit comments

Comments
 (0)