207208209210211212213
bundles.put(connector.getPersistenceId(), null); } return new ConnectorBean(connectorList, bundles); } private FrameworkBean frameworkBean(MFramework framework) { return new FrameworkBean(framework, new MapResourceBundle(null)); }
145146147148149150151
public static ResourceBundle getResourceBundle() { Map<String, Object> map = new HashMap<String, Object>(); map.put("a", "a"); map.put("b", "b"); return new MapResourceBundle(map); }
143144145146147148149
37383940414243
private static final List<MForm> CONNECTION_FORMS = new ArrayList<MForm>(); private static final List<MJobForms> JOB_FORMS = new ArrayList<MJobForms>(); @Override public ResourceBundle getBundle(Locale locale) { return new MapResourceBundle(new HashMap<String, Object>()); }
172173174175176177178
76777879808182
@SuppressWarnings("unchecked") public static ResourceBundle restoreResourceBundle(JSONObject json) { Map<String, Object> map = new HashMap<String, Object>(); map.putAll(json); return new MapResourceBundle(map); }