public static Repository newRepository ( ) { try { MapRepositoryBuilder builder = new MapRepositoryBuilder ( ) ; return builder . build ( ) ; } catch ( RepositoryException e ) { // Not expected. throw new RuntimeException ( e ) ; } }
Convenience method to build a new MapRepository .