Changeset 830 for trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/TextInput.java
- Timestamp:
- 09/19/12 16:25:42 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/TextInput.java
r786 r830 2 2 package de.ugoe.cs.quest.eventcore.gui; 3 3 4 import java.util.Collections; 4 5 import java.util.List; 5 6 … … 138 139 /** 139 140 * <p> 140 * Returns the events of which this {@link TextInput} consists. 141 * Returns the events of which this {@link TextInput} consists. The returned list is immutable. 141 142 * </p> 142 143 * … … 144 145 */ 145 146 public List<Event> getTextInputEvents() { 146 // TODO should return an immutable view on the list 147 return textInputEvents; 147 return Collections.unmodifiableList(textInputEvents); 148 148 } 149 149
Note: See TracChangeset
for help on using the changeset viewer.