lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Psaltis" <apsal...@ideapivot.com>
Subject RE: API Inconsistency
Date Mon, 04 May 2009 09:56:31 GMT
That is my mistake, sorry.

-----Original Message-----
From: xzxz@mail.ru [mailto:xzxz@mail.ru] 
Sent: Sunday, May 03, 2009 11:35 PM
To: lucene-net-dev@incubator.apache.org
Subject: Re: API Inconsistency

Current java-version is 2.4. But .Net version is still 2.3.1.

Andrew Psaltis ?????:
> While looking at the latest MEAP edition of Lucene in Action and trying to
> port Listing 10.2 from the Java to .NET, I noticed an inconsistency in the
> DecRef and IncRef API of the IndexReader. The java version have the
> following signature:
>
>  
>
> public synchronized void incRef()
>
> public synchronized void decRef()
>
>  
>
> However, the .NET version (latest source fron SVN as of Thursday
-4/30/2009)
> has the following signatures:
>
>  
>
> protected internal virtual void  IncRef()
>
> protected internal virtual void  DecRef()
>
>  
>
>  
>
> Is this an acceptable deviation?
>
>  
>
> Thanks,
>
> Andrew
>
>  
>
>  
>
>
>   



Mime
View raw message