lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: svn commit: r168450 - in /lucene/java/trunk/src/java/org/apache/lucene: index/SegmentMerger.java search/MultiPhraseQuery.java search/MultiSearcher.java search/PhrasePrefixQuery.java search/PhraseQuery.java search/TermQuery.java
Date Fri, 06 May 2005 18:00:32 GMT
dnaber@apache.org 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.

Doug





---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message