From: Erik V. <ev...@us...> - 2008-12-03 20:15:23
|
Update of /cvsroot/rails/18xx/rails/game/action In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4937/rails/game/action Modified Files: StartItemAction.java BidStartItem.java LayTile.java BuyStartItem.java Log Message: Cleanups Index: BuyStartItem.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/action/BuyStartItem.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BuyStartItem.java 2 Dec 2008 20:29:15 -0000 1.3 --- BuyStartItem.java 3 Dec 2008 20:15:15 -0000 1.4 *************** *** 77,84 **** } - public int getStatus() { - return startItem.getStatus(); - } - public boolean equals(PossibleAction action) { if (!(action instanceof BuyStartItem)) return false; --- 77,80 ---- Index: StartItemAction.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/action/StartItemAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** StartItemAction.java 4 Jun 2008 19:00:29 -0000 1.3 --- StartItemAction.java 3 Dec 2008 20:15:15 -0000 1.4 *************** *** 45,52 **** } - /** @deprecated */ - @Deprecated public int getStatus() { - // if (startItem == null) return 0;//BAD return startItem.getStatus(); } --- 45,49 ---- Index: LayTile.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/action/LayTile.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** LayTile.java 2 Dec 2008 20:29:15 -0000 1.14 --- LayTile.java 3 Dec 2008 20:15:15 -0000 1.15 *************** *** 177,192 **** } - /** - * @deprecated - * @return Returns the location. - */ - public MapHex getLocation() { - if (locations != null) { - return locations.get(0); - } else { - return null; - } - } - public List<MapHex> getLocations() { return locations; --- 177,180 ---- Index: BidStartItem.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/action/BidStartItem.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BidStartItem.java 2 Dec 2008 20:29:15 -0000 1.3 --- BidStartItem.java 3 Dec 2008 20:15:15 -0000 1.4 *************** *** 69,76 **** } - public int getStatus() { - return startItem.getStatus(); - } - public boolean equals(PossibleAction action) { if (!(action instanceof BidStartItem)) return false; --- 69,72 ---- |