Skip to content

Commit

Permalink
Make sure to replace all variables passed into the methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatrius committed Aug 21, 2014
1 parent ef0ef63 commit 4be95e1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,27 @@ public boolean isValid() {
}

protected String getValue(int index) {
return this.values.get(index).getValue();
return this.values.get(index).getReplacedValue();
}

protected int getIntValue() {
return Integer.parseInt(getValue());
return Integer.parseInt(getReplacedValue());
}

protected int getIntValue(int index) {
return Integer.parseInt(getValue(index));
}

protected double getDoubleValue() {
return Double.parseDouble(getValue());
return Double.parseDouble(getReplacedValue());
}

protected double getDoubleValue(int index) {
return Double.parseDouble(getValue(index));
}

protected boolean getBooleanValue() {
return Boolean.parseBoolean(getValue());
return Boolean.parseBoolean(getReplacedValue());
}

protected boolean getBooleanValue(int index) {
Expand Down

0 comments on commit 4be95e1

Please sign in to comment.