minor optimization
This commit is contained in:
parent
5e68e6346c
commit
776bb79a9c
@ -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…
Reference in New Issue
Block a user