From 556ac7a67d1fe2da77819958060cb3c16eb72b08 Mon Sep 17 00:00:00 2001 From: filoghost Date: Tue, 4 Nov 2014 14:45:09 +0100 Subject: [PATCH] Make some fields private. --- .../internal/icon/command/DragonBarIconCommand.java | 4 ++-- .../internal/icon/command/GiveIconCommand.java | 4 ++-- .../internal/icon/command/GiveMoneyIconCommand.java | 4 ++-- .../internal/icon/command/SoundIconCommand.java | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/DragonBarIconCommand.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/DragonBarIconCommand.java index fb24d9b..46c14f6 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/DragonBarIconCommand.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/DragonBarIconCommand.java @@ -8,8 +8,8 @@ import com.gmail.filoghost.chestcommands.util.Utils; public class DragonBarIconCommand extends IconCommand { - String message; - int seconds; + private String message; + private int seconds; public DragonBarIconCommand(String command) { super(command); diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveIconCommand.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveIconCommand.java index d9aa889..e8eccb2 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveIconCommand.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveIconCommand.java @@ -10,8 +10,8 @@ import com.gmail.filoghost.chestcommands.util.ItemStackReader; public class GiveIconCommand extends IconCommand { - ItemStack itemToGive; - String errorMessage; + private ItemStack itemToGive; + private String errorMessage; public GiveIconCommand(String command) { super(command); diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveMoneyIconCommand.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveMoneyIconCommand.java index 411b468..46b6bec 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveMoneyIconCommand.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/GiveMoneyIconCommand.java @@ -9,8 +9,8 @@ import com.gmail.filoghost.chestcommands.util.Utils; public class GiveMoneyIconCommand extends IconCommand { - double moneyToGive; - String errorMessage; + private double moneyToGive; + private String errorMessage; public GiveMoneyIconCommand(String command) { super(command); diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/SoundIconCommand.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/SoundIconCommand.java index 693e944..8a3eda2 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/SoundIconCommand.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/internal/icon/command/SoundIconCommand.java @@ -9,10 +9,10 @@ import com.gmail.filoghost.chestcommands.util.Utils; public class SoundIconCommand extends IconCommand { - Sound sound; - float pitch; - float volume; - String errorMessage; + private Sound sound; + private float pitch; + private float volume; + private String errorMessage; public SoundIconCommand(String command) { super(command);