Skip to content

Commit

Permalink
Merge branch 'iBotPeaches:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
b4byhuey authored Aug 17, 2023
2 parents 57f967d + fedc754 commit a528fba
Showing 1 changed file with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,12 @@ public <T> void readList(List<T> list,
}

public void readStringList(List<String> list) throws AndrolibException {
readList(list,
(items, reader) -> {
items.add(reader.getLine().getValue());
});
};
readList(list, (items, reader) -> items.add(reader.getLine().getValue()));
}

public void readIntList(List<Integer> list) throws AndrolibException {
readList(list,
(items, reader) -> {
items.add(reader.getLine().getValueInt());
});
};
readList(list, (items, reader) -> items.add(reader.getLine().getValueInt()));
}

public void readMap(Map<String, String> map) throws AndrolibException {
readObject(map,
Expand All @@ -216,5 +210,5 @@ public void readMap(Map<String, String> map) throws AndrolibException {
YamlLine line = reader.getLine();
items.put(line.getKey(), line.getValue());
});
};
}
}

0 comments on commit a528fba

Please sign in to comment.