Some checkstyle fixes.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@863 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/doc/src/com/google/gwt/doc/DeveloperGuide.java b/doc/src/com/google/gwt/doc/DeveloperGuide.java
index da529c9..01e7117 100644
--- a/doc/src/com/google/gwt/doc/DeveloperGuide.java
+++ b/doc/src/com/google/gwt/doc/DeveloperGuide.java
@@ -59,6 +59,7 @@
GWTTestCase gtc;
JavaScriptObject jso;
JavaScriptException jse;
+ Image img;
}
/**
diff --git a/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java b/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
index aca43ff..eb4b837 100644
--- a/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
+++ b/user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java
@@ -35,10 +35,6 @@
elem.src = "RichTextIE.html";
}-*/;
- boolean isRichEditingActive(Element e) {
- return true;
- }
-
native void initEvents() /*-{
var elem = this.@com.google.gwt.user.client.ui.impl.RichTextAreaImpl::elem;
var handler = function(evt) {
@@ -59,4 +55,8 @@
body.attachEvent('onmouseout', handler);
body.attachEvent('onclick', handler);
}-*/;
+
+ boolean isRichEditingActive(Element e) {
+ return true;
+ }
}
diff --git a/user/test/com/google/gwt/user/client/ui/PrefixTreeTest.java b/user/test/com/google/gwt/user/client/ui/PrefixTreeTest.java
index 0db0926..7cabdd7 100644
--- a/user/test/com/google/gwt/user/client/ui/PrefixTreeTest.java
+++ b/user/test/com/google/gwt/user/client/ui/PrefixTreeTest.java
@@ -17,17 +17,23 @@
import com.google.gwt.junit.client.GWTTestCase;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+/**
+ * TODO(bobv): comment me.
+ */
public class PrefixTreeTest extends GWTTestCase {
public String getModuleName() {
return "com.google.gwt.user.User";
}
-
+
/**
* Ensure that names of functions declared on the Object prototype are valid
- * data to insert into the PrefixTree
- * http://code.google.com/p/google-web-toolkit/issues/detail?id=631
+ * data to insert into the PrefixTree (<a
+ * href="http://code.google.com/p/google-web-toolkit/issues/detail?id=631">issue
+ * #631)</a>.
*/
public void testBug631Prefixes() {
// Set the prefix length large enough so that we ensure prefixes are
@@ -57,8 +63,9 @@
/**
* Ensure that names of functions declared on the Object prototype are valid
- * data to insert into the PrefixTree
- * http://code.google.com/p/google-web-toolkit/issues/detail?id=631
+ * data to insert into the PrefixTree(<a
+ * href="http://code.google.com/p/google-web-toolkit/issues/detail?id=631">issue
+ * #631)</a>.
*/
public void testBug631Suffixes() {
// Set the prefix length large enough so that we ensure suffixes are