Fixed NullPointerException in MemberFinder
This commit is contained in:
parent
5357b1ec4a
commit
84ee63afa8
1 changed files with 4 additions and 6 deletions
|
@ -310,13 +310,11 @@ public class MemberFinder< T >
|
|||
if ( target == null || this.classFilter != null && !this.classFilter.test( target ) ) {
|
||||
return;
|
||||
}
|
||||
checked.add( target );
|
||||
|
||||
if ( this.interfaces && !this.classesFirst ) {
|
||||
for ( final Class< ? > intf : target.getInterfaces( ) ) {
|
||||
if ( !checked.contains( intf ) ) {
|
||||
this.findInternal( output , checked , intf );
|
||||
}
|
||||
if ( this.interfaces ) {
|
||||
checked.add( target );
|
||||
if ( !this.classesFirst ) {
|
||||
this.checkInterfaces( output , checked , target );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue