13681369137013711372137313741375137613771378
return mb; } try { mb.doBuild(); } catch (Exception e) { // need to think about whether we'd want to remove // the MapBuilder from the cache if it can't be
19651966196719681969197019711972197319741975
{ if (!mb.isBuilt()) { try { mb.doBuild(); } catch (Exception e) { // need to think about whether we'd want to remove // the MapBuilder from the cache if it can't be
174175176177178179180181182183184
// create and build the MapBuilder MapBuilder builder = (MapBuilder) Class.forName((String) entry.getKey()).newInstance(); if (!builder.isBuilt()) { builder.doBuild(); } entry.setValue(builder); } catch (Exception e)
841842843844845846847848849850851
return mb; } try { mb.doBuild(); } catch (Exception e) { // remove the MapBuilder from the cache if it can't be built correctly mapBuilderCache.remove(className);
21202121212221232124212521262127212821292130
857858859860861862863864865866867
13661367136813691370137113721373137413751376