Removed some checkstyle warnings.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1891 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/FocusWidget.java b/user/src/com/google/gwt/user/client/ui/FocusWidget.java
index adef49b..ebbf56b 100644
--- a/user/src/com/google/gwt/user/client/ui/FocusWidget.java
+++ b/user/src/com/google/gwt/user/client/ui/FocusWidget.java
@@ -68,7 +68,7 @@
public void addFocusListener(FocusListener listener) {
if (focusListeners == null) {
focusListeners = new FocusListenerCollection();
- sinkEvents(Event.FOCUSEVENTS );
+ sinkEvents(Event.FOCUSEVENTS);
}
focusListeners.add(listener);
}
@@ -164,7 +164,6 @@
impl.setTabIndex(getElement(), index);
}
-
/**
* Fire all current {@link ClickListener}.
*/
diff --git a/user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java b/user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java
index b6683e2..80a7a80 100644
--- a/user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java
+++ b/user/super/com/google/gwt/emul/java/lang/SuppressWarnings.java
@@ -27,7 +27,7 @@
* href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/SuppressWarnings.html">[Sun
* docs]</a>
*/
-@Target( {
+@Target({
ElementType.TYPE, ElementType.FIELD, ElementType.METHOD,
ElementType.PARAMETER, ElementType.CONSTRUCTOR, ElementType.LOCAL_VARIABLE})
@Retention(RetentionPolicy.SOURCE)
diff --git a/user/test/com/google/gwt/junit/client/GWTTestCaseTest.java b/user/test/com/google/gwt/junit/client/GWTTestCaseTest.java
index 34f320a..f861b9f 100644
--- a/user/test/com/google/gwt/junit/client/GWTTestCaseTest.java
+++ b/user/test/com/google/gwt/junit/client/GWTTestCaseTest.java
@@ -222,10 +222,11 @@
}
}
- if (!exWasThrown)
+ if (!exWasThrown) {
fail("No exception was thrown");
- else
+ } else {
fail("Unexpected exception during assertFalse(String, boolean) testing");
+ }
}
/**