/** Build the cache */ private void buildCache() { single.idMap = new HashMap<Integer, Object[]>(); single.nameMap = new HashMap<String, Integer>(); NodeList eventList = single.eventRoot.getElementsByTagName(EVENT); // FIXME: Temporary fix for Eclipse Bz 338270. Apparently // there is still some dead code due to opxml removal. for (int val = 0; val < eventList.getLength(); val++) { Element elem = (Element) eventList.item(val); String eventName = elem.getAttribute(EVENT_NAME); single.idMap.put(val, new Object[] {eventName, elem}); single.nameMap.put(eventName, val); } }