Cosmetic fix
This commit is contained in:
parent
0241dc1f4e
commit
04c809ad58
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class TransientNode implements INode, Serializable {
|
|||
*/
|
||||
public TransientNode(String n) {
|
||||
id = generateID();
|
||||
name = ((n == null) || "".equals(n)) ? id : n;
|
||||
name = (n == null || n.length() == 0) ? id : n;
|
||||
created = lastmodified = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue