litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/event/logical/shared/WrongFormatEvent.java
|
@@ -23,17 +23,14 @@ |
23 |
23 |
|
* @deprecated use the com.google.gwt.event.logical.shared classes instead |
24 |
24 |
|
*/ |
25 |
25 |
|
@Deprecated |
26 |
|
- |
public class WrongFormatEvent<Value> extends ValueEvent<Value> |
27 |
|
- |
{ |
|
26 |
+ |
public class WrongFormatEvent<Value> extends ValueEvent<Value> { |
28 |
27 |
|
|
29 |
28 |
|
/** |
30 |
29 |
|
* Event type for {@link WrongFormatEvent}. |
31 |
30 |
|
*/ |
32 |
|
- |
public static final Type<WrongFormatEvent, WrongFormatHandler> TYPE = new Type<WrongFormatEvent, WrongFormatHandler>() |
33 |
|
- |
{ |
|
31 |
+ |
public static final Type<WrongFormatEvent, WrongFormatHandler> TYPE = new Type<WrongFormatEvent, WrongFormatHandler>() { |
34 |
32 |
|
@Override |
35 |
|
- |
protected void fire( WrongFormatHandler handler, WrongFormatEvent event ) |
36 |
|
- |
{ |
|
33 |
+ |
protected void fire( WrongFormatHandler handler, WrongFormatEvent event ) { |
37 |
34 |
|
handler.onWrongFormat( event ); |
38 |
35 |
|
} |
39 |
36 |
|
}; |
|
@@ -43,14 +40,12 @@ |
43 |
40 |
|
* |
44 |
41 |
|
* @param value the value with the wrong format |
45 |
42 |
|
*/ |
46 |
|
- |
public WrongFormatEvent( Value value ) |
47 |
|
- |
{ |
|
43 |
+ |
public WrongFormatEvent( Value value ) { |
48 |
44 |
|
super( value ); |
49 |
45 |
|
} |
50 |
46 |
|
|
51 |
47 |
|
@Override |
52 |
|
- |
protected Type getType() |
53 |
|
- |
{ |
|
48 |
+ |
protected Type getType() { |
54 |
49 |
|
return TYPE; |
55 |
50 |
|
} |
56 |
51 |
|
} |