mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-16 01:13:07 +00:00
Fixed #2093 AS3 Unnecessary use of fully qualified names for classes in same package
This commit is contained in:
committed by
Jindra Petřík
parent
e971f6b928
commit
b32006a23f
@@ -277,6 +277,9 @@ public abstract class Trait implements Cloneable, Serializable {
|
||||
|
||||
for (DottedChain imp : imports) {
|
||||
if (imp.getLast().equals("*")) {
|
||||
if (imp.getWithoutLast().equals(ignorePackage)) {
|
||||
continue;
|
||||
}
|
||||
Set<String> objectsInPkg = abcIndex.getPackageObjects(imp.getWithoutLast());
|
||||
for (String objectName : objectsInPkg) {
|
||||
if (importnames.contains(objectName)) {
|
||||
|
||||
Reference in New Issue
Block a user