Changeset 316
- Timestamp:
- 12/14/11 13:44:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/Trie.java
r258 r316 250 250 */ 251 251 public List<T> getContextSuffix(List<T> context) { 252 List<T> contextSuffix = new LinkedList<T>(context); // defensive copy 252 List<T> contextSuffix; 253 if( context!=null ) { 254 contextSuffix = new LinkedList<T>(context); // defensive copy 255 } else { 256 contextSuffix = new LinkedList<T>(); 257 } 253 258 boolean suffixFound = false; 254 259
Note: See TracChangeset
for help on using the changeset viewer.