Fix Java parser
This commit is contained in:
parent
7a9aacb3a1
commit
c13a1c7223
@ -70,7 +70,7 @@ public class HostsParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean inRange(int id) {
|
public boolean inRange(int id) {
|
||||||
return id < hosts.size();
|
return id <= hosts.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<Host> getHosts() {
|
public List<Host> getHosts() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user