We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb66de commit 31f3fd6Copy full SHA for 31f3fd6
simulation/Simulation.java
@@ -269,7 +269,7 @@ public static <C extends Collection<Scenario>> ArrayList<Scenario> purify_forest
269
*
270
* @return created hand, backed ({@link ArrayList#subList(int, int)}) by the original deck
271
*/
272
- public synchronized static <R extends Reservable> ArrayList<R> draw_hand(final int HAND_SIZE, final ArrayList<R> DECK)
+ public static <R extends Reservable> ArrayList<R> draw_hand(final int HAND_SIZE, final ArrayList<R> DECK)
273
{
274
Collections.shuffle(DECK);
275
return new ArrayList<R>(DECK.subList(0, HAND_SIZE));
0 commit comments