Changeset 965 for trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java
- Timestamp:
- 11/07/12 11:59:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java
r963 r965 78 78 * </p> 79 79 */ 80 private LongcurrentComponentHash;80 private Integer currentComponentHash; 81 81 82 82 /** … … 86 86 * </p> 87 87 */ 88 private LongcurrentParentHash;88 private Integer currentParentHash; 89 89 90 90 /** … … 93 93 * </p> 94 94 */ 95 private LongcurrentEventSource;95 private Integer currentEventSource; 96 96 97 97 /** … … 312 312 } 313 313 else if (qName.equals("component")) { 314 currentComponentHash = Long.parseLong(atts.getValue("hash"), 16);314 currentComponentHash = (int) Long.parseLong(atts.getValue("hash"), 16); 315 315 currentGuiElementSpec = new JFCGUIElementSpec(); 316 316 currentGuiElementSpec.setElementHash((int) currentComponentHash.longValue()); … … 324 324 } 325 325 else if (qName.equals("componentNameChange")) { 326 Long sourceHash =Long.parseLong(atts.getValue("hash"), 16);326 int sourceHash = (int) Long.parseLong(atts.getValue("hash"), 16); 327 327 String newName = atts.getValue("newName"); 328 328 int titleSource = Integer.parseInt(atts.getValue("titleSource")); … … 334 334 if (currentEventId != null){ 335 335 if ("source".equals(atts.getValue("name"))){ 336 currentEventSource = Long.parseLong(atts.getValue("value"), 16);336 currentEventSource = (int) Long.parseLong(atts.getValue("value"), 16); 337 337 } 338 338 currentEventParameters.put(atts.getValue("name"), atts.getValue("value")); … … 351 351 } 352 352 else if ("parent".equals(atts.getValue("name"))) { 353 currentParentHash = Long.parseLong(atts.getValue("value"), 16);353 currentParentHash = (int) Long.parseLong(atts.getValue("value"), 16); 354 354 } 355 355 } … … 378 378 } 379 379 else if (qName.equals("component") && currentComponentHash != null) { 380 currentComponentTree.add(current ParentHash, currentComponentHash, currentGuiElementSpec);380 currentComponentTree.add(currentComponentHash, currentParentHash, currentGuiElementSpec); 381 381 // do something with the ancestor list here 382 382
Note: See TracChangeset
for help on using the changeset viewer.