Skip to content

Commit 5a688d2

Browse files
committed
reformat code
1 parent ffe7bc9 commit 5a688d2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/i18nupdatemod/I18nUpdateMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static void init(Path minecraftPath, String minecraftVersion, String load
9292

9393
//Convert resourcepack
9494
LoadDetailUI.setStage(LoadStage.CONVERT_RESOURCE_PACK);
95-
if (shouldShutdown){
95+
if (shouldShutdown) {
9696
return;
9797
}
9898
if (!convertNotNeed) {

src/main/java/i18nupdatemod/core/LoadDetailUI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public static void hide() {
117117
SwingUtilities.invokeLater(() -> gui.frame.setVisible(false));
118118
}
119119

120-
private void shutdown(){
120+
private void shutdown() {
121121
I18nUpdateMod.shouldShutdown = true;
122122
Log.info("User shutdown task");
123123
if (!useGUI) {

src/main/java/i18nupdatemod/entity/LoadStage.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ public enum LoadStage {
66
CONVERT_RESOURCE_PACK(2),
77
APPLY_RESOURCE_PACK(3),
88
FINISH(4);
9-
9+
1010
private final int value;
11-
11+
1212
LoadStage(int value) {
1313
this.value = value;
1414
}
15-
15+
1616
public int getValue() {
1717
return value;
1818
}

0 commit comments

Comments
 (0)