From 22d73fa74d4cbb6e7bceb2903f21fbfa9e277aa3 Mon Sep 17 00:00:00 2001 From: filoghost Date: Thu, 11 Dec 2014 17:15:29 +0100 Subject: [PATCH] Cleanup --- .../filoghost/chestcommands/config/AsciiPlaceholders.java | 4 +++- .../gmail/filoghost/chestcommands/internal/RequiredItem.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java index cc4ce88..c6a808d 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/config/AsciiPlaceholders.java @@ -12,7 +12,9 @@ import com.gmail.filoghost.chestcommands.ChestCommands; import com.gmail.filoghost.chestcommands.util.ErrorLogger; import com.gmail.filoghost.chestcommands.util.Utils; -// This is not a real YAML file ;) +/** + * This is not a real YAML file ;) + */ public class AsciiPlaceholders { private static Map placeholders = Utils.newHashMap(); diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java index c69a2a1..0ed3679 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/RequiredItem.java @@ -38,7 +38,7 @@ public class RequiredItem { } public void setRestrictiveDataValue(short data) { - Validate.isTrue(data >= 0, "Data value cannot be lower than 0"); + Validate.isTrue(data >= 0, "Data value cannot be negative"); this.dataValue = data; isDurabilityRestrictive = true;