Skip to content

Commit b1c6c83

Browse files
author
Jim Procter
committed
fixup javascript patch for switch to native strings in java.text.SimpleDateFormat
1 parent a08bbdb commit b1c6c83

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
-516 KB
Binary file not shown.

sources/net.sf.j2s.java.core/src/java/text/SimpleDateFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ public Date parse(String text, ParsePosition pos) {
12571257
*
12581258
* @j2sNative
12591259
*
1260-
* var i0 = pos.index; pos.index = Math.min(80, text.length()); while
1260+
* var i0 = pos.index; pos.index = Math.min(80, text.length); while
12611261
* (pos.index >= i0) { var d = new Date(text.substring(i0,
12621262
* pos.index)); var x = d.getMilliseconds(); if (!isNaN(x))
12631263
* return d; pos.index--; }

0 commit comments

Comments
 (0)