diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-06 12:04:37 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-06-06 12:04:37 +0000 |
commit | 6c862e72b5a0800770d45b33a52b7f613ef6a259 (patch) | |
tree | a7e226e5c4afaadfbc23febcdd73117ffd13bce8 | |
parent | 710088fb136fec68a89504cc3693e151be2c302e (diff) | |
download | Essentials-6c862e72b5a0800770d45b33a52b7f613ef6a259.tar Essentials-6c862e72b5a0800770d45b33a52b7f613ef6a259.tar.gz Essentials-6c862e72b5a0800770d45b33a52b7f613ef6a259.tar.lz Essentials-6c862e72b5a0800770d45b33a52b7f613ef6a259.tar.xz Essentials-6c862e72b5a0800770d45b33a52b7f613ef6a259.zip |
cleanup
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1592 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Settings.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 80f7615e4..25e2786d3 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -422,9 +422,9 @@ public class Settings implements IConf config.load(); } - public ArrayList itemSpawnBlacklist() + public List<Integer> itemSpawnBlacklist() { - ArrayList epItemSpwn = new ArrayList(); + final List<Integer> epItemSpwn = new ArrayList<Integer>(); for (String itemName : config.getString("item-spawn-blacklist", "").split(",")) { itemName = itemName.trim(); if (itemName.isEmpty()) { @@ -441,9 +441,9 @@ public class Settings implements IConf return epItemSpwn; } - public ArrayList<Integer> epBlockBreakingBlacklist() + public List<Integer> epBlockBreakingBlacklist() { - ArrayList<Integer> epBreakList = new ArrayList<Integer>(); + final List<Integer> epBreakList = new ArrayList<Integer>(); for (String itemName : config.getString("protect.blacklist.break", "").split(",")) { itemName = itemName.trim(); if (itemName.isEmpty()) { |