Skip to content

Commit

Permalink
Change String.append() method name to "add"
Browse files Browse the repository at this point in the history
  • Loading branch information
Gene Gleyzer committed Feb 8, 2024
1 parent 86cade5 commit 7715772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_ecstasy/src/main/x/ecstasy/text/String.x
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const String
*
* @return the concatenation of the String form of the passed object onto this String
*/
@Op("+") String! append(Object o) {
@Op("+") String! add(Object o) {
Int add = o.is(Stringable) ? o.estimateStringLength() : 0x0F;
StringBuffer buf = new StringBuffer(size + add);
return (buf + this + o).toString();
Expand Down

0 comments on commit 7715772

Please sign in to comment.