Changeset 685 for DCWoRMS/trunk/src/simulator/workload/WorkloadLoader.java
- Timestamp:
- 11/30/12 13:15:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/src/simulator/workload/WorkloadLoader.java
r490 r685 53 53 54 54 protected Date simulationStartTime; 55 protected boolean simStartTimeDefined = true; 55 56 56 57 protected XsltTransformations xsltTransformation = null; … … 214 215 simulationStartTime = df.parse(this.localWAParser.getCommentValue(WAFields.COMMENT_STARTTIME)); 215 216 } catch (NoSuchCommentException e){ 217 simStartTimeDefined = false; 216 218 simulationStartTime = new Date(0); 217 219 if(log.isWarnEnabled()) 218 220 log.warn("Assuming default simulation start time - "+simulationStartTime); 219 221 } catch (ParseException e) { 222 simStartTimeDefined = false; 220 223 simulationStartTime = new Date(0); 221 224 if(log.isWarnEnabled()) … … 242 245 return list; 243 246 } 247 248 public boolean isSimStartTimeDefined() { 249 return simStartTimeDefined; 250 } 244 251 245 252 }
Note: See TracChangeset
for help on using the changeset viewer.