Commit e63e0332 authored by ascrutae's avatar ascrutae
Browse files

fix match failed issue

parent f3a1bf5d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -72,7 +72,9 @@ public class HierarchyMatch implements IndirectMatch {
            matchHierarchyClass(implInterface, parentTypes);
        }

        if (typeDescription.getSuperClass() != null) {
            matchHierarchyClass(typeDescription.getSuperClass(), parentTypes);
        }

        if (parentTypes.size() == 0) {
            return true;
+4 −1
Original line number Diff line number Diff line
@@ -56,7 +56,10 @@ public abstract class EitherInterfaceMatch implements IndirectMatch {
            matchHierarchyClazz(generic, matchResult);
        }

        if (typeDescription.getSuperClass() != null) {
            matchHierarchyClazz(typeDescription.getSuperClass(), matchResult);
        }

        return matchResult.result();
    }