Changeset 32

Show
Ignore:
Timestamp:
03/07/08 13:18:47 (10 months ago)
Author:
jordi
Message:

Solved Ticket #36: defect

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/planet/util/Interfaces.java

    r2 r32  
    195195            implementedInterfaceTemp = aux.getInterfaces(); 
    196196            for (int it = 0; it < implementedInterfaceTemp.length; it++) 
    197                 if (implementedInterfaceTemp[it].getName().equals(fullyQualifiedInterface)) return true; 
     197                if (implementedInterfaceTemp[it].getName().equals(fullyQualifiedInterface) || 
     198                    ((implementedInterfaceTemp[it].getInterfaces().length > 0) &&  
     199                    (implementedInterface(implementedInterfaceTemp[it], fullyQualifiedInterface)))) 
     200                    return true; 
    198201            aux = aux.getSuperclass(); 
    199202        }