lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: svn commit: r1198333 - in /lucene/dev/branches/branch_3x: ./ lucene/ lucene/backwards/src/test/ lucene/contrib/analyzers/common/ lucene/contrib/spellchecker/ lucene/src/test/org/apache/lucene/index/ solr/ solr/core/src/test/org/apache/solr/analys
Date Sun, 06 Nov 2011 11:24:13 GMT
Woops, thanks Robert!

Mike McCandless

http://blog.mikemccandless.com

On Sun, Nov 6, 2011 at 4:59 AM,  <rmuir@apache.org> wrote:
> Author: rmuir
> Date: Sun Nov  6 09:59:21 2011
> New Revision: 1198333
>
> URL: http://svn.apache.org/viewvc?rev=1198333&view=rev
> Log:
> fix test bug
>
> Modified:
>    lucene/dev/branches/branch_3x/   (props changed)
>    lucene/dev/branches/branch_3x/lucene/   (props changed)
>    lucene/dev/branches/branch_3x/lucene/backwards/src/test/   (props changed)
>    lucene/dev/branches/branch_3x/lucene/contrib/analyzers/common/   (props changed)
>    lucene/dev/branches/branch_3x/lucene/contrib/spellchecker/   (props changed)
>    lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java
>    lucene/dev/branches/branch_3x/solr/   (props changed)
>    lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/analysis/TestPhoneticFilterFactory.java
  (props changed)
>
> Modified: lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java
> URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java?rev=1198333&r1=1198332&r2=1198333&view=diff
> ==============================================================================
> --- lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java
(original)
> +++ lucene/dev/branches/branch_3x/lucene/src/test/org/apache/lucene/index/TestIndexWriterReader.java
Sun Nov  6 09:59:21 2011
> @@ -776,7 +776,7 @@ public class TestIndexWriterReader exten
>     }
>     // final check
>     IndexReader r2 = IndexReader.openIfChanged(r);
> -    if (r2 != r) {
> +    if (r2 != null) {
>       r.close();
>       r = r2;
>     }
>
>
>

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


Mime
View raw message