Quote replacement string.
Dieser Commit ist enthalten in:
Ursprung
f71ed90b04
Commit
4e650ec7bf
@ -286,7 +286,7 @@ public final class Reflection {
|
||||
// Assume the expanded variables are all packages, and append a dot
|
||||
if (replacement.length() > 0 && matcher.end() < name.length() && name.charAt(matcher.end()) != '.')
|
||||
replacement += ".";
|
||||
matcher.appendReplacement(output, replacement);
|
||||
matcher.appendReplacement(output, Matcher.quoteReplacement(replacement));
|
||||
}
|
||||
matcher.appendTail(output);
|
||||
return output.toString();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren