Explorar o código

Minor cleanup

bm01 %!s(int64=12) %!d(string=hai) anos
pai
achega
2356fda67a

+ 6 - 2
src/main/java/com/gmail/nossr50/database/Database.java

@@ -71,10 +71,14 @@ public final class Database {
             mcMMO.p.getLogger().info("Connection to MySQL was a success!");
         } catch (SQLException ex) {
             connection = null;
-            if (reconnectAttempt == 0 || reconnectAttempt >= 11) mcMMO.p.getLogger().info("Connection to MySQL failed!");
+            if (reconnectAttempt == 0 || reconnectAttempt >= 11) {
+                mcMMO.p.getLogger().info("Connection to MySQL failed!");
+            }
         } catch (ClassNotFoundException ex) {
             connection = null;
-            if (reconnectAttempt == 0 || reconnectAttempt >= 11) mcMMO.p.getLogger().info("MySQL database driver not found!");
+            if (reconnectAttempt == 0 || reconnectAttempt >= 11) {
+                mcMMO.p.getLogger().info("MySQL database driver not found!");
+            }
         }
     }
 

+ 1 - 1
src/main/java/com/gmail/nossr50/skills/Combat.java

@@ -48,7 +48,7 @@ import com.gmail.nossr50.util.Users;
 public final class Combat {
     private static Config configInstance = Config.getInstance();
 
-    private Combat() {};
+    private Combat() {}
 
     /**
      * Apply combat modifiers and process and XP gain.