Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/property/PreferredWidthProperty.java

Diff revisions: vs.
  @@ -18,20 +18,16 @@
18 18 /**
19 19 * A {@link ColumnProperty} that provides the preferred width of a column.
20 20 */
21 - public class PreferredWidthProperty extends ColumnProperty
22 - {
21 + public class PreferredWidthProperty extends ColumnProperty {
23 22 /**
24 23 * Property type.
25 24 */
26 - public static final Type<PreferredWidthProperty> TYPE = new Type<PreferredWidthProperty>()
27 - {
25 + public static final Type<PreferredWidthProperty> TYPE = new Type<PreferredWidthProperty>() {
28 26 private PreferredWidthProperty instance;
29 27
30 28 @Override
31 - public PreferredWidthProperty getDefault()
32 - {
33 - if ( instance == null )
34 - {
29 + public PreferredWidthProperty getDefault() {
30 + if ( instance == null ) {
35 31 instance = new PreferredWidthProperty( 80 );
36 32 }
37 33 return instance;
  @@ -45,8 +41,7 @@
45 41 *
46 42 * @param preferredWidth the preferred column width
47 43 */
48 - public PreferredWidthProperty( int preferredWidth )
49 - {
44 + public PreferredWidthProperty( int preferredWidth ) {
50 45 this.preferredWidth = preferredWidth;
51 46 }
52 47
  @@ -58,8 +53,7 @@
58 53 *
59 54 * @return the preferred width of the column
60 55 */
61 - public int getPreferredColumnWidth()
62 - {
56 + public int getPreferredColumnWidth() {
63 57 return preferredWidth;
64 58 }
65 59 }