Ximin Luo wrote:
> Daniel Cheng wrote:
>>> Modified: trunk/freenet/src/freenet/keys/FreenetURI.java
>>> ===================================================================
>>> --- trunk/freenet/src/freenet/keys/FreenetURI.java      2009-03-28 15:31:47 
>>> UTC (rev 26255)
>>> +++ trunk/freenet/src/freenet/keys/FreenetURI.java      2009-03-28 23:04:47 
>>> UTC (rev 26256)
>>> @@ -274,10 +274,15 @@
>>>                if(!validKeyType)
>>>                        throw new MalformedURLException("Invalid key type: " 
>>> + keyType);
>>>
>>> +               boolean isSSK = "SSK".equals(keyType);
>> equalsIgnoreCase(), or just isSSK()
> 
> keyType is already in upperCase from the code a few lines above it.
> 

oh, you mean there's already a method called isSSK(). well, those three lines
starting "boolean" were already there; i just moved them up a bit. it'll
probably be exactly the same after the compiler's through with it anyway.

X

Reply via email to