mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
java warning and TODO cleanup in CostPart
This commit is contained in:
@@ -16,7 +16,7 @@ public abstract class CostPart {
|
|||||||
private boolean isUndoable = false;
|
private boolean isUndoable = false;
|
||||||
|
|
||||||
/** The optional. */
|
/** The optional. */
|
||||||
private boolean optional = false;
|
//private boolean optional = false;
|
||||||
|
|
||||||
/** The optional type. */
|
/** The optional type. */
|
||||||
private String optionalType = null;
|
private String optionalType = null;
|
||||||
@@ -218,37 +218,37 @@ public abstract class CostPart {
|
|||||||
public abstract void refund(Card source);
|
public abstract void refund(Card source);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param isReusable the isReusable to set
|
* @param isReusableIn the isReusable to set
|
||||||
*/
|
*/
|
||||||
public void setReusable(boolean isReusable) {
|
public void setReusable(boolean isReusableIn) {
|
||||||
this.isReusable = isReusable; // TODO: Add 0 to parameter's name.
|
this.isReusable = isReusableIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param amount the amount to set
|
* @param amountIn the amount to set
|
||||||
*/
|
*/
|
||||||
public void setAmount(String amount) {
|
public void setAmount(String amountIn) {
|
||||||
this.amount = amount; // TODO: Add 0 to parameter's name.
|
this.amount = amountIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param type the type to set
|
* @param typeIn the type to set
|
||||||
*/
|
*/
|
||||||
public void setType(String type) {
|
public void setType(String typeIn) {
|
||||||
this.type = type; // TODO: Add 0 to parameter's name.
|
this.type = typeIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param typeDescription the typeDescription to set
|
* @param typeDescriptionIn the typeDescription to set
|
||||||
*/
|
*/
|
||||||
public void setTypeDescription(String typeDescription) {
|
public void setTypeDescription(String typeDescriptionIn) {
|
||||||
this.typeDescription = typeDescription; // TODO: Add 0 to parameter's name.
|
this.typeDescription = typeDescriptionIn;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param isUndoable the isUndoable to set
|
* @param isUndoableIn the isUndoable to set
|
||||||
*/
|
*/
|
||||||
public void setUndoable(boolean isUndoable) {
|
public void setUndoable(boolean isUndoableIn) {
|
||||||
this.isUndoable = isUndoable; // TODO: Add 0 to parameter's name.
|
this.isUndoable = isUndoableIn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user