mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 06:34:25 +02:00
refactor: remove unneeded blocks/semicolons (#3273)
This commit is contained in:
parent
225c9089d9
commit
fedc754a78
@ -196,18 +196,12 @@ public class YamlReader {
|
||||
}
|
||||
|
||||
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,
|
||||
@ -216,5 +210,5 @@ public class YamlReader {
|
||||
YamlLine line = reader.getLine();
|
||||
items.put(line.getKey(), line.getValue());
|
||||
});
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user