Cosmetic fix

This commit is contained in:
hns 2009-09-08 20:29:56 +00:00
parent 0241dc1f4e
commit 04c809ad58

View file

@ -66,7 +66,7 @@ public class TransientNode implements INode, Serializable {
*/ */
public TransientNode(String n) { public TransientNode(String n) {
id = generateID(); id = generateID();
name = ((n == null) || "".equals(n)) ? id : n; name = (n == null || n.length() == 0) ? id : n;
created = lastmodified = System.currentTimeMillis(); created = lastmodified = System.currentTimeMillis();
} }