summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-14 10:35:43 +1000
committermd_5 <git@md-5.net>2018-07-14 10:35:43 +1000
commit5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5 (patch)
treec85078fb12b63546de73b6f8151ed77e14d4ca44 /src
parent9f6b20b9d980df7551753ecd04349b10c77beb88 (diff)
downloadbuildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar
buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar.gz
buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar.lz
buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.tar.xz
buildtools-5203e4b5bea1b8083187f0a03b40c76a7b6fa0d5.zip
Fix spurious usage of .replaceAll
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java
index bc1453b..9d96d8b 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -396,7 +396,7 @@ public class Builder
continue;
}
- String targetFile = "net/minecraft/server/" + file.getName().replaceAll( ".patch", ".java" );
+ String targetFile = "net/minecraft/server/" + file.getName().replace( ".patch", ".java" );
File clean = new File( decompileDir, targetFile );
File t = new File( nmsDir.getParentFile(), targetFile );