From: Martin F. <mar...@us...> - 2011-03-28 21:59:02
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/script In directory vz-cvs-4.sog:/tmp/cvs-serv13998/src/games/stendhal/server/script Modified Files: DumpConditions.java Log Message: use Collection<> instead of Set<> Index: DumpConditions.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/script/DumpConditions.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** DumpConditions.java 29 Dec 2010 20:52:00 -0000 1.9 --- DumpConditions.java 28 Mar 2011 21:59:00 -0000 1.10 *************** *** 12,15 **** --- 12,16 ---- import games.stendhal.server.entity.player.Player; + import java.util.Collection; import java.util.HashSet; import java.util.List; *************** *** 45,49 **** for (final ConversationStates state : states) { ! final Set<Expression> triggers = transitions.getTriggersForState(state); for (final Expression trigger : triggers) { final List<Transition> trans = transitions.getTransitionsForStateAndTrigger( --- 46,50 ---- for (final ConversationStates state : states) { ! final Collection<Expression> triggers = transitions.getTriggersForState(state); for (final Expression trigger : triggers) { final List<Transition> trans = transitions.getTransitionsForStateAndTrigger( |