Skip to content

Commit

Permalink
A few missing files in the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed Mar 14, 2014
1 parent c4793e8 commit dd10d11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions junit/jrds/Tools.java
Expand Up @@ -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;
Expand Down Expand Up @@ -233,6 +233,8 @@ static public final Map<String, Timer> getSimpleTimerMap() {
ti.step = 300;
ti.timeout = 10;
Timer t = new Timer(Timer.DEFAULTNAME, ti);
return Collections.singletonMap(t.getName(), t);
Map<String, Timer> timerMap = new HashMap<String, Timer>(1);
timerMap.put(t.getName(), t);
return timerMap;
}
}
7 changes: 5 additions & 2 deletions junit/ressources/fullhost.xml
@@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE host PUBLIC "-//jrds//DTD Host//EN"
"urn:jrds:host">
<host name="myhost" dnsName="fqnd.jrds.fr">
<host name="myhost" dnsName="fqdn.jrds.fr">
<tag>a tag</tag>
<snmp community="public" version="2" />
<connection type="jrds.snmp.SnmpConnection">
<attr name="community">public</attr>
<attr name="version">2</attr>
</connection>
<connection type="connection1">
<attr name="community">public</attr>
<attr name="version">2</attr>
Expand Down

0 comments on commit dd10d11

Please sign in to comment.