You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by yo...@apache.org on 2010/10/16 00:02:19 UTC

svn commit: r1023129 - in /lucene/dev/branches/branch_3x/solr: common-build.xml src/test/org/apache/solr/core/IndexReaderFactoryTest.java

Author: yonik
Date: Fri Oct 15 22:02:18 2010
New Revision: 1023129

URL: http://svn.apache.org/viewvc?rev=1023129&view=rev
Log:
tests: fix cut'n'paste

Modified:
    lucene/dev/branches/branch_3x/solr/common-build.xml
    lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java

Modified: lucene/dev/branches/branch_3x/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/common-build.xml?rev=1023129&r1=1023128&r2=1023129&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/common-build.xml (original)
+++ lucene/dev/branches/branch_3x/solr/common-build.xml Fri Oct 15 22:02:18 2010
@@ -255,7 +255,6 @@
              sourcepath=""
              classpathref="@{classpathref}">
          <nested />
-      	<compilerarg line="-Xlint -Xlint:-deprecation -Xlint:-serial"/>
       </javac>
     </sequential>
   </macrodef>

Modified: lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java?rev=1023129&r1=1023128&r2=1023129&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java (original)
+++ lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java Fri Oct 15 22:02:18 2010
@@ -40,7 +40,7 @@ public class IndexReaderFactoryTest exte
   public void testAltReaderUsed() throws Exception {
     IndexReaderFactory readerFactory = h.getCore().getIndexReaderFactory();
     assertNotNull("Factory is null", readerFactory);
-    assertTrue("readerFactory is not an instanceof " + AlternateIndexReaderTest.TestIndexReaderFactory.class, readerFactory instanceof StandardIndexReaderFactory);
+    assertTrue("readerFactory is not an instanceof " + AlternateDirectoryTest.TestIndexReaderFactory.class, readerFactory instanceof StandardIndexReaderFactory);
     assertTrue("termInfoIndexDivisor not set to 12", readerFactory.getTermInfosIndexDivisor() == 12);
 
 



Re: svn commit: r1023129 - in /lucene/dev/branches/branch_3x/solr: common-build.xml src/test/org/apache/solr/core/IndexReaderFactoryTest.java

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Fri, Oct 15, 2010 at 6:05 PM, Robert Muir <rc...@gmail.com> wrote:
> can we keep the warnings enabled still in common-build? otherwise they
> will never get fixed (and some might be real problems)!

Sure - accidental commit.  I needed to turn them off to find where the
compile error was ;-)

-Yonik
http://www.lucidimagination.com

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


Re: svn commit: r1023129 - in /lucene/dev/branches/branch_3x/solr: common-build.xml src/test/org/apache/solr/core/IndexReaderFactoryTest.java

Posted by Robert Muir <rc...@gmail.com>.
can we keep the warnings enabled still in common-build? otherwise they
will never get fixed (and some might be real problems)!

On Fri, Oct 15, 2010 at 6:02 PM,  <yo...@apache.org> wrote:
> Author: yonik
> Date: Fri Oct 15 22:02:18 2010
> New Revision: 1023129
>
> URL: http://svn.apache.org/viewvc?rev=1023129&view=rev
> Log:
> tests: fix cut'n'paste
>
> Modified:
>    lucene/dev/branches/branch_3x/solr/common-build.xml
>    lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java
>
> Modified: lucene/dev/branches/branch_3x/solr/common-build.xml
> URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/common-build.xml?rev=1023129&r1=1023128&r2=1023129&view=diff
> ==============================================================================
> --- lucene/dev/branches/branch_3x/solr/common-build.xml (original)
> +++ lucene/dev/branches/branch_3x/solr/common-build.xml Fri Oct 15 22:02:18 2010
> @@ -255,7 +255,6 @@
>              sourcepath=""
>              classpathref="@{classpathref}">
>          <nested />
> -       <compilerarg line="-Xlint -Xlint:-deprecation -Xlint:-serial"/>
>       </javac>
>     </sequential>
>   </macrodef>
>
> Modified: lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java
> URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java?rev=1023129&r1=1023128&r2=1023129&view=diff
> ==============================================================================
> --- lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java (original)
> +++ lucene/dev/branches/branch_3x/solr/src/test/org/apache/solr/core/IndexReaderFactoryTest.java Fri Oct 15 22:02:18 2010
> @@ -40,7 +40,7 @@ public class IndexReaderFactoryTest exte
>   public void testAltReaderUsed() throws Exception {
>     IndexReaderFactory readerFactory = h.getCore().getIndexReaderFactory();
>     assertNotNull("Factory is null", readerFactory);
> -    assertTrue("readerFactory is not an instanceof " + AlternateIndexReaderTest.TestIndexReaderFactory.class, readerFactory instanceof StandardIndexReaderFactory);
> +    assertTrue("readerFactory is not an instanceof " + AlternateDirectoryTest.TestIndexReaderFactory.class, readerFactory instanceof StandardIndexReaderFactory);
>     assertTrue("termInfoIndexDivisor not set to 12", readerFactory.getTermInfosIndexDivisor() == 12);
>
>
>
>
>

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