We want to get rid of the warnings... So we display them that everybody sees them on each compilation is solr!
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Steven A Rowe [mailto:[email protected]] > Sent: Friday, October 22, 2010 9:03 PM > To: [email protected] > Subject: RE: Lucene-Solr-tests-only-trunk - Build # 436 - Failure > > It would be nice if compilation warnings were turned off, so that compilation > *errors* would be shown instead of warnings here (compilation output is > otherwise useless) ... > > > -----Original Message----- > > From: Apache Hudson Server [mailto:[email protected]] > > Sent: Friday, October 22, 2010 3:01 PM > > To: [email protected] > > Subject: Lucene-Solr-tests-only-trunk - Build # 436 - Failure > > > > Build: > > http://hudson.zones.apache.org/hudson/job/Lucene-Solr-tests-only- > > trunk/436/ > > > > All tests passed > > > > Build Log (for compile errors): > > [...truncated 7468 lines...] > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/search/LuceneQueryOptimiz > > er.j > > ava:102: warning: [unchecked] unchecked call to put(K,V) as a member > > of the raw type java.util.HashMap > > [javac] cache.put(filterQuery, filter); // cache it > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyW > > rapp > > er.java:127: warning: [unchecked] unchecked conversion > > [javac] found : java.util.List > > [javac] required: java.util.List<org.apache.lucene.index.IndexCommit> > > [javac] List<IndexCommitWrapper> wrapperList = wrap(list); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyW > > rapp > > er.java:137: warning: [unchecked] unchecked conversion > > [javac] found : java.util.List > > [javac] required: java.util.List<org.apache.lucene.index.IndexCommit> > > [javac] List<IndexCommitWrapper> wrapperList = wrap(list); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyW > > rapp > > er.java:211: warning: getUserData() in > > org.apache.solr.core.IndexDeletionPolicyWrapper.IndexCommitWrapper > > overrides getUserData() in org.apache.lucene.index.IndexCommit; return > > type requires unchecked conversion > > [javac] found : java.util.Map > > [javac] required: java.util.Map<java.lang.String,java.lang.String> > > [javac] public Map getUserData() throws IOException { > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyW > > rapp > > er.java:157: warning: getFileNames() in > > org.apache.solr.core.IndexDeletionPolicyWrapper.IndexCommitWrapper > > overrides getFileNames() in org.apache.lucene.index.IndexCommit; > > return type requires unchecked conversion > > [javac] found : java.util.Collection > > [javac] required: java.util.Collection<java.lang.String> > > [javac] public Collection getFileNames() throws IOException { > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyW > > rapp > > er.java:157: warning: getFileNames() in > > org.apache.solr.core.IndexDeletionPolicyWrapper.IndexCommitWrapper > > overrides getFileNames() in org.apache.lucene.index.IndexCommit; > > return type requires unchecked conversion > > [javac] found : java.util.Collection > > [javac] required: java.util.Collection<java.lang.String> > > [javac] public Collection getFileNames() throws IOException { > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/IndexDeletionPolicyW > > rapp > > er.java:211: warning: getUserData() in > > org.apache.solr.core.IndexDeletionPolicyWrapper.IndexCommitWrapper > > overrides getUserData() in org.apache.lucene.index.IndexCommit; return > > type requires unchecked conversion > > [javac] found : java.util.Map > > [javac] required: java.util.Map<java.lang.String,java.lang.String> > > [javac] public Map getUserData() throws IOException { > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:175: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("handlerStart",handlerStart); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:176: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("requests", numRequests); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:177: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("errors", numErrors); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:178: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("timeouts", numTimeouts); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:179: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("totalTime",totalTime); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:180: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("avgTimePerRequest", (float) totalTime / (float) > > this.numRequests); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/RequestHandlerBas > > e.ja > > va:181: warning: [unchecked] unchecked call to add(java.lang.String,T) > > as a member of the raw type org.apache.solr.common.util.NamedList > > [javac] lst.add("avgRequestsPerSecond", (float) numRequests*1000 / > > (float)(System.currentTimeMillis()-handlerStart)); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/Respons > > eBui > > lder.java:330: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] rsp.getResponseHeader().add("partialResults", > > Boolean.TRUE); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/search/FunctionQParser.ja > > va:2 > > 53: warning: [unchecked] unchecked conversion > > [javac] found : java.util.HashMap > > [javac] required: java.util.Map<java.lang.String,java.lang.String> > > [javac] int end = QueryParsing.parseLocalParams(qs, start, > > nestedLocalParams, getParams()); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:86: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] counts.add( PIVOT_KEY, v ); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:301: warning: [unchecked] unchecked conversion > > [javac] found : java.util.List[] > > [javac] required: java.util.List<java.lang.String>[] > > [javac] dff._toRefine = new List[rb.shards.length]; > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:390: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] facet_counts.add("exception",fi.exceptionList); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:394: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] facet_counts.add("facet_queries",facet_queries); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:396: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] facet_queries.add(qf.getKey(), num(qf.count)); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:400: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] facet_counts.add("facet_fields", facet_fields); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:404: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] facet_fields.add(dff.getKey(), fieldCounts); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:425: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] fieldCounts.add(counts[i].name, num(counts[i].count)); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/handler/component/FacetCo > > mpon > > ent.java:429: warning: [unchecked] unchecked call to > > add(java.lang.String,T) as a member of the raw type > > org.apache.solr.common.util.NamedList > > [javac] fieldCounts.add(null, num(dff.missingCount)); > > [javac] ^ > > [javac] /usr/home/hudson/hudson-slave/workspace/Lucene-Solr-tests- > > only- > > trunk/checkout/solr/src/java/org/apache/solr/core/MMapDirectoryFactory > > .jav > > a:61: cannot find symbol > > [javac] symbol : variable DEFAULT_MAX_BUFF > > [javac] location: class org.apache.lucene.store.MMapDirectory > > [javac] maxChunk = params.getInt("maxChunkSize", > > MMapDirectory.DEFAULT_MAX_BUFF); > > [javac] ^ > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -Xlint:deprecation for details. > > [javac] Note: Some input files additionally use unchecked or > > unsafe operations. > > [javac] 1 error > > [...truncated 11 lines...] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] For > > additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
