Skip to content

Commit 1ee3c53

Browse files
committed
small change
1 parent adb9a14 commit 1ee3c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/openrewrite/java/migrate/DeprecatedSecurityManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public String getDescription() {
3838
return "The default value of the `java.security.manager` system property has been changed to disallow since Java 18." +
3939
" Unless the system property is set to allow on the command line, any invocation of System.setSecurityManager(SecurityManager) " +
4040
" with a non-null argument will throw an `UnsupportedOperationException`. " +
41-
" You can set system property as `Djava.security.manager=allow.` to prevent the exception"
42-
+ "The recipe calls `System.setProperty(\"java.security.manager\")` before calling `java.lang.System setSecurityManager(SecurityManager)`.";
41+
" You can set system property as `Djava.security.manager=allow.` to prevent the exception" +
42+
"The recipe calls `System.setProperty(\"java.security.manager\")` before calling `java.lang.System setSecurityManager(SecurityManager)`.";
4343
}
4444

4545
@Override

0 commit comments

Comments
 (0)