# This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -219,10 +219,9 @@ if (clazz.getInterfaces() != null ) { for ( Class foundInterface : clazz.getInterfaces() ) { - if ( foundInterface == interfaceClass ) { + if ( foundInterface == interfaceClass || implementsInterface(foundInterface, interfaceClass)) { return true; } - return implementsInterface(foundInterface, interfaceClass) ; } } // Try to find from the ancestors