Changeset 240 for trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/commands/CMDloadSessionsFromClickstream.java
- Timestamp:
- 10/05/11 17:29:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/web/commands/CMDloadSessionsFromClickstream.java
r236 r240 8 8 import java.util.List; 9 9 10 import de.ugoe.cs.eventbench.CommandHelpers; 10 11 import de.ugoe.cs.eventbench.data.GlobalDataContainer; 11 12 import de.ugoe.cs.eventbench.web.WeblogParser; … … 88 89 if (GlobalDataContainer.getInstance().addData(sequencesName, 89 90 parser.getSequences())) { 90 Co nsole.traceln("Old data \"" + sequencesName + "\" overwritten");91 CommandHelpers.dataOverwritten(sequencesName); 91 92 } 92 93 if (generateFrequentUsers) { … … 95 96 .getFrequentUserSequences(); 96 97 for (int i = 0; i < frequentUserIDs.size(); i++) { 97 if (GlobalDataContainer.getInstance().addData(98 sequencesName + "_" + frequentUserIDs.get(i),98 String seqName = sequencesName + "_" + frequentUserIDs.get(i); 99 if (GlobalDataContainer.getInstance().addData(seqName, 99 100 frequentUserSessions.get(i))) { 100 Console.traceln("Old data \"" + sequencesName 101 + "\" overwritten"); 101 CommandHelpers.dataOverwritten(seqName); 102 102 } 103 103 }
Note: See TracChangeset
for help on using the changeset viewer.