From a22b5535fea93ce6dbb053ff30ba43c40e09f489 Mon Sep 17 00:00:00 2001 From: wizjany Date: Fri, 8 Mar 2019 16:14:16 -0500 Subject: [PATCH] Shh checkstyle, I'm a C# dev now. --- .../src/main/java/com/sk89q/worldedit/WorldEdit.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/WorldEdit.java b/worldedit-core/src/main/java/com/sk89q/worldedit/WorldEdit.java index d9a9c6ddc..be68eff6e 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/WorldEdit.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/WorldEdit.java @@ -315,8 +315,7 @@ public final class WorldEdit { private File getSafeFileWithExtension(File dir, String filename, String extension) { if (extension != null) { int dot = filename.lastIndexOf('.'); - if (dot < 0 || !filename.substring(dot).equalsIgnoreCase(extension)) - { + if (dot < 0 || !filename.substring(dot).equalsIgnoreCase(extension)) { filename += "." + extension; } }