mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 14:44:26 +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 {
|
public void readStringList(List<String> list) throws AndrolibException {
|
||||||
readList(list,
|
readList(list, (items, reader) -> items.add(reader.getLine().getValue()));
|
||||||
(items, reader) -> {
|
}
|
||||||
items.add(reader.getLine().getValue());
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
public void readIntList(List<Integer> list) throws AndrolibException {
|
public void readIntList(List<Integer> list) throws AndrolibException {
|
||||||
readList(list,
|
readList(list, (items, reader) -> items.add(reader.getLine().getValueInt()));
|
||||||
(items, reader) -> {
|
}
|
||||||
items.add(reader.getLine().getValueInt());
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
public void readMap(Map<String, String> map) throws AndrolibException {
|
public void readMap(Map<String, String> map) throws AndrolibException {
|
||||||
readObject(map,
|
readObject(map,
|
||||||
@ -216,5 +210,5 @@ public class YamlReader {
|
|||||||
YamlLine line = reader.getLine();
|
YamlLine line = reader.getLine();
|
||||||
items.put(line.getKey(), line.getValue());
|
items.put(line.getKey(), line.getValue());
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user