minor optimization

master
Roman Shevchenko 11 years ago
parent 5e68e6346c
commit 776bb79a9c
  1. 2
      src/de/fernflower/main/ClassesProcessor.java

@ -280,7 +280,7 @@ public class ClassesProcessor {
int index = cl.qualifiedName.lastIndexOf("/"); int index = cl.qualifiedName.lastIndexOf("/");
if(index >= 0) { if(index >= 0) {
String packageName = cl.qualifiedName.substring(0, index).replaceAll("/","."); String packageName = cl.qualifiedName.substring(0, index).replace('/', '.');
outwriter.write("package "); outwriter.write("package ");
outwriter.write(packageName); outwriter.write(packageName);
outwriter.write(";"); outwriter.write(";");

Loading…
Cancel
Save