Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -21,16 +21,13 @@
21 21 /**
22 22 * Logical event fired when the number of rows changes.
23 23 */
24 - public class RowCountChangeEvent extends AbstractEvent
25 - {
24 + public class RowCountChangeEvent extends AbstractEvent {
26 25 /**
27 26 * Event Key for {@link RowCountChangeEvent}.
28 27 */
29 - public static final Type<RowCountChangeEvent, RowCountChangeHandler> TYPE = new Type<RowCountChangeEvent, RowCountChangeHandler>()
30 - {
28 + public static final Type<RowCountChangeEvent, RowCountChangeHandler> TYPE = new Type<RowCountChangeEvent, RowCountChangeHandler>() {
31 29 @Override
32 - protected void fire( RowCountChangeHandler handler, RowCountChangeEvent event )
33 - {
30 + protected void fire( RowCountChangeHandler handler, RowCountChangeEvent event ) {
34 31 handler.onRowCountChange( event );
35 32 }
36 33 };
  @@ -51,8 +48,7 @@
51 48 * @param oldRowCount the previous page
52 49 * @param newRowCount the page that was requested
53 50 */
54 - public RowCountChangeEvent( int oldRowCount, int newRowCount )
55 - {
51 + public RowCountChangeEvent( int oldRowCount, int newRowCount ) {
56 52 this.oldRowCount = oldRowCount;
57 53 this.newRowCount = newRowCount;
58 54 }
  @@ -60,22 +56,19 @@
60 56 /**
61 57 * @return the new row count
62 58 */
63 - public int getNewRowCount()
64 - {
59 + public int getNewRowCount() {
65 60 return newRowCount;
66 61 }
67 62
68 63 /**
69 64 * @return the old row count
70 65 */
71 - public int getOldRowCount()
72 - {
66 + public int getOldRowCount() {
73 67 return oldRowCount;
74 68 }
75 69
76 70 @Override
77 - protected Type getType()
78 - {
71 + protected Type getType() {
79 72 return TYPE;
80 73 }
81 74 }