Changeset 766 for trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/TrieNode.java
- Timestamp:
- 09/04/12 17:15:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-usageprofiles/src/main/java/de/ugoe/cs/quest/usageprofiles/TrieNode.java
r655 r766 2 2 3 3 import java.io.Serializable; 4 import java.security.InvalidParameterException;5 4 import java.util.Collection; 6 5 import java.util.LinkedList; … … 78 77 TrieNode(T symbol) { 79 78 if (symbol == null) { 80 throw new I nvalidParameterException(79 throw new IllegalArgumentException( 81 80 "symbol must not be null. null is reserved for root node!"); 82 81 } … … 95 94 TrieNode(TrieNode<T> other) { 96 95 if (other == null) { 97 throw new I nvalidParameterException("other must not be null");96 throw new IllegalArgumentException("other must not be null"); 98 97 } 99 98 symbol = other.symbol;
Note: See TracChangeset
for help on using the changeset viewer.