Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -19,20 +19,16 @@
19 19 * A {@link ColumnProperty} that describes whether or not the contents of the
20 20 * column can be sorted.
21 21 */
22 - public class SortableProperty extends ColumnProperty
23 - {
22 + public class SortableProperty extends ColumnProperty {
24 23 /**
25 24 * Property type.
26 25 */
27 - public static final Type<SortableProperty> TYPE = new Type<SortableProperty>()
28 - {
26 + public static final Type<SortableProperty> TYPE = new Type<SortableProperty>() {
29 27 private SortableProperty instance;
30 28
31 29 @Override
32 - public SortableProperty getDefault()
33 - {
34 - if ( instance == null )
35 - {
30 + public SortableProperty getDefault() {
31 + if ( instance == null ) {
36 32 instance = new SortableProperty( true );
37 33 }
38 34 return instance;
  @@ -46,8 +42,7 @@
46 42 *
47 43 * @param isSortable true if the column is sortable, false if not
48 44 */
49 - public SortableProperty( boolean isSortable )
50 - {
45 + public SortableProperty( boolean isSortable ) {
51 46 this.isSortable = isSortable;
52 47 }
53 48
  @@ -56,8 +51,7 @@
56 51 *
57 52 * @return true if the column is sortable, false if it is not sortable
58 53 */
59 - public boolean isColumnSortable()
60 - {
54 + public boolean isColumnSortable() {
61 55 return isSortable;
62 56 }
63 57 }