You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ko...@apache.org on 2010/05/30 17:02:07 UTC

svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Author: koji
Date: Sun May 30 15:02:06 2010
New Revision: 949525

URL: http://svn.apache.org/viewvc?rev=949525&view=rev
Log:
fix typo

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokenizer.java
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokenizer.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokenizer.java?rev=949525&r1=949524&r2=949525&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokenizer.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokenizer.java Sun May 30 15:02:06 2010
@@ -237,7 +237,7 @@ public abstract class CharTokenizer exte
    * </p>
    */
   protected boolean isTokenChar(int c) {
-    throw new UnsupportedOperationException("since LUCENE_3_1 subclasses of CharTokenizer must implement isTokenChar(int)");
+    throw new UnsupportedOperationException("since LUCENE_31 subclasses of CharTokenizer must implement isTokenChar(int)");
   }
 
   /**

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.java?rev=949525&r1=949524&r2=949525&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.java Sun May 30 15:02:06 2010
@@ -83,8 +83,8 @@ public final class VirtualMethod<C> {
           "VirtualMethod instances must be singletons and therefore " +
           "assigned to static final members in the same class, they use as baseClass ctor param."
         );
-    } catch (NoSuchMethodException nsme) {
-      throw new IllegalArgumentException(baseClass.getName() + " has no such method: "+nsme.getMessage());
+    } catch (NoSuchMethodException name) {
+      throw new IllegalArgumentException(baseClass.getName() + " has no such method: "+name.getMessage());
     }
   }
   



RE: svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Posted by Uwe Schindler <uw...@thetaphi.de>.
I just wondered why you changed a totally unrelated thing...

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


> -----Original Message-----
> From: Koji Sekiguchi [mailto:koji@r.email.ne.jp]
> Sent: Sunday, May 30, 2010 5:50 PM
> To: dev@lucene.apache.org
> Subject: Re: svn commit: r949525 - in
> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> analysis/CharTokenizer.java util/VirtualMethod.java
> 
> Uh, sorry, I thought you typed 's' instead of 'a'. (next key of 'a') Now I'm
> aware of nsme stands for NoSuchMethodException...
> 
> (10/05/31 0:37), Uwe Schindler wrote:
> > What was the reason for the changes in VirtualMethod?
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >
> >> -----Original Message-----
> >> From: koji@apache.org [mailto:koji@apache.org]
> >> Sent: Sunday, May 30, 2010 5:02 PM
> >> To: commits@lucene.apache.org
> >> Subject: svn commit: r949525 - in
> >> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> >> analysis/CharTokenizer.java util/VirtualMethod.java
> >>
> >> Author: koji
> >> Date: Sun May 30 15:02:06 2010
> >> New Revision: 949525
> >>
> >> URL: http://svn.apache.org/viewvc?rev=949525&view=rev
> >> Log:
> >> fix typo
> >>
> >> Modified:
> >>
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java
> >>
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va
> >>
> >> Modified:
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java
> >> URL:
> >>
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apa
> >> ch
> >>
> e/lucene/analysis/CharTokenizer.java?rev=949525&r1=949524&r2=949525&v
> >> iew=diff
> >>
> ==========================================================
> >> ====================
> >> ---
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java (original)
> >> +++
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java Sun May 30 15:02:06 2010
> >> @@ -237,7 +237,7 @@ public abstract class CharTokenizer exte
> >>      *</p>
> >>      */
> >>     protected boolean isTokenChar(int c) {
> >> -    throw new UnsupportedOperationException("since LUCENE_3_1
> >> subclasses of CharTokenizer must implement isTokenChar(int)");
> >> +    throw new UnsupportedOperationException("since LUCENE_31
> >> subclasses of CharTokenizer must implement isTokenChar(int)");
> >>     }
> >>
> >>     /**
> >>
> >> Modified:
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va
> >> URL:
> >>
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apa
> >> ch
> >>
> e/lucene/util/VirtualMethod.java?rev=949525&r1=949524&r2=949525&view
> >> =diff
> >>
> ==========================================================
> >> ====================
> >> ---
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va (original)
> >> +++
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va Sun May 30 15:02:06 2010
> >> @@ -83,8 +83,8 @@ public final class VirtualMethod<C>  {
> >>             "VirtualMethod instances must be singletons and therefore " +
> >>             "assigned to static final members in the same class, they
> >> use as baseClass ctor param."
> >>           );
> >> -    } catch (NoSuchMethodException nsme) {
> >> -      throw new IllegalArgumentException(baseClass.getName() + " has no
> >> such method: "+nsme.getMessage());
> >> +    } catch (NoSuchMethodException name) {
> >> +      throw new IllegalArgumentException(baseClass.getName() + " has
> >> + no
> >> such method: "+name.getMessage());
> >>       }
> >>     }
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> > additional commands, e-mail: dev-help@lucene.apache.org
> >
> >
> >
> 
> 
> --
> http://www.rondhuit.com/en/
> 
> 
> ---------------------------------------------------------------------
> 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


Re: svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Thank you, I was sleeping.  :)

Koji

(10/05/31 2:54), Uwe Schindler wrote:
> DONE!
>
> -----
> 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: Sunday, May 30, 2010 7:17 PM
>> To: dev@lucene.apache.org
>> Subject: RE: svn commit: r949525 - in
>> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
>> analysis/CharTokenizer.java util/VirtualMethod.java
>>
>> Can you revert it again (only VirtualMethod)?
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>      

-- 
http://www.rondhuit.com/en/


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


RE: svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Posted by Uwe Schindler <uw...@thetaphi.de>.
DONE!

-----
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: Sunday, May 30, 2010 7:17 PM
> To: dev@lucene.apache.org
> Subject: RE: svn commit: r949525 - in
> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> analysis/CharTokenizer.java util/VirtualMethod.java
> 
> Can you revert it again (only VirtualMethod)?
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> 
> > -----Original Message-----
> > From: Koji Sekiguchi [mailto:koji@r.email.ne.jp]
> > Sent: Sunday, May 30, 2010 5:50 PM
> > To: dev@lucene.apache.org
> > Subject: Re: svn commit: r949525 - in
> > /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> > analysis/CharTokenizer.java util/VirtualMethod.java
> >
> > Uh, sorry, I thought you typed 's' instead of 'a'. (next key of 'a')
> > Now I'm aware of nsme stands for NoSuchMethodException...
> >
> > (10/05/31 0:37), Uwe Schindler wrote:
> > > What was the reason for the changes in VirtualMethod?
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > > eMail: uwe@thetaphi.de
> > >
> > >
> > >
> > >> -----Original Message-----
> > >> From: koji@apache.org [mailto:koji@apache.org]
> > >> Sent: Sunday, May 30, 2010 5:02 PM
> > >> To: commits@lucene.apache.org
> > >> Subject: svn commit: r949525 - in
> > >> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> > >> analysis/CharTokenizer.java util/VirtualMethod.java
> > >>
> > >> Author: koji
> > >> Date: Sun May 30 15:02:06 2010
> > >> New Revision: 949525
> > >>
> > >> URL: http://svn.apache.org/viewvc?rev=949525&view=rev
> > >> Log:
> > >> fix typo
> > >>
> > >> Modified:
> > >>
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> > >> iz
> > >> er.java
> > >>
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> > >> .ja
> > >> va
> > >>
> > >> Modified:
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> > >> iz
> > >> er.java
> > >> URL:
> > >>
> > http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apa
> > >> ch
> > >>
> >
> e/lucene/analysis/CharTokenizer.java?rev=949525&r1=949524&r2=949525&v
> > >> iew=diff
> > >>
> >
> ==========================================================
> > >> ====================
> > >> ---
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> > >> iz
> > >> er.java (original)
> > >> +++
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> > >> iz
> > >> er.java Sun May 30 15:02:06 2010
> > >> @@ -237,7 +237,7 @@ public abstract class CharTokenizer exte
> > >>      *</p>
> > >>      */
> > >>     protected boolean isTokenChar(int c) {
> > >> -    throw new UnsupportedOperationException("since LUCENE_3_1
> > >> subclasses of CharTokenizer must implement isTokenChar(int)");
> > >> +    throw new UnsupportedOperationException("since LUCENE_31
> > >> subclasses of CharTokenizer must implement isTokenChar(int)");
> > >>     }
> > >>
> > >>     /**
> > >>
> > >> Modified:
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> > >> .ja
> > >> va
> > >> URL:
> > >>
> > http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apa
> > >> ch
> > >>
> >
> e/lucene/util/VirtualMethod.java?rev=949525&r1=949524&r2=949525&view
> > >> =diff
> > >>
> >
> ==========================================================
> > >> ====================
> > >> ---
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> > >> .ja
> > >> va (original)
> > >> +++
> > >>
> > lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> > >> .ja
> > >> va Sun May 30 15:02:06 2010
> > >> @@ -83,8 +83,8 @@ public final class VirtualMethod<C>  {
> > >>             "VirtualMethod instances must be singletons and therefore " +
> > >>             "assigned to static final members in the same class, they
> > >> use as baseClass ctor param."
> > >>           );
> > >> -    } catch (NoSuchMethodException nsme) {
> > >> -      throw new IllegalArgumentException(baseClass.getName() + " has
> no
> > >> such method: "+nsme.getMessage());
> > >> +    } catch (NoSuchMethodException name) {
> > >> +      throw new IllegalArgumentException(baseClass.getName() + " has
> > >> + no
> > >> such method: "+name.getMessage());
> > >>       }
> > >>     }
> > >>
> > >>
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> > > additional commands, e-mail: dev-help@lucene.apache.org
> > >
> > >
> > >
> >
> >
> > --
> > http://www.rondhuit.com/en/
> >
> >
> > ---------------------------------------------------------------------
> > 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



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


RE: svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Posted by Uwe Schindler <uw...@thetaphi.de>.
Can you revert it again (only VirtualMethod)?

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


> -----Original Message-----
> From: Koji Sekiguchi [mailto:koji@r.email.ne.jp]
> Sent: Sunday, May 30, 2010 5:50 PM
> To: dev@lucene.apache.org
> Subject: Re: svn commit: r949525 - in
> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> analysis/CharTokenizer.java util/VirtualMethod.java
> 
> Uh, sorry, I thought you typed 's' instead of 'a'. (next key of 'a') Now I'm
> aware of nsme stands for NoSuchMethodException...
> 
> (10/05/31 0:37), Uwe Schindler wrote:
> > What was the reason for the changes in VirtualMethod?
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >
> >> -----Original Message-----
> >> From: koji@apache.org [mailto:koji@apache.org]
> >> Sent: Sunday, May 30, 2010 5:02 PM
> >> To: commits@lucene.apache.org
> >> Subject: svn commit: r949525 - in
> >> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> >> analysis/CharTokenizer.java util/VirtualMethod.java
> >>
> >> Author: koji
> >> Date: Sun May 30 15:02:06 2010
> >> New Revision: 949525
> >>
> >> URL: http://svn.apache.org/viewvc?rev=949525&view=rev
> >> Log:
> >> fix typo
> >>
> >> Modified:
> >>
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java
> >>
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va
> >>
> >> Modified:
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java
> >> URL:
> >>
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apa
> >> ch
> >>
> e/lucene/analysis/CharTokenizer.java?rev=949525&r1=949524&r2=949525&v
> >> iew=diff
> >>
> ==========================================================
> >> ====================
> >> ---
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java (original)
> >> +++
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharToken
> >> iz
> >> er.java Sun May 30 15:02:06 2010
> >> @@ -237,7 +237,7 @@ public abstract class CharTokenizer exte
> >>      *</p>
> >>      */
> >>     protected boolean isTokenChar(int c) {
> >> -    throw new UnsupportedOperationException("since LUCENE_3_1
> >> subclasses of CharTokenizer must implement isTokenChar(int)");
> >> +    throw new UnsupportedOperationException("since LUCENE_31
> >> subclasses of CharTokenizer must implement isTokenChar(int)");
> >>     }
> >>
> >>     /**
> >>
> >> Modified:
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va
> >> URL:
> >>
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apa
> >> ch
> >>
> e/lucene/util/VirtualMethod.java?rev=949525&r1=949524&r2=949525&view
> >> =diff
> >>
> ==========================================================
> >> ====================
> >> ---
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va (original)
> >> +++
> >>
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod
> >> .ja
> >> va Sun May 30 15:02:06 2010
> >> @@ -83,8 +83,8 @@ public final class VirtualMethod<C>  {
> >>             "VirtualMethod instances must be singletons and therefore " +
> >>             "assigned to static final members in the same class, they
> >> use as baseClass ctor param."
> >>           );
> >> -    } catch (NoSuchMethodException nsme) {
> >> -      throw new IllegalArgumentException(baseClass.getName() + " has no
> >> such method: "+nsme.getMessage());
> >> +    } catch (NoSuchMethodException name) {
> >> +      throw new IllegalArgumentException(baseClass.getName() + " has
> >> + no
> >> such method: "+name.getMessage());
> >>       }
> >>     }
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> > additional commands, e-mail: dev-help@lucene.apache.org
> >
> >
> >
> 
> 
> --
> http://www.rondhuit.com/en/
> 
> 
> ---------------------------------------------------------------------
> 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


Re: svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
Uh, sorry, I thought you typed 's' instead of 'a'. (next key of 'a')
Now I'm aware of nsme stands for NoSuchMethodException...

(10/05/31 0:37), Uwe Schindler wrote:
> What was the reason for the changes in VirtualMethod?
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>    
>> -----Original Message-----
>> From: koji@apache.org [mailto:koji@apache.org]
>> Sent: Sunday, May 30, 2010 5:02 PM
>> To: commits@lucene.apache.org
>> Subject: svn commit: r949525 - in
>> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
>> analysis/CharTokenizer.java util/VirtualMethod.java
>>
>> Author: koji
>> Date: Sun May 30 15:02:06 2010
>> New Revision: 949525
>>
>> URL: http://svn.apache.org/viewvc?rev=949525&view=rev
>> Log:
>> fix typo
>>
>> Modified:
>>
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
>> er.java
>>
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
>> va
>>
>> Modified:
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
>> er.java
>> URL:
>> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apach
>> e/lucene/analysis/CharTokenizer.java?rev=949525&r1=949524&r2=949525&v
>> iew=diff
>> ==========================================================
>> ====================
>> ---
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
>> er.java (original)
>> +++
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
>> er.java Sun May 30 15:02:06 2010
>> @@ -237,7 +237,7 @@ public abstract class CharTokenizer exte
>>      *</p>
>>      */
>>     protected boolean isTokenChar(int c) {
>> -    throw new UnsupportedOperationException("since LUCENE_3_1
>> subclasses of CharTokenizer must implement isTokenChar(int)");
>> +    throw new UnsupportedOperationException("since LUCENE_31
>> subclasses of CharTokenizer must implement isTokenChar(int)");
>>     }
>>
>>     /**
>>
>> Modified:
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
>> va
>> URL:
>> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apach
>> e/lucene/util/VirtualMethod.java?rev=949525&r1=949524&r2=949525&view
>> =diff
>> ==========================================================
>> ====================
>> ---
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
>> va (original)
>> +++
>> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
>> va Sun May 30 15:02:06 2010
>> @@ -83,8 +83,8 @@ public final class VirtualMethod<C>  {
>>             "VirtualMethod instances must be singletons and therefore " +
>>             "assigned to static final members in the same class, they use as
>> baseClass ctor param."
>>           );
>> -    } catch (NoSuchMethodException nsme) {
>> -      throw new IllegalArgumentException(baseClass.getName() + " has no
>> such method: "+nsme.getMessage());
>> +    } catch (NoSuchMethodException name) {
>> +      throw new IllegalArgumentException(baseClass.getName() + " has no
>> such method: "+name.getMessage());
>>       }
>>     }
>>
>>
>>      
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
>    


-- 
http://www.rondhuit.com/en/


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


RE: svn commit: r949525 - in /lucene/dev/trunk/lucene/src/java/org/apache/lucene: analysis/CharTokenizer.java util/VirtualMethod.java

Posted by Uwe Schindler <uw...@thetaphi.de>.
What was the reason for the changes in VirtualMethod?

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


> -----Original Message-----
> From: koji@apache.org [mailto:koji@apache.org]
> Sent: Sunday, May 30, 2010 5:02 PM
> To: commits@lucene.apache.org
> Subject: svn commit: r949525 - in
> /lucene/dev/trunk/lucene/src/java/org/apache/lucene:
> analysis/CharTokenizer.java util/VirtualMethod.java
> 
> Author: koji
> Date: Sun May 30 15:02:06 2010
> New Revision: 949525
> 
> URL: http://svn.apache.org/viewvc?rev=949525&view=rev
> Log:
> fix typo
> 
> Modified:
> 
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
> er.java
> 
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
> va
> 
> Modified:
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
> er.java
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apach
> e/lucene/analysis/CharTokenizer.java?rev=949525&r1=949524&r2=949525&v
> iew=diff
> ==========================================================
> ====================
> ---
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
> er.java (original)
> +++
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/analysis/CharTokeniz
> er.java Sun May 30 15:02:06 2010
> @@ -237,7 +237,7 @@ public abstract class CharTokenizer exte
>     * </p>
>     */
>    protected boolean isTokenChar(int c) {
> -    throw new UnsupportedOperationException("since LUCENE_3_1
> subclasses of CharTokenizer must implement isTokenChar(int)");
> +    throw new UnsupportedOperationException("since LUCENE_31
> subclasses of CharTokenizer must implement isTokenChar(int)");
>    }
> 
>    /**
> 
> Modified:
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
> va
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apach
> e/lucene/util/VirtualMethod.java?rev=949525&r1=949524&r2=949525&view
> =diff
> ==========================================================
> ====================
> ---
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
> va (original)
> +++
> lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/VirtualMethod.ja
> va Sun May 30 15:02:06 2010
> @@ -83,8 +83,8 @@ public final class VirtualMethod<C> {
>            "VirtualMethod instances must be singletons and therefore " +
>            "assigned to static final members in the same class, they use as
> baseClass ctor param."
>          );
> -    } catch (NoSuchMethodException nsme) {
> -      throw new IllegalArgumentException(baseClass.getName() + " has no
> such method: "+nsme.getMessage());
> +    } catch (NoSuchMethodException name) {
> +      throw new IllegalArgumentException(baseClass.getName() + " has no
> such method: "+name.getMessage());
>      }
>    }
> 
> 



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