mirror of
https://github.com/seppukudevelopment/seppuku
synced 2025-01-12 01:49:41 +00:00
Replace function lambda with expression lambda
This commit is contained in:
parent
c08dbdf4ab
commit
757475543f
@ -34,9 +34,7 @@ public final class IgnoreConfig extends Configurable {
|
||||
public void onSave() {
|
||||
JsonObject save = new JsonObject();
|
||||
JsonArray ignoredJsonArray = new JsonArray();
|
||||
Seppuku.INSTANCE.getIgnoredManager().getIgnoredList().forEach(ignored -> {
|
||||
ignoredJsonArray.add(ignored.getName());
|
||||
});
|
||||
Seppuku.INSTANCE.getIgnoredManager().getIgnoredList().forEach(ignored -> ignoredJsonArray.add(ignored.getName()));
|
||||
save.add("Ignored", ignoredJsonArray);
|
||||
this.saveJsonObjectToFile(save);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user