mirror of
https://github.com/moparisthebest/fernflower
synced 2024-12-24 08:38:49 -05:00
minor optimization
This commit is contained in:
parent
5e68e6346c
commit
776bb79a9c
@ -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(";");
|
||||
|
Loading…
Reference in New Issue
Block a user