Update of /cvsroot/rails/18xx/rails/game
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5638/rails/game
Modified Files:
PrivateCompany.java
Log Message:
Minor change
Index: PrivateCompany.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/game/PrivateCompany.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** PrivateCompany.java 4 Feb 2010 21:27:58 -0000 1.33
--- PrivateCompany.java 5 Feb 2010 19:55:44 -0000 1.34
***************
*** 56,60 ****
blockedHexesString =
blockedTag.getAttributeAsString("hex");
! infoText += "<br>Blocking "+blockedHexesString;
}
--- 56,60 ----
blockedHexesString =
blockedTag.getAttributeAsString("hex");
! infoText += "<br>Blocking: "+blockedHexesString;
}
***************
*** 116,120 ****
for (Tag preventTag: preventTags) {
String conditionText = preventTag.getAttributeAsString("condition");
! if (conditionText != null) {
preventClosingConditions.add(conditionText);
}
--- 116,120 ----
for (Tag preventTag: preventTags) {
String conditionText = preventTag.getAttributeAsString("condition");
! if (conditionText != null) {
preventClosingConditions.add(conditionText);
}
***************
*** 195,199 ****
}
// end: sfy 1889
!
/**
* @return Phase this Private closes
--- 195,199 ----
}
// end: sfy 1889
!
/**
* @return Phase this Private closes
***************
*** 242,248 ****
/* start sfy 1889 */
public boolean isCloseable() {
!
if (preventClosingConditions.isEmpty()) return true;
!
if (preventClosingConditions.contains("doesNotClose")) {
log.debug("Private Company "+getName()+" does not close (unconditional).");
--- 242,248 ----
/* start sfy 1889 */
public boolean isCloseable() {
!
if (preventClosingConditions.isEmpty()) return true;
!
if (preventClosingConditions.contains("doesNotClose")) {
log.debug("Private Company "+getName()+" does not close (unconditional).");
***************
*** 260,264 ****
}
/* end sfy 1889 */
!
/**
* @param i
--- 260,264 ----
}
/* end sfy 1889 */
!
/**
* @param i
|