diff --git a/junit/jrds/Tools.java b/junit/jrds/Tools.java index 347e1ae27..dd1994a10 100644 --- a/junit/jrds/Tools.java +++ b/junit/jrds/Tools.java @@ -6,7 +6,7 @@ import java.io.InputStream; import java.net.URI; import java.util.ArrayList; -import java.util.Collections; +import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; @@ -233,6 +233,8 @@ static public final Map getSimpleTimerMap() { ti.step = 300; ti.timeout = 10; Timer t = new Timer(Timer.DEFAULTNAME, ti); - return Collections.singletonMap(t.getName(), t); + Map timerMap = new HashMap(1); + timerMap.put(t.getName(), t); + return timerMap; } } diff --git a/junit/ressources/fullhost.xml b/junit/ressources/fullhost.xml index 5c0af1880..aaddfbc8c 100644 --- a/junit/ressources/fullhost.xml +++ b/junit/ressources/fullhost.xml @@ -1,9 +1,12 @@ - + a tag - + + public + 2 + public 2