summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-06-24 19:48:57 +0200
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-06-24 19:48:57 +0200
commit776bb79a9c47a4654dcee5f987800a82db07c519 (patch)
treeba39f723b0cc989ccc912fd6c7b9b9e5fdffc58a
parent5e68e6346cc3912040a6bd074faefcfc7f0226ef (diff)
downloadfernflower-776bb79a9c47a4654dcee5f987800a82db07c519.tar
fernflower-776bb79a9c47a4654dcee5f987800a82db07c519.tar.gz
fernflower-776bb79a9c47a4654dcee5f987800a82db07c519.tar.lz
fernflower-776bb79a9c47a4654dcee5f987800a82db07c519.tar.xz
fernflower-776bb79a9c47a4654dcee5f987800a82db07c519.zip
minor optimization
-rw-r--r--src/de/fernflower/main/ClassesProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/fernflower/main/ClassesProcessor.java b/src/de/fernflower/main/ClassesProcessor.java
index 00b6726..16a73f6 100644
--- a/src/de/fernflower/main/ClassesProcessor.java
+++ b/src/de/fernflower/main/ClassesProcessor.java
@@ -280,7 +280,7 @@ public class ClassesProcessor {
int index = cl.qualifiedName.lastIndexOf("/");
if(index >= 0) {
- String packageName = cl.qualifiedName.substring(0, index).replaceAll("/",".");
+ String packageName = cl.qualifiedName.substring(0, index).replace('/', '.');
outwriter.write("package ");
outwriter.write(packageName);
outwriter.write(";");