lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: svn commit: r168450 - in /lucene/java/trunk/src/java/org/apache/lucene: index/ search/ search/ search/ search/ search/
Date Fri, 06 May 2005 18:00:32 GMT wrote:
> don't declare Exceptions that are never thrown; remove an unused variable

When these are implementing a pubic interface or abstract method I think 
it is good to keep the exception declaration, as it is a part of the 
interface.  That way, if an exception needs to be thrown in the future, 
the developer knows what types are permitted.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message