style: 语句 lambda 替换为表达式 lambda

This commit is contained in:
zhangxun 2025-06-25 11:46:14 +08:00
parent bb5ba2218f
commit 6292cdc006

View File

@ -134,9 +134,7 @@ public final class OpHelper {
OPCODE_MAP = Collections.unmodifiableMap(map);
Map<Integer, String> revmap = new HashMap<>(); // reverse map
OPCODE_MAP.forEach((key, value) -> {
revmap.put(Integer.parseInt(value), key);
});
OPCODE_MAP.forEach((key, value) -> revmap.put(Integer.parseInt(value), key));
OPCODE_NAME_MAP = Collections.unmodifiableMap(revmap);
}