public void addChild(String child){
  if (child == null) {
    return;
  }
  String childPath=path.endsWith("/") ? path + child : path + "/" + child;
  children.add(new ZkNode(childPath));
}

public void addChild ( String child ) { if ( child == null ) { return ; } String childPath = path . endsWith ( "/" ) ? path + child : path + "/" + child ; children . add ( new ZkNode ( childPath ) ) ; }
input is child name , not full path
