Skip to content

Commit 7ea7fda

Browse files
Update SimpleCalculator.java
1 parent 503ab90 commit 7ea7fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/SimpleCalculator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public Object parse(Registry<DataParser> myHomeRegistry, String str, Object... a
4040
if (str.equalsIgnoreCase("ans"))
4141
{
4242
if (args.length > 0)
43-
return args[0];
43+
return args[0]; //First arg is old answer!
4444
return null;
4545
}
4646
return CONTINUE;

0 commit comments

Comments
 (0)