lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: svn commit: r1023129 - in /lucene/dev/branches/branch_3x/solr: common-build.xml src/test/org/apache/solr/core/IndexReaderFactoryTest.java
Date Fri, 15 Oct 2010 22:05:10 GMT
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,  <yonik@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


Mime
View raw message