Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -20,20 +20,16 @@
20 20 * column. The row indexes start from the bottom of the header, such that all
21 21 * headers at the 0th index refer to the row directly above the data table.
22 22 */
23 - public class HeaderProperty extends HeaderPropertyBase
24 - {
23 + public class HeaderProperty extends HeaderPropertyBase {
25 24 /**
26 25 * Property type.
27 26 */
28 - public static final Type<HeaderProperty> TYPE = new Type<HeaderProperty>()
29 - {
27 + public static final Type<HeaderProperty> TYPE = new Type<HeaderProperty>() {
30 28 private HeaderProperty instance;
31 29
32 30 @Override
33 - public HeaderProperty getDefault()
34 - {
35 - if ( instance == null )
36 - {
31 + public HeaderProperty getDefault() {
32 + if ( instance == null ) {
37 33 instance = new HeaderProperty();
38 34 }
39 35 return instance;
  @@ -48,8 +44,7 @@
48 44 * @return the header for the given row
49 45 */
50 46 @Override
51 - public Object getHeader( int row )
52 - {
47 + public Object getHeader( int row ) {
53 48 return super.getHeader( row );
54 49 }
55 50
  @@ -63,8 +58,7 @@
63 58 * @return the header for the given row
64 59 */
65 60 @Override
66 - public Object getHeader( int row, int column )
67 - {
61 + public Object getHeader( int row, int column ) {
68 62 return getHeader( row );
69 63 }
70 64
  @@ -72,8 +66,7 @@
72 66 * @return get the number of headers above the column
73 67 */
74 68 @Override
75 - public int getHeaderCount()
76 - {
69 + public int getHeaderCount() {
77 70 return super.getHeaderCount();
78 71 }
79 72
  @@ -83,8 +76,7 @@
83 76 * @param row the row index from the bottom
84 77 */
85 78 @Override
86 - public void removeHeader( int row )
87 - {
79 + public void removeHeader( int row ) {
88 80 super.removeHeader( row );
89 81 }
90 82
  @@ -97,8 +89,7 @@
97 89 * @param header the header
98 90 */
99 91 @Override
100 - public void setHeader( int row, Object header )
101 - {
92 + public void setHeader( int row, Object header ) {
102 93 super.setHeader( row, header );
103 94 }
104 95
  @@ -108,8 +99,7 @@
108 99 * @param headerCount the number of headers
109 100 */
110 101 @Override
111 - public void setHeaderCount( int headerCount )
112 - {
102 + public void setHeaderCount( int headerCount ) {
113 103 super.setHeaderCount( headerCount );
114 104 }
115 105 }