Revision: 10181
Author: gwt.mirror...@gmail.com
Date: Thu May 12 17:18:09 2011
Log: Fix checkstyle 'info' warnings
Review at http://gwt-code-reviews.appspot.com/1446803
Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10181
Modified:
/trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java
/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java
/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java
/trunk/user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java
/trunk/user/src/com/google/gwt/event/dom/client/EndedEvent.java
/trunk/user/src/com/google/gwt/event/dom/client/ProgressEvent.java
/trunk/user/src/com/google/gwt/event/logical/shared/HasAttachHandlers.java
/trunk/user/src/com/google/gwt/event/shared/EventBus.java
/trunk/user/src/com/google/gwt/event/shared/ResettableEventBus.java
/trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java
/trunk/user/src/com/google/gwt/user/client/ui/AttachableHTMLPanel.java
/trunk/user/src/com/google/web/bindery/autobean/shared/Splittable.java
/trunk/user/src/com/google/web/bindery/event/shared/ResettableEventBus.java
/trunk/user/src/com/google/web/bindery/requestfactory/shared/Receiver.java
/trunk/user/test/com/google/gwt/event/shared/SimpleEventBusTest.java
/trunk/user/test/com/google/gwt/i18n/rebind/LocaleUtilsTest.java
/trunk/user/test/com/google/gwt/user/tools/WebAppCreatorTest.java
/trunk/user/test/com/google/web/bindery/requestfactory/server/ServiceLocatorTest.java
=======================================
---
/trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java
Fri May 6 09:30:06 2011
+++
/trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java
Thu May 12 17:18:09 2011
@@ -135,8 +135,7 @@
}
}
}
-
-
+
String[] cacheExtraFiles = getCacheExtraFiles();
for (int i = 0; i < cacheExtraFiles.length; i++) {
staticResoucesSb.append(cacheExtraFiles[i]);
=======================================
---
/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java
Tue Apr 26 08:02:24 2011
+++
/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationProblemReporter.java
Thu May 12 17:18:09 2011
@@ -53,8 +53,6 @@
*
* @param logger logger for logging errors to the console
* @param missingType The qualified source name of the type to report
- * @param unitMap if available, pass
- * {@link CompilationState#getCompilationUnitMap()}.
*/
public static void logMissingTypeErrorWithHints(TreeLogger logger,
String missingType,
CompilationState compilationState) {
@@ -105,7 +103,7 @@
* originated.
* @param isError <code>true</code> if this is considered a fatal
compilation
* error.
- * @param supressErrors Controls the log level for logging errors. See
+ * @param suppressErrors Controls the log level for logging errors. See
* {@link #reportErrors(TreeLogger, CompilationUnit, boolean)}.
* @return a branch of the logger parameter for logging further problems.
*/
@@ -174,7 +172,7 @@
*
* @param logger logger for reporting errors to the console
* @param unit Compilation unit that may have errors
- * @param supressErrors Controls he log level for logging errors. If
+ * @param suppressErrors Controls he log level for logging errors. If
* <code>false</code> is passed, compilation errors are logged
at
* TreeLogger.ERROR and warnings logged at TreeLogger.WARN. If
* <code>true</code> is passed, compilation errors are logged at
=======================================
---
/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java
Tue Apr 5 03:08:39 2011
+++
/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnitInvalidator.java
Thu May 12 17:18:09 2011
@@ -17,7 +17,6 @@
import com.google.gwt.core.ext.TreeLogger;
-
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
=======================================
---
/trunk/user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java
Wed Mar 23 13:32:42 2011
+++
/trunk/user/src/com/google/gwt/event/dom/client/CanPlayThroughEvent.java
Thu May 12 17:18:09 2011
@@ -55,7 +55,6 @@
public final Type<CanPlayThroughHandler> getAssociatedType() {
return TYPE;
}
-
@Override
protected void dispatch(CanPlayThroughHandler handler) {
=======================================
--- /trunk/user/src/com/google/gwt/event/dom/client/EndedEvent.java Wed Mar
23 13:32:42 2011
+++ /trunk/user/src/com/google/gwt/event/dom/client/EndedEvent.java Thu May
12 17:18:09 2011
@@ -54,7 +54,6 @@
public final Type<EndedHandler> getAssociatedType() {
return TYPE;
}
-
@Override
protected void dispatch(EndedHandler handler) {
=======================================
--- /trunk/user/src/com/google/gwt/event/dom/client/ProgressEvent.java Wed
Mar 23 13:32:42 2011
+++ /trunk/user/src/com/google/gwt/event/dom/client/ProgressEvent.java Thu
May 12 14:09:51 2011
@@ -54,7 +54,6 @@
public final Type<ProgressHandler> getAssociatedType() {
return TYPE;
}
-
@Override
protected void dispatch(ProgressHandler handler) {
=======================================
---
/trunk/user/src/com/google/gwt/event/logical/shared/HasAttachHandlers.java
Mon May 9 08:12:52 2011
+++
/trunk/user/src/com/google/gwt/event/logical/shared/HasAttachHandlers.java
Thu May 12 14:09:51 2011
@@ -34,7 +34,7 @@
/**
* Returns whether or not the receiver is attached to the
* {@link com.google.gwt.dom.client.Document Document}'s
- * {@link com.google.gwt.dom.client.BodyElement BodyElement}
+ * {@link com.google.gwt.dom.client.BodyElement BodyElement}.
*
* @return true if attached, false otherwise
*/
=======================================
--- /trunk/user/src/com/google/gwt/event/shared/EventBus.java Tue Apr 19
15:43:31 2011
+++ /trunk/user/src/com/google/gwt/event/shared/EventBus.java Thu May 12
14:09:51 2011
@@ -53,7 +53,6 @@
public abstract void fireEvent(GwtEvent<?> event);
-
@Override
public void fireEventFromSource(Event<?> event, Object source) {
throw new UnsupportedOperationException("Subclass responsibility. "
=======================================
--- /trunk/user/src/com/google/gwt/event/shared/ResettableEventBus.java Tue
Apr 19 15:43:31 2011
+++ /trunk/user/src/com/google/gwt/event/shared/ResettableEventBus.java Thu
May 12 14:09:51 2011
@@ -89,7 +89,7 @@
}
/**
- * Visible for testing
+ * Visible for testing.
*/
int getRegistrationSize() {
return real.getRegistrationSize();
=======================================
--- /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java
Tue Apr 26 08:02:24 2011
+++ /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java
Thu May 12 14:09:51 2011
@@ -630,7 +630,6 @@
}
}
}
-
/**
* Determine the class prefix that will be used. If a value is
automatically
=======================================
--- /trunk/user/src/com/google/gwt/user/client/ui/AttachableHTMLPanel.java
Thu May 5 12:43:07 2011
+++ /trunk/user/src/com/google/gwt/user/client/ui/AttachableHTMLPanel.java
Thu May 12 14:09:51 2011
@@ -98,7 +98,6 @@
public void add(Widget widget) {
add(widget, getElement());
}
-
/**
* Adds a child widget to the panel, replacing the HTML element.
=======================================
--- /trunk/user/src/com/google/web/bindery/autobean/shared/Splittable.java
Mon Apr 18 02:42:06 2011
+++ /trunk/user/src/com/google/web/bindery/autobean/shared/Splittable.java
Thu May 12 14:09:51 2011
@@ -31,7 +31,7 @@
Splittable NULL = StringQuoter.nullValue();
/**
- * Returns a boolean representation of the data;
+ * Returns a boolean representation of the data.
*/
boolean asBoolean();
=======================================
---
/trunk/user/src/com/google/web/bindery/event/shared/ResettableEventBus.java
Mon Apr 18 16:25:25 2011
+++
/trunk/user/src/com/google/web/bindery/event/shared/ResettableEventBus.java
Thu May 12 14:09:51 2011
@@ -74,7 +74,7 @@
}
/**
- * Visible for testing
+ * Visible for testing.
*/
protected int getRegistrationSize() {
return registrations.size();
=======================================
---
/trunk/user/src/com/google/web/bindery/requestfactory/shared/Receiver.java
Thu Apr 21 12:44:49 2011
+++
/trunk/user/src/com/google/web/bindery/requestfactory/shared/Receiver.java
Thu May 12 14:09:51 2011
@@ -73,7 +73,7 @@
* {@link ConstraintViolation} objects to the deprecated {@link
Violation}
* type.
*
- * @param errors a Set of {@link ConstraintViolation} instances
+ * @param violations a Set of {@link ConstraintViolation} instances
*/
@SuppressWarnings("deprecation")
public void onConstraintViolation(Set<ConstraintViolation<?>>
violations) {
=======================================
--- /trunk/user/test/com/google/gwt/event/shared/SimpleEventBusTest.java
Mon Apr 18 16:25:25 2011
+++ /trunk/user/test/com/google/gwt/event/shared/SimpleEventBusTest.java
Thu May 12 14:09:51 2011
@@ -229,7 +229,6 @@
assertFired(one, mouse1, mouse2, mouse3);
assertNotFired(two);
}
-
static class ThrowingHandler implements MouseDownHandler {
private final RuntimeException e;
=======================================
--- /trunk/user/test/com/google/gwt/i18n/rebind/LocaleUtilsTest.java Mon
May 2 20:14:38 2011
+++ /trunk/user/test/com/google/gwt/i18n/rebind/LocaleUtilsTest.java Thu
May 12 14:09:51 2011
@@ -112,7 +112,7 @@
}
/**
- * Mock selection property;
+ * Mock selection property.
*/
private static class MockSelectionProperty implements SelectionProperty {
=======================================
--- /trunk/user/test/com/google/gwt/user/tools/WebAppCreatorTest.java Thu
Mar 31 03:22:04 2011
+++ /trunk/user/test/com/google/gwt/user/tools/WebAppCreatorTest.java Thu
May 12 14:09:51 2011
@@ -267,7 +267,7 @@
}
/**
- * Generate a .classpath containing a .jar in war/WEB-INF/lib
+ * Generate a .classpath containing a .jar in war/WEB-INF/lib.
*/
public void testCreatorOnlyEclipseWithJars() throws IOException,
WebAppCreatorException {
runCreator("-out", projectFolder, "-XnoEclipse", "-junit", mockJar,
=======================================
---
/trunk/user/test/com/google/web/bindery/requestfactory/server/ServiceLocatorTest.java
Tue Apr 19 04:54:26 2011
+++
/trunk/user/test/com/google/web/bindery/requestfactory/server/ServiceLocatorTest.java
Thu May 12 14:09:51 2011
@@ -20,7 +20,7 @@
import junit.framework.TestCase;
/**
- * Tests creating of ServiceLocators with custom ServiceLayerDecorators
+ * Tests creating of ServiceLocators with custom ServiceLayerDecorators.
*/
public class ServiceLocatorTest extends TestCase {
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors