Skip to content

Commit 21e928b

Browse files
committed
make if inal
1 parent 57c17cd commit 21e928b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Menu Configuration Manager/src/main/java/org/broken/arrow/library/menu/button/manager/utility/MenuButtonData.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,17 @@ public static MenuButtonData deserialize(final Map<String, Object> map) {
163163
}
164164

165165
final Object material = map.get("material");
166-
if(material != null) {
166+
if (material != null) {
167167
buttons.put("passive", map);
168168
}
169169

170-
Map<String, MenuButton> resolveCustomButton = new HashMap<>();
170+
final Map<String, MenuButton> resolveCustomButton = new HashMap<>();
171171
if (!buttons.isEmpty()) {
172172
buttons.forEach((key, value) -> resolveCustomButton.put(key, MenuButton.deserialize(value)));
173173
}
174-
String actionType = (String) map.get("action_type");
175-
Object extra = map.get("extra");
176-
List<String> extras;
174+
final String actionType = (String) map.get("action_type");
175+
final Object extra = map.get("extra");
176+
final List<String> extras;
177177
if (extra instanceof List) {
178178
extras = (List<String>) extra;
179179
} else {

0 commit comments

Comments
 (0)