File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/jdk.compiler/share/classes/com/sun/tools/javac/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1999, 2022 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1999, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -251,9 +251,9 @@ public void visitNode(N node, StringBuilder buf) {
251
251
}
252
252
253
253
protected String formatProperties (Properties p ) {
254
- return p .toString ().replaceAll ( "," , " " )
255
- .replaceAll ( " \\ {" , "[" )
256
- .replaceAll ( " \\ }" , "]" );
254
+ return p .toString ().replace ( ',' , ' ' )
255
+ .replace ( '{' , '[' )
256
+ .replace ( '}' , ']' );
257
257
}
258
258
259
259
protected static String wrap (String s ) {
You can’t perform that action at this time.
0 commit comments