mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 20:34:40 +00:00
Issue #128 improved imports
This commit is contained in:
@@ -77,13 +77,11 @@ public class TraitClass extends Trait implements TraitWithSlot {
|
||||
name = "*";
|
||||
}
|
||||
String newimport = ns.getName(abc.constants);
|
||||
System.out.println(newimport + ":" + name + ":" + ns.getKindStr());
|
||||
if ((ns.kind != Namespace.KIND_PACKAGE)
|
||||
&& (ns.kind != Namespace.KIND_NAMESPACE)
|
||||
&& (ns.kind != Namespace.KIND_STATIC_PROTECTED)) {
|
||||
return false;
|
||||
}
|
||||
System.out.println(newimport);
|
||||
/*if (ns.kind == Namespace.KIND_NAMESPACE)*/ {
|
||||
String oldimport = newimport;
|
||||
newimport = null;
|
||||
|
||||
Reference in New Issue
Block a user