directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Danger of NPE
Date Mon, 17 May 2010 20:05:48 GMT
Felix Knecht schrieb:
> This piece of code will never be reached because if line 54 - iterators
> can't be null at this point!
> http://people.apache.org/~felixk/shared-docs/xref/org/apache/directory/shared/ldap/util/JoinIterator.html#64

JoinIterator seems never be used, except in JoinIteratorTest. I'd
suggest to delete both classes.

Can findbugs or other static analysis tools be used to find unused code?

Kind Regards,
Stefan



Mime
View raw message