refactor: replace statement with expression lambda

This commit is contained in:
Breno A.
2024-06-09 09:15:22 -03:00
Unverified
parent c7119aae68
commit fcd409320d
22 changed files with 118 additions and 176 deletions
@@ -16,9 +16,7 @@ public enum ItemUseTarget {
static {
Stream.of(values())
.forEach(
e -> {
map.put(e.getValue(), e);
});
e -> map.put(e.getValue(), e));
}
private final int value;