* Matthew Toseland <toad at amphibian.dyndns.org> [2006-04-03 17:50:33]:

> I don't get it. SimpleFieldSet's are supposed to be hierarchical.
> 
I've reverted it afterwards : the problem was when the separator is the
first character. You did a substring(0,0)

> On Sat, Apr 01, 2006 at 09:06:15PM +0000, nextgens at freenetproject.org 
> wrote:
> > Author: nextgens
> > Date: 2006-04-01 21:05:35 +0000 (Sat, 01 Apr 2006)
> > New Revision: 8427
> > 
> > Modified:
> >    trunk/freenet/src/freenet/node/Version.java
> >    trunk/freenet/src/freenet/support/SimpleFieldSet.java
> > Log:
> > 610:
> > 
> > should have fixed https://bugs.freenetproject.org/view.php?id=188
> > 
> > Modified: trunk/freenet/src/freenet/node/Version.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/node/Version.java     2006-04-01 20:40:18 UTC 
> > (rev 8426)
> > +++ trunk/freenet/src/freenet/node/Version.java     2006-04-01 21:05:35 UTC 
> > (rev 8427)
> > @@ -20,7 +20,7 @@
> >     public static final String protocolVersion = "1.0";
> >  
> >     /** The build number of the current revision */
> > -   private static final int buildNumber = 609;
> > +   private static final int buildNumber = 610;
> >  
> >     /** Oldest build of Fred we will talk to */
> >     private static final int lastGoodBuild = 591;
> > 
> > Modified: trunk/freenet/src/freenet/support/SimpleFieldSet.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/support/SimpleFieldSet.java   2006-04-01 
> > 20:40:18 UTC (rev 8426)
> > +++ trunk/freenet/src/freenet/support/SimpleFieldSet.java   2006-04-01 
> > 21:05:35 UTC (rev 8427)
> > @@ -141,7 +141,7 @@
> >      
> >      public String get(String key) {
> >             if(multiLevel) {
> > -                   int idx = key.indexOf(MULTI_LEVEL_CHAR);
> > +                   int idx = key.lastIndexOf(MULTI_LEVEL_CHAR);
> >                     if(idx == -1)
> >                             return (String) map.get(key);
> >                     else {
> > 
> > _______________________________________________
> > cvs mailing list
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> > 
> 
> -- 
> Matthew J Toseland - toad at amphibian.dyndns.org
> Freenet Project Official Codemonkey - http://freenetproject.org/
> ICTHUS - Nothing is impossible. Our Boss says so.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/cvs/attachments/20060403/47761770/attachment.pgp>

Reply via email to