diff options
Diffstat (limited to 'examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/layoutexample/GridLayoutTab.java')
-rw-r--r-- | examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/layoutexample/GridLayoutTab.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/layoutexample/GridLayoutTab.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/layoutexample/GridLayoutTab.java index 33e123e311..941287bd6c 100644 --- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/layoutexample/GridLayoutTab.java +++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/layoutexample/GridLayoutTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. + * Copyright (c) 2000, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -369,8 +369,8 @@ class GridLayoutTab extends Tab { * Generates code for the example layout. */ @Override - StringBuffer generateLayoutCode () { - StringBuffer code = new StringBuffer (); + StringBuilder generateLayoutCode () { + StringBuilder code = new StringBuilder (); code.append ("\t\tGridLayout gridLayout = new GridLayout ("); if (gridLayout.numColumns != 1 || gridLayout.makeColumnsEqualWidth) { code.append (gridLayout.numColumns + ", " + gridLayout.makeColumnsEqualWidth); |