mirror of
https://hub.spigotmc.org/stash/scm/spigot/fernflower.git
synced 2025-09-18 22:14:39 +00:00
minor cleanup
This commit is contained in:
parent
776bb79a9c
commit
ed04ea2d69
1 changed files with 6 additions and 6 deletions
|
@ -281,12 +281,12 @@ public class ClassesProcessor {
|
|||
int index = cl.qualifiedName.lastIndexOf("/");
|
||||
if(index >= 0) {
|
||||
String packageName = cl.qualifiedName.substring(0, index).replace('/', '.');
|
||||
outwriter.write("package ");
|
||||
outwriter.write(packageName);
|
||||
outwriter.write(";");
|
||||
outwriter.write(DecompilerContext.getNewLineSeparator());
|
||||
outwriter.write(DecompilerContext.getNewLineSeparator());
|
||||
}
|
||||
outwriter.write("package ");
|
||||
outwriter.write(packageName);
|
||||
outwriter.write(";");
|
||||
outwriter.write(DecompilerContext.getNewLineSeparator());
|
||||
outwriter.write(DecompilerContext.getNewLineSeparator());
|
||||
}
|
||||
|
||||
DecompilerContext.setProperty(DecompilerContext.CURRENT_CLASSNODE, root);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue