Author: [email protected]
Date: Thu Mar 19 14:38:07 2009
New Revision: 5050
Modified:
releases/1.6/user/src/com/google/gwt/dom/client/NativeEvent.java
releases/1.6/user/test/com/google/gwt/user/client/ui/RadioButtonTest.java
Log:
Fix checkstyle warnings.
Review by: bruce
Modified: releases/1.6/user/src/com/google/gwt/dom/client/NativeEvent.java
==============================================================================
--- releases/1.6/user/src/com/google/gwt/dom/client/NativeEvent.java
(original)
+++ releases/1.6/user/src/com/google/gwt/dom/client/NativeEvent.java Thu
Mar 19 14:38:07 2009
@@ -101,6 +101,15 @@
}
/**
+ * Returns the element that was the actual target of the given event.
+ *
+ * @return the target element
+ */
+ public final EventTarget getEventTarget() {
+ return DOMImpl.impl.eventGetTarget(this);
+ }
+
+ /**
* Gets the key code associated with this event.
*
* <p>
@@ -189,15 +198,6 @@
*/
public final String getString() {
return DOMImpl.impl.eventToString(this);
- }
-
- /**
- * Returns the element that was the actual target of the given event.
- *
- * @return the target element
- */
- public final EventTarget getEventTarget() {
- return DOMImpl.impl.eventGetTarget(this);
}
/**
Modified:
releases/1.6/user/test/com/google/gwt/user/client/ui/RadioButtonTest.java
==============================================================================
---
releases/1.6/user/test/com/google/gwt/user/client/ui/RadioButtonTest.java
(original)
+++
releases/1.6/user/test/com/google/gwt/user/client/ui/RadioButtonTest.java
Thu Mar 19 14:38:07 2009
@@ -15,11 +15,6 @@
*/
package com.google.gwt.user.client.ui;
-import com.google.gwt.dom.client.Document;
-import com.google.gwt.dom.client.Element;
-import com.google.gwt.dom.client.InputElement;
-import com.google.gwt.dom.client.LabelElement;
-import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.logical.shared.ValueChangeEvent;
import com.google.gwt.event.logical.shared.ValueChangeHandler;
import com.google.gwt.junit.client.GWTTestCase;
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---