From 982c2e6e2baf20eace331c19f6aef91b29e3c773 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 10 May 2011 16:31:09 +0200 Subject: =?UTF-8?q?Rechtschreibfehler=20und=20=C3=BCberfl=C3=BCssige=20pic?= =?UTF-8?q?kUp(position)=20Klasse=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@227 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/model/MockHand.java | 11 ++++------- mock/jrummikub/model/MockTable.java | 7 +------ 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'mock/jrummikub') diff --git a/mock/jrummikub/model/MockHand.java b/mock/jrummikub/model/MockHand.java index dc348c0..d262c87 100644 --- a/mock/jrummikub/model/MockHand.java +++ b/mock/jrummikub/model/MockHand.java @@ -7,6 +7,7 @@ import java.util.List; import java.util.Set; import jrummikub.util.Pair; + /** * Mock class for {@link Hand} */ @@ -14,15 +15,10 @@ public class MockHand implements IHand { /** */ public List> stones = new ArrayList>(); /** */ - public Set pickups = new HashSet(); + public Set pickups = new HashSet(); /** */ public Iterable> iterable; - @Override - public Stone pickUp(Position position) { - return null; - } - @Override public void drop(Stone object, Position position) { stones.add(new Pair(object, position)); @@ -36,7 +32,8 @@ public class MockHand implements IHand { @Override public boolean pickUp(Stone object) { - List> itList = new ArrayList>(stones); + List> itList = new ArrayList>( + stones); for (Pair entry : itList) { if (entry.getFirst() == object) { stones.remove(entry); diff --git a/mock/jrummikub/model/MockTable.java b/mock/jrummikub/model/MockTable.java index 0ff041e..39535ec 100644 --- a/mock/jrummikub/model/MockTable.java +++ b/mock/jrummikub/model/MockTable.java @@ -7,6 +7,7 @@ import java.util.List; import java.util.Map; import jrummikub.util.Pair; + /** * Mock class for {@link Table} */ @@ -31,12 +32,6 @@ public class MockTable implements ITable { return valid; } - @Override - public StoneSet pickUp(Position position) { - // TODO Auto-generated method stub - return null; - } - @Override public void drop(StoneSet object, Position position) { sets.add(new Pair(object, position)); -- cgit v1.2.3