122123124125126127128129130131132
if ( root.getChildren().isEmpty() ) { Schema[] schemas = schemaPool.getSchemas(); for ( Schema schema : schemas ) { root.addChild( new SchemaWrapper( schema, root ) ); } } children = root.getChildren(); Collections.sort( children, schemaSorter );