refactor: remove unnecessary semicolons

This commit is contained in:
Breno A. 2024-06-09 08:56:58 -03:00
parent c3eafba072
commit 029ef823e1
4 changed files with 3 additions and 6 deletions

View File

@ -837,7 +837,6 @@ public final class ResourceLoader {
try { try {
JsonUtils.loadToList(getResourcePath("Server/SubfieldMapping.json"), SubfieldMapping.class) JsonUtils.loadToList(getResourcePath("Server/SubfieldMapping.json"), SubfieldMapping.class)
.forEach(entry -> subfieldMap.put(entry.getEntityId(), entry)); .forEach(entry -> subfieldMap.put(entry.getEntityId(), entry));
;
} catch (IOException | NullPointerException ignored) { } catch (IOException | NullPointerException ignored) {
} }
Grasscutter.getLogger().debug("Loaded {} subfield mappings.", subfieldMap.size()); Grasscutter.getLogger().debug("Loaded {} subfield mappings.", subfieldMap.size());
@ -851,7 +850,6 @@ public final class ResourceLoader {
JsonUtils.loadToList( JsonUtils.loadToList(
getResourcePath("Server/DropSubfieldMapping.json"), DropSubfieldMapping.class) getResourcePath("Server/DropSubfieldMapping.json"), DropSubfieldMapping.class)
.forEach(entry -> dropSubfieldMap.put(entry.getDropId(), entry)); .forEach(entry -> dropSubfieldMap.put(entry.getDropId(), entry));
;
} catch (IOException | NullPointerException ignored) { } catch (IOException | NullPointerException ignored) {
} }
Grasscutter.getLogger().debug("Loaded {} drop subfield mappings.", dropSubfieldMap.size()); Grasscutter.getLogger().debug("Loaded {} drop subfield mappings.", dropSubfieldMap.size());
@ -866,7 +864,6 @@ public final class ResourceLoader {
getResourcePath("Server/DropTableExcelConfigData.json"), getResourcePath("Server/DropTableExcelConfigData.json"),
DropTableExcelConfigData.class) DropTableExcelConfigData.class)
.forEach(entry -> dropTableExcelConfigDataMap.put(entry.getId(), entry)); .forEach(entry -> dropTableExcelConfigDataMap.put(entry.getId(), entry));
;
} catch (IOException | NullPointerException ignored) { } catch (IOException | NullPointerException ignored) {
} }
Grasscutter.getLogger() Grasscutter.getLogger()

View File

@ -13,7 +13,7 @@ public class AbilityMixinData implements Serializable {
AttachToGadgetStateMixin, AttachToGadgetStateMixin,
AttachToStateIDMixin, AttachToStateIDMixin,
ShieldBarMixin, ShieldBarMixin,
TileAttackManagerMixin; TileAttackManagerMixin
} }
@SerializedName("$type") @SerializedName("$type")

View File

@ -264,7 +264,7 @@ public class AbilityModifier implements Serializable {
TurnDirectionToPos, TurnDirectionToPos,
UpdateReactionDamage, UpdateReactionDamage,
UseSkillEliteSet, UseSkillEliteSet,
WidgetSkillStart; WidgetSkillStart
} }
@SerializedName("$type") @SerializedName("$type")

View File

@ -10,7 +10,7 @@ public class TalentData implements Serializable {
ModifySkillCD, ModifySkillCD,
UnlockTalentParam, UnlockTalentParam,
AddTalentExtraLevel, AddTalentExtraLevel,
ModifyAbility; ModifyAbility
} }
@SerializedName("$type") @SerializedName("$type")