Skip to content

Commit 734181e

Browse files
committed
AbstractStringBuilder bug for Double toString
1 parent 3cb51ee commit 734181e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/java/lang/AbstractStringBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public void setCharAt(int index, char ch) {
421421
public AbstractStringBuilder append(Object obj) {
422422
/**
423423
* @j2sNative
424-
* this.秘s += obj;
424+
* this.秘s += (obj == null ? null : obj.toString());
425425
*/
426426
return this;
427427
}

0 commit comments

Comments
 (0)