Changeset 48 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/structures
- Timestamp:
- 08/08/2017 09:54:36 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/scriptbuilder/structures/TimeSlice.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/structures/TimeSlice.java
r47 r48 223 223 output += thisIncident.name + XMLWriter.closeTag(ELEMENT.INCIDENT.tag); 224 224 225 if ( cadData.hasCadData() || containsCADIncidentEvent())225 if ((cadData != null && cadData.hasCadData()) || containsCADIncidentEvent()) 226 226 { 227 227 output += XMLWriter.openTag(ELEMENT.CAD_DATA.tag); 228 output += cadData.toXML(); 228 if (cadData != null) 229 { 230 output += cadData.toXML(); 231 } 229 232 230 233 if (containsCADIncidentEvent()) … … 251 254 } 252 255 253 if (cadData .hasGeneralInfo())256 if (cadData != null && cadData.hasGeneralInfo()) 254 257 { 255 258 output += XMLWriter.openTag(ELEMENT.GENERAL_INFO.tag);
Note: See TracChangeset
for help on using the changeset viewer.
