minor optimization

This commit is contained in:
Roman Shevchenko 2014-06-24 19:48:57 +02:00
parent 5e68e6346c
commit 776bb79a9c

View File

@ -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(";");