Skip to content

Commit 1eb4e77

Browse files
committed
formatting cleanup
1 parent 5abf9f0 commit 1eb4e77

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/main/java/lol/hyper/anarchystats/AnarchyStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ public void loadConfig() {
7878
}
7979
}
8080
}
81-
}
81+
}

src/main/java/lol/hyper/anarchystats/WorldSize.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
public class WorldSize {
1313

1414
public static Path world = null;
15-
public static Path nether= null;
16-
public static Path end= null;
15+
public static Path nether = null;
16+
public static Path end = null;
1717

1818
/**
1919
* Attempts to calculate the size of a file or directory.
2020
* Since the operation is non-atomic, the returned value may be inaccurate.
2121
* However, this method is quick and does its best.
22-
*
22+
* <p>
2323
* https://stackoverflow.com/a/19877372
2424
*/
2525
public static long getWorldSize(ArrayList<Path> paths) {
@@ -70,4 +70,4 @@ public static String readableFileSize(long size) {
7070
int digitGroups = (int) (Math.log10(size) / Math.log10(1024));
7171
return new DecimalFormat("#,##0.##").format(size / Math.pow(1024, digitGroups)) + " " + units[digitGroups];
7272
}
73-
}
73+
}

src/main/java/lol/hyper/anarchystats/commands/CommandReload.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class CommandReload implements TabExecutor {
1313

1414
private final AnarchyStats anarchyStats;
1515

16-
public CommandReload (AnarchyStats anarchyStats) {
16+
public CommandReload(AnarchyStats anarchyStats) {
1717
this.anarchyStats = anarchyStats;
1818
}
1919

@@ -39,4 +39,4 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
3939
public List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args) {
4040
return Collections.singletonList("reload");
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)