summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/swing/JToolBar.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/JToolBar.java')
-rw-r--r--libjava/classpath/javax/swing/JToolBar.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/classpath/javax/swing/JToolBar.java b/libjava/classpath/javax/swing/JToolBar.java
index fe4d2ae2046..33ebcfcaf89 100644
--- a/libjava/classpath/javax/swing/JToolBar.java
+++ b/libjava/classpath/javax/swing/JToolBar.java
@@ -38,6 +38,8 @@ exception statement from your version. */
package javax.swing;
+import gnu.java.lang.CPStringBuilder;
+
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
@@ -766,7 +768,7 @@ public class JToolBar extends JComponent implements SwingConstants, Accessible
*/
protected String paramString()
{
- StringBuffer sb = new StringBuffer(super.paramString());
+ CPStringBuilder sb = new CPStringBuilder(super.paramString());
sb.append(",floatable=").append(floatable);
sb.append(",margin=");
if (margin != null)
OpenPOWER on IntegriCloud