Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion core/src/main/java/org/jruby/util/ConvertDouble.java
Original file line number Diff line number Diff line change
@@ -164,7 +164,12 @@ private boolean strictError() {
}
}

public double parse(ByteList list, boolean strict) {
/**
* Everything runs in 1.9+ mode now, so the `is19` parameter is vestigial.
* However, in order to maintain binary compatibility with extensions we can't
* just change the signature either.
*/
public double parse(ByteList list, boolean strict, boolean is19) {
init(list, strict);

if (skipWhitespace()) return completeCalculation();

0 comments on commit 98ed266

Please sign in to comment.