Skip to content

Commit

Permalink
Merge pull request radkovo#23 from ChristophKaser/bugfix_termintegerimpl
Browse files Browse the repository at this point in the history
Don't ignore operator in TermIntegerImpl.toString()
  • Loading branch information
radkovo committed Mar 11, 2015
2 parents 1826746 + 356f393 commit 431c88c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/cz/vutbr/web/csskit/TermIntegerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public TermInteger setValue(int value) {
@Override
public String toString()
{
if (operator != null)
return operator.value() + getIntValue();
return String.valueOf(getIntValue());
}

Expand Down

0 comments on commit 431c88c

Please sign in to comment.