Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -18,8 +18,7 @@
18 18 /**
19 19 * A {@link ColumnProperty} that provides the maximum width of a column.
20 20 */
21 - public class MaximumWidthProperty extends ColumnProperty
22 - {
21 + public class MaximumWidthProperty extends ColumnProperty {
23 22 /**
24 23 * The return value when no maximum width is specified.
25 24 */
  @@ -28,15 +27,12 @@
28 27 /**
29 28 * Property type.
30 29 */
31 - public static final Type<MaximumWidthProperty> TYPE = new Type<MaximumWidthProperty>()
32 - {
30 + public static final Type<MaximumWidthProperty> TYPE = new Type<MaximumWidthProperty>() {
33 31 private MaximumWidthProperty instance;
34 32
35 33 @Override
36 - public MaximumWidthProperty getDefault()
37 - {
38 - if ( instance == null )
39 - {
34 + public MaximumWidthProperty getDefault() {
35 + if ( instance == null ) {
40 36 instance = new MaximumWidthProperty( NO_MAXIMUM_WIDTH );
41 37 }
42 38 return instance;
  @@ -50,8 +46,7 @@
50 46 *
51 47 * @param maxWidth the maximum column width
52 48 */
53 - public MaximumWidthProperty( int maxWidth )
54 - {
49 + public MaximumWidthProperty( int maxWidth ) {
55 50 this.maxWidth = maxWidth;
56 51 }
57 52
  @@ -62,8 +57,7 @@
62 57 *
63 58 * @return the maximum allowable width of the column
64 59 */
65 - public int getMaximumColumnWidth()
66 - {
60 + public int getMaximumColumnWidth() {
67 61 return maxWidth;
68 62 }
69 63 }