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 11/*
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.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -251,9 +251,9 @@ public void visitNode(N node, StringBuilder buf) {
251251 }
252252
253253 protected String formatProperties (Properties p ) {
254- return p .toString ().replaceAll ( "," , " " )
255- .replaceAll ( " \\ {" , "[" )
256- .replaceAll ( " \\ }" , "]" );
254+ return p .toString ().replace ( ',' , ' ' )
255+ .replace ( '{' , '[' )
256+ .replace ( '}' , ']' );
257257 }
258258
259259 protected static String wrap (String s ) {
You can’t perform that action at this time.
0 commit comments