On Tuesday 27 November 2007 20:20, you wrote:
> Author: nextgens
> Date: 2007-11-27 20:20:22 +0000 (Tue, 27 Nov 2007)
> New Revision: 15994
> 
> Modified:
>    trunk/freenet/src/freenet/config/PersistentConfig.java
> Log:
> PersistentConfig: trim() lines we read from the config file. I don't see any 
reason why we would need trailing spaces... and that might lead to weird bugs 
like the one I've just fixed in the installer.

Hmmm...
> 
> Modified: trunk/freenet/src/freenet/config/PersistentConfig.java
> ===================================================================
> --- trunk/freenet/src/freenet/config/PersistentConfig.java    2007-11-27 
19:50:31 UTC (rev 15993)
> +++ trunk/freenet/src/freenet/config/PersistentConfig.java    2007-11-27 
20:20:22 UTC (rev 15994)
> @@ -67,7 +67,7 @@
>                       if(val == null) return;
>               }
>               try {
> -                     o.setInitialValue(val);
> +                     o.setInitialValue(val.trim());
>               } catch (InvalidConfigValueException e) {
>                       Logger.error(this, "Could not parse config option 
> "+name+": "+e, e);
>               }
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20071128/8ce9251b/attachment.pgp>

Reply via email to