We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950de23 commit 591f30eCopy full SHA for 591f30e
opengrok-indexer/src/main/java/org/opengrok/indexer/history/PerforceRepository.java
@@ -67,10 +67,10 @@ static String protectPerforceFilename(String name) {
67
/* the recognized escape sequence for perforce. */
68
/* NOTE: Must replace '%' first, or that translation would */
69
/* affect the output of the others. */
70
- String t = name.replaceAll("%", "%25");
71
- t = t.replaceAll("#", "%23");
72
- t = t.replaceAll("\\*", "%2A");
73
- t = t.replaceAll("@", "%40");
+ String t = name.replace("%", "%25");
+ t = t.replace("#", "%23");
+ t = t.replace("*", "%2A");
+ t = t.replace("@", "%40");
74
if (!name.equals(t)) {
75
LOGGER.log(Level.FINEST,
76
"protectPerforceFilename: replaced ''{0}'' with ''{1}''",
0 commit comments