I did it, no problems, thanks

Borek

> -----Original Message-----
> From: Itamar Syn-Hershko [mailto:ita...@code972.com]
> Sent: Monday, August 23, 2010 6:19 PM
> To: clucene-developers@lists.sourceforge.net
> Subject: Re: [CLucene-dev] TermVectorsWriter::close strange code
> 
> I checked in a small patch to your branch, can you test to see if it
> breaks anything?
> 
> Itamar
> 
> On 21/8/2010 1:24 AM, Kostka Bořivoj wrote:
> > I checked Jlucene and exception is thrown here only in case of error, so 
> > I'll fix
> function this way.
> >
> > Borek
> >
> >
> >> -----Original Message-----
> >> From: Kostka Bořivoj [mailto:kos...@tovek.cz]
> >> Sent: Friday, August 20, 2010 9:43 PM
> >> To: clucene-developers@lists.sourceforge.net
> >> Subject: [CLucene-dev] TermVectorsWriter::close strange code
> >>
> >> In AddIndexesNoOptimize test I got an exception during
> >> IndexWriter::addIndexesNoOptimize call.
> >>
> >> I discovered the problem is in
> >>
> >> void TermVectorsWriter::close(CLuceneError* err)
> >>
> >> where last block of code
> >>
> >>          if ( err != NULL )
> >>              err->set(keep.number(), keep.what());
> >>          else
> >>              throw keep;
> >>
> >> is always called, but it should be called only if some error occurs, I 
> >> think
> >>
> >> Could anybody check, if I didn't miss something?
> >>
> >> Borek
> >>
> >> ------------------------------------------------------------------------------
> >> This SF.net email is sponsored by
> >>
> >> Make an app they can't live without
> >> Enter the BlackBerry Developer Challenge
> >> http://p.sf.net/sfu/RIM-dev2dev
> >> _______________________________________________
> >> CLucene-developers mailing list
> >> CLucene-developers@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/clucene-developers
> >>
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > CLucene-developers mailing list
> > CLucene-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/clucene-developers
> >
> >
> >
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to