mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8264029: Replace uses of StringBuffer with StringBuilder in java.base
Reviewed-by: shade
This commit is contained in:
parent
019080e470
commit
fbbd98ba53
3 changed files with 9 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1845,7 +1845,7 @@ abstract class MethodHandleImpl {
|
|||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuffer sb = new StringBuffer("LoopClauses -- ");
|
||||
StringBuilder sb = new StringBuilder("LoopClauses -- ");
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
if (i > 0) {
|
||||
sb.append(" ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue