diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-31 23:57:19 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-05-31 23:57:19 +0200 |
commit | c7a3c9fa4c6dcb834cc74a1b47b1fee1f3a69da5 (patch) | |
tree | 58dbf14ce45f9636d938a4155ab8c79ff09240d4 | |
parent | 996892670dc15cf61123d47f4a6b78e945f636d4 (diff) | |
download | JRummikub-c7a3c9fa4c6dcb834cc74a1b47b1fee1f3a69da5.tar JRummikub-c7a3c9fa4c6dcb834cc74a1b47b1fee1f3a69da5.zip |
More visibilty fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@370 72836036-5685-4462-b002-a69064685172
-rw-r--r-- | src/jrummikub/control/AIUtil.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jrummikub/control/AIUtil.java b/src/jrummikub/control/AIUtil.java index 393aa95..92412b2 100644 --- a/src/jrummikub/control/AIUtil.java +++ b/src/jrummikub/control/AIUtil.java @@ -263,7 +263,7 @@ public class AIUtil { return result;
}
- static void incrementStoneCount(
+ private static void incrementStoneCount(
TreeMap<Pair<Integer, StoneColor>, Integer> stones,
Pair<Integer, StoneColor> stone) {
if (stones.containsKey(stone)) {
@@ -273,7 +273,7 @@ public class AIUtil { }
}
- static void decrementStoneCount(
+ private static void decrementStoneCount(
TreeMap<Pair<Integer, StoneColor>, Integer> stones,
Pair<Integer, StoneColor> stone) {
int count = stones.get(stone);
@@ -286,7 +286,7 @@ public class AIUtil { }
}
- StoneColor getNextColor(StoneColor color) {
+ private StoneColor getNextColor(StoneColor color) {
int index = stoneColors.indexOf(color) + 1;
if (index >= stoneColors.size()) {
return null;
|