Skip to content

Commit

Permalink
Merge PR #269: Fixes potential NullPointerException in ExpressionNode…
Browse files Browse the repository at this point in the history
…::toString
  • Loading branch information
smarr committed Sep 11, 2018
2 parents e7c95a9 + 5719ed3 commit f2a5855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/som/interpreter/nodes/ExpressionNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ public WrapperNode createWrapper(final ProbeNode probe) {

@Override
public String toString() {
return getClass().getSimpleName() + "(" + sourceSection.toString() + ")";
return getClass().getSimpleName() + "(" + String.valueOf(sourceSection) + ")";
}
}

0 comments on commit f2a5855

Please sign in to comment.