forked from pierront/rock-paper-scissors
update jenkins file and repo
This commit is contained in:
@@ -5,13 +5,14 @@ import fr.iut_fbleau.info.but3.automation.rock_paper_scissors.stat.domain.StatBo
|
||||
import fr.iut_fbleau.info.but3.automation.rock_paper_scissors.stat.spi.StatRepository;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Stub
|
||||
public record InMemoryStatRepository(Map<String, Integer> stats) implements StatRepository {
|
||||
|
||||
|
||||
private final static HashMap<String, Integer> DEFAULT_STATS = new HashMap<>(Map.of("joe", 1,"eoj", 3));
|
||||
private final static HashMap<String, Integer> DEFAULT_STATS = new LinkedHashMap<>(Map.of("joe", 1,"eoj", 3));
|
||||
|
||||
public InMemoryStatRepository() {
|
||||
this(DEFAULT_STATS);
|
||||
|
||||
Reference in New Issue
Block a user