Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/RowRemovalEvent.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 RowRemovalEvent extends AbstractEvent
25 - {
24 + public class RowRemovalEvent extends AbstractEvent {
26 25 /**
27 26 * Event Key for {@link RowRemovalEvent}.
28 27 */
29 - public static final Type<RowRemovalEvent, RowRemovalHandler> TYPE = new Type<RowRemovalEvent, RowRemovalHandler>()
30 - {
28 + public static final Type<RowRemovalEvent, RowRemovalHandler> TYPE = new Type<RowRemovalEvent, RowRemovalHandler>() {
31 29 @Override
32 - protected void fire( RowRemovalHandler handler, RowRemovalEvent event )
33 - {
30 + protected void fire( RowRemovalHandler handler, RowRemovalEvent event ) {
34 31 handler.onRowRemoval( event );
35 32 }
36 33 };
  @@ -45,22 +42,19 @@
45 42 *
46 43 * @param rowIndex the index of the removed row
47 44 */
48 - public RowRemovalEvent( int rowIndex )
49 - {
45 + public RowRemovalEvent( int rowIndex ) {
50 46 this.rowIndex = rowIndex;
51 47 }
52 48
53 49 /**
54 50 * @return the index of the removed 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 }