Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -21,16 +21,13 @@
21 21 /**
22 22 * Logical event fired when a row is inserted.
23 23 */
24 - public class RowInsertionEvent extends AbstractEvent
25 - {
24 + public class RowInsertionEvent extends AbstractEvent {
26 25 /**
27 26 * Event Key for {@link RowInsertionEvent}.
28 27 */
29 - public static final Type<RowInsertionEvent, RowInsertionHandler> TYPE = new Type<RowInsertionEvent, RowInsertionHandler>()
30 - {
28 + public static final Type<RowInsertionEvent, RowInsertionHandler> TYPE = new Type<RowInsertionEvent, RowInsertionHandler>() {
31 29 @Override
32 - protected void fire( RowInsertionHandler handler, RowInsertionEvent event )
33 - {
30 + protected void fire( RowInsertionHandler handler, RowInsertionEvent event ) {
34 31 handler.onRowInsertion( event );
35 32 }
36 33 };
  @@ -45,22 +42,19 @@
45 42 *
46 43 * @param rowIndex the index of the new row
47 44 */
48 - public RowInsertionEvent( int rowIndex )
49 - {
45 + public RowInsertionEvent( int rowIndex ) {
50 46 this.rowIndex = rowIndex;
51 47 }
52 48
53 49 /**
54 50 * @return the index of the inserted row
55 51 */
56 - public int getRowIndex()
57 - {
52 + public int getRowIndex() {
58 53 return rowIndex;
59 54 }
60 55
61 56 @Override
62 - protected Type getType()
63 - {
57 + protected Type getType() {
64 58 return TYPE;
65 59 }
66 60 }