jodd-madvoc/src/main/java/jodd/madvoc/config/RouteChunk.java
public RouteChunk add(final String newValue) {
		RouteChunk routeChunk = new RouteChunk(routes, this, newValue);
		if (children == null) {
			children = new RouteChunk[] {routeChunk};
		}
		else {
			children = ArraysUtil.append(children, routeChunk);
		}
		return routeChunk;
	}
public RouteChunk add(final String newValue) {
		RouteChunk routeChunk = new RouteChunk(routes, this, newValue);
		if (children == null) {
			children = new RouteChunk[] {routeChunk};
		}
		else {
			children = ArraysUtil.append(children, routeChunk);
		}
		return routeChunk;
	}
public RouteChunk add ( final String newValue ) { RouteChunk routeChunk = new RouteChunk ( routes , this , newValue ) ; if ( children == null ) { children = new RouteChunk [ ] { routeChunk } ; } else { children = ArraysUtil . append ( children , routeChunk ) ; } return routeChunk ; }
Adds a new child to the tree.
Adds a new child to the tree .