- Timestamp:
- 10/05/11 17:29:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/commands/CMDupdateModel.java
r209 r240 5 5 import java.util.List; 6 6 7 import de.ugoe.cs.eventbench.CommandHelpers; 7 8 import de.ugoe.cs.eventbench.SequenceInstanceOf; 8 9 import de.ugoe.cs.eventbench.data.Event; … … 43 44 sequencesName); 44 45 if (dataObject == null) { 45 Console.println("Object " + sequencesName 46 + " not found in storage."); 46 CommandHelpers.objectNotFoundMessage(sequencesName); 47 47 return; 48 48 } 49 49 if (!SequenceInstanceOf.isCollectionOfSequences(dataObject)) { 50 Co nsole.println("Object " + sequencesName51 + "not of type Collection<List<Event<?>>>.");50 CommandHelpers.objectNotType(sequencesName, 51 "Collection<List<Event<?>>>"); 52 52 return; 53 53 } … … 56 56 dataObject = GlobalDataContainer.getInstance().getData(modelname); 57 57 if (dataObject == null) { 58 Co nsole.println("Object " + modelname + " not found in storage.");58 CommandHelpers.objectNotFoundMessage(modelname); 59 59 return; 60 60 } 61 61 if (!(dataObject instanceof TrieBasedModel)) { 62 Console.println("Object " + modelname 63 + " not of type TrieBasedModel"); 62 CommandHelpers.objectNotType(modelname, "TrieBasedModel"); 64 63 return; 65 64 }
Note: See TracChangeset
for help on using the changeset viewer.