Implemented: Ignore dropping of null on StoneTrays
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@89 72836036-5685-4462-b002-a69064685172
This commit is contained in:
parent
7ef7a4ce21
commit
760f914494
1 changed files with 3 additions and 1 deletions
|
@ -67,7 +67,9 @@ public class StoneTray<E extends Sizeable> implements
|
||||||
* {@link Position} to put the object
|
* {@link Position} to put the object
|
||||||
*/
|
*/
|
||||||
public void drop(E object, Position position) {
|
public void drop(E object, Position position) {
|
||||||
drop(object, position, null);
|
if (object != null) {
|
||||||
|
drop(object, position, null);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
|
Reference in a new issue