* Daniel Cheng <[EMAIL PROTECTED]> [2008-07-27 21:38:48]:

> On Sun, Jul 27, 2008 at 3:55 PM,  <[EMAIL PROTECTED]> wrote:
> > Author: nextgens
> > Date: 2008-07-27 07:55:59 +0000 (Sun, 27 Jul 2008)
> > New Revision: 21433
> >
> > Modified:
> >   trunk/freenet/src/freenet/l10n/L10n.java
> > Log:
> > l10n: prevent a potential npe (in case we remove a key from the l10n file 
> > from one version to another)
> 
> String.equals(null) is false, it never give NPE.
> 
> see 
> http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)
>  # For any non-null reference value x, x.equals(null) should return false.

Right, reverted in r21440

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to