lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: svn commit: r1375499 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java
Date Tue, 21 Aug 2012 12:39:25 GMT
I also disabled the Jenkins Job and will delete it at some time. I keep the history for a while
as reference, maybe GSoC wants to look at it.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Tuesday, August 21, 2012 2:29 PM
> To: dev@lucene.apache.org
> Subject: RE: svn commit: r1375499 -
> /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/block/Bloc
> kPostingsReader.java
> 
> Hi,
> 
> Sorry for interfering with you. I was expecting you will merge before
> reintegrating. Did you do not do merge --reintegrate?
> Don't forget to nuke branch, it cannot be used anymore once reintegrated!
> 
> Uwe
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> > -----Original Message-----
> > From: mikemccand@apache.org [mailto:mikemccand@apache.org]
> > Sent: Tuesday, August 21, 2012 2:25 PM
> > To: commits@lucene.apache.org
> > Subject: svn commit: r1375499 -
> > /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/block/
> > Bloc
> > kPostingsReader.java
> >
> > Author: mikemccand
> > Date: Tue Aug 21 12:25:13 2012
> > New Revision: 1375499
> >
> > URL: http://svn.apache.org/viewvc?rev=1375499&view=rev
> > Log:
> > remove unnecessary casts (covariant IndexInput.clone)
> >
> > Modified:
> >
> > lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/block/B
> > lock
> > PostingsReader.java
> >
> > Modified:
> > lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/block/B
> > lock
> > PostingsReader.java
> > URL:
> > http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org
> > /apac
> >
> he/lucene/codecs/block/BlockPostingsReader.java?rev=1375499&r1=1375498
> > &
> > r2=1375499&view=diff
> >
> ================================================================
> > ==============
> > ---
> > lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/block/B
> > lock
> > PostingsReader.java (original)
> > +++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/blo
> > +++ ck /BlockPostingsReader.java Tue Aug 21 12:25:13 2012
> > @@ -354,7 +354,7 @@ final class BlockPostingsReader extends
> >
> >      public BlockDocsEnum(FieldInfo fieldInfo) throws IOException {
> >        this.startDocIn = BlockPostingsReader.this.docIn;
> > -      this.docIn = (IndexInput) startDocIn.clone();
> > +      this.docIn = startDocIn.clone();
> >        indexHasFreq =
> > fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS) >=
> 0;
> >        indexHasPos =
> >
> fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_
> > POSITIONS) >= 0;
> >        indexHasOffsets =
> >
> fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_
> > POSITIONS_AND_OFFSETS) >= 0; @@ -486,7 +486,7 @@ final class
> > BlockPostingsReader extends
> >
> >          if (skipper == null) {
> >            // Lazy init: first time this enum has ever been used for skipping
> > -          skipper = new BlockSkipReader((IndexInput) docIn.clone(),
> > +          skipper = new BlockSkipReader(docIn.clone(),
> >                                          BlockPostingsWriter.maxSkipLevels,
> >                                          BLOCK_SIZE,
> >                                          indexHasPos, @@ -629,8 +629,8
> > @@ final class BlockPostingsReader extends
> >
> >      public BlockDocsAndPositionsEnum(FieldInfo fieldInfo) throws IOException
> {
> >        this.startDocIn = BlockPostingsReader.this.docIn;
> > -      this.docIn = (IndexInput) startDocIn.clone();
> > -      this.posIn = (IndexInput) BlockPostingsReader.this.posIn.clone();
> > +      this.docIn = startDocIn.clone();
> > +      this.posIn = BlockPostingsReader.this.posIn.clone();
> >        encoded = new byte[MAX_ENCODED_SIZE];
> >        indexHasOffsets =
> >
> fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_
> > POSITIONS_AND_OFFSETS) >= 0;
> >        indexHasPayloads = fieldInfo.hasPayloads(); @@ -795,7 +795,7 @@
> > final class BlockPostingsReader extends
> >            // if (DEBUG) {
> >            //   System.out.println("    create skipper");
> >            // }
> > -          skipper = new BlockSkipReader((IndexInput) docIn.clone(),
> > +          skipper = new BlockSkipReader(docIn.clone(),
> >                                          BlockPostingsWriter.maxSkipLevels,
> >                                          BLOCK_SIZE,
> >                                          true, @@ -1046,9 +1046,9 @@
> > final class BlockPostingsReader extends
> >
> >      public EverythingEnum(FieldInfo fieldInfo) throws IOException {
> >        this.startDocIn = BlockPostingsReader.this.docIn;
> > -      this.docIn = (IndexInput) startDocIn.clone();
> > -      this.posIn = (IndexInput) BlockPostingsReader.this.posIn.clone();
> > -      this.payIn = (IndexInput) BlockPostingsReader.this.payIn.clone();
> > +      this.docIn = startDocIn.clone();
> > +      this.posIn = BlockPostingsReader.this.posIn.clone();
> > +      this.payIn = BlockPostingsReader.this.payIn.clone();
> >        encoded = new byte[MAX_ENCODED_SIZE];
> >        indexHasOffsets =
> >
> fieldInfo.getIndexOptions().compareTo(IndexOptions.DOCS_AND_FREQS_AND_
> > POSITIONS_AND_OFFSETS) >= 0;
> >        if (indexHasOffsets) {
> > @@ -1278,7 +1278,7 @@ final class BlockPostingsReader extends
> >            // if (DEBUG) {
> >            //   System.out.println("    create skipper");
> >            // }
> > -          skipper = new BlockSkipReader((IndexInput) docIn.clone(),
> > +          skipper = new BlockSkipReader(docIn.clone(),
> >                                          BlockPostingsWriter.maxSkipLevels,
> >                                          BLOCK_SIZE,
> >                                          true,
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org


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


Mime
View raw message