Revision: 7749
Author: [email protected]
Date: Fri Mar 19 08:12:41 2010
Log: Reduce warnings in Eclipse:
o Use <?> instead of raw types
o Add some @SuppressWarnings annotations
o Document or remove unused method parameters
Review at http://gwt-code-reviews.appspot.com/219803
Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=7749
Modified:
/trunk/dev/core/src/com/google/gwt/core/ext/Linker.java
/trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/MemberFactory.java
/trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/DelegateMembers.java
/trunk/dev/core/src/com/google/gwt/core/linker/SoycReportLinker.java
/trunk/dev/core/src/com/google/gwt/dev/js/EvalFunctionsAtTopScope.java
/trunk/dev/core/src/com/google/gwt/dev/js/ast/JsVisitor.java
/trunk/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
/trunk/dev/core/src/com/google/gwt/dev/shell/ServerMethods.java
/trunk/dev/core/src/com/google/gwt/dev/shell/SyntheticClassMember.java
/trunk/dev/core/src/com/google/gwt/dev/util/Empty.java
/trunk/dev/core/src/com/google/gwt/dev/util/TypeInfo.java
/trunk/dev/core/src/com/google/gwt/dev/util/msg/Message.java
/trunk/dev/core/src/com/google/gwt/dev/util/msg/Message2ClassClass.java
/trunk/dev/core/src/com/google/gwt/dev/util/msg/Message3IntStringClass.java
/trunk/dev/core/src/com/google/gwt/dev/util/xml/DefaultSchema.java
/trunk/dev/core/src/com/google/gwt/dev/util/xml/HandlerMethod.java
/trunk/dev/core/src/com/google/gwt/dev/util/xml/HandlerParam.java
/trunk/dev/core/src/com/google/gwt/dev/util/xml/Schema.java
/trunk/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
/trunk/user/src/com/google/gwt/core/client/GWT.java
/trunk/user/src/com/google/gwt/core/client/impl/StringBuilderImpl.java
/trunk/user/src/com/google/gwt/core/client/prefetch/RunAsyncCode.java
/trunk/user/src/com/google/gwt/dom/client/StyleInjector.java
/trunk/user/src/com/google/gwt/event/shared/DefaultHandlerRegistration.java
/trunk/user/src/com/google/gwt/i18n/rebind/LocaleUtils.java
/trunk/user/src/com/google/gwt/junit/RunStyleHtmlUnit.java
/trunk/user/src/com/google/gwt/resources/css/GenerateCssAst.java
/trunk/user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java
/trunk/user/src/com/google/gwt/resources/rebind/context/InlineResourceContext.java
/trunk/user/src/com/google/gwt/resources/rebind/context/MhtmlClientBundleGenerator.java
/trunk/user/src/com/google/gwt/resources/rebind/context/MhtmlResourceContext.java
/trunk/user/src/com/google/gwt/resources/rg/ImageResourceGenerator.java
/trunk/user/src/com/google/gwt/uibinder/rebind/XMLElementProviderImpl.java
/trunk/user/src/com/google/gwt/user/client/DOM.java
/trunk/user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/BigDecimal_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/BigInteger_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/MathContext_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/ArrayList_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Arrays.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Collection_CustomFieldSerializerBase.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Date_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashMap_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashSet_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/IdentityHashMap_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/LinkedList_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Map_CustomFieldSerializerBase.java
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Vector_CustomFieldSerializer.java
/trunk/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamReader.java
/trunk/user/src/com/google/gwt/user/client/ui/HTMLPanel.java
/trunk/user/src/com/google/gwt/user/client/ui/ImageBundle.java
/trunk/user/src/com/google/gwt/user/client/ui/RichTextArea.java
/trunk/user/src/com/google/gwt/user/client/ui/StackLayoutPanel.java
/trunk/user/src/com/google/gwt/user/client/ui/SuggestBox.java
/trunk/user/src/com/google/gwt/user/client/ui/Widget.java
/trunk/user/src/com/google/gwt/user/linker/rpc/RpcLogArtifact.java
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializationUtils.java
/trunk/user/src/com/google/gwt/user/rebind/ui/ImageBundleGenerator.java
=======================================
--- /trunk/dev/core/src/com/google/gwt/core/ext/Linker.java Wed Mar 3
09:01:30 2010
+++ /trunk/dev/core/src/com/google/gwt/core/ext/Linker.java Fri Mar 19
08:12:41 2010
@@ -102,6 +102,7 @@
* @param logger the TreeLogger to record to
* @param context provides access to the Linker's environment
* @param artifacts an unmodifiable view of the artifacts to link
+ * @param onePermutation true for a one-permutation call
* @return the artifacts that should be propagated through the linker
chain
* @throws UnableToCompleteException if compilation violates assumptions
made
* by the Linker or for errors encountered by the Linker
@@ -129,7 +130,6 @@
* @throws UnableToCompleteException if compilation violates assumptions
made
* by the Linker or for errors encountered by the Linker
*/
- @SuppressWarnings("unused")
public ArtifactSet relink(TreeLogger logger, LinkerContext context,
ArtifactSet newArtifacts) throws UnableToCompleteException {
return newArtifacts;
=======================================
---
/trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/MemberFactory.java
Wed Oct 28 09:10:53 2009
+++
/trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/MemberFactory.java
Fri Mar 19 08:12:41 2010
@@ -51,7 +51,7 @@
}
@SuppressWarnings("unchecked")
- private <K, V extends Member> Map<K, V> getElementMap(K key, Class<V>
clazz) {
+ private <K, V extends Member> Map<K, V> getElementMap(Class<V> clazz) {
Map<K, V> elementMap = (Map<K, V>) map.get(clazz);
if (elementMap == null) {
elementMap = new IdentityHashMap<K, V>();
@@ -74,7 +74,7 @@
*/
private <K, V extends Member> V getOrCreate(K key, Class<V> implClazz,
Class<? super K> constructorParam) {
- Map<K, V> elementMap = getElementMap(key, implClazz);
+ Map<K, V> elementMap = getElementMap(implClazz);
V toReturn = elementMap.get(key);
if (toReturn == null) {
=======================================
---
/trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/DelegateMembers.java
Wed Apr 1 12:13:09 2009
+++
/trunk/dev/core/src/com/google/gwt/core/ext/typeinfo/DelegateMembers.java
Fri Mar 19 08:12:41 2010
@@ -70,7 +70,6 @@
return methods.length == 0 ? methods : methods.clone();
}
- @SuppressWarnings("unchecked")
@Override
public JMethod[] getOverloads(String name) {
initMethods();
=======================================
--- /trunk/dev/core/src/com/google/gwt/core/linker/SoycReportLinker.java
Wed Mar 3 09:01:30 2010
+++ /trunk/dev/core/src/com/google/gwt/core/linker/SoycReportLinker.java
Fri Mar 19 08:12:41 2010
@@ -115,9 +115,9 @@
}
if (onePermutation) {
- return emitPermutationDescriptions(logger, context, artifacts);
+ return emitPermutationDescriptions(artifacts);
} else {
- return buildTopLevelFiles(logger, context, artifacts);
+ return buildTopLevelFiles(logger, artifacts);
}
}
@@ -133,7 +133,7 @@
}
private ArtifactSet buildTopLevelFiles(TreeLogger logger,
- LinkerContext context, ArtifactSet artifacts) {
+ ArtifactSet artifacts) {
artifacts = new ArtifactSet(artifacts);
ArtifactsOutputDirectory out = new ArtifactsOutputDirectory();
@@ -149,8 +149,7 @@
return artifacts;
}
- private ArtifactSet emitPermutationDescriptions(TreeLogger logger,
- LinkerContext context, ArtifactSet artifacts) {
+ private ArtifactSet emitPermutationDescriptions(ArtifactSet artifacts) {
artifacts = new ArtifactSet(artifacts);
for (CompilationResult res : artifacts.find(CompilationResult.class)) {
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/js/EvalFunctionsAtTopScope.java
Tue Feb 16 07:17:47 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/js/EvalFunctionsAtTopScope.java
Fri Mar 19 08:12:41 2010
@@ -40,7 +40,6 @@
*/
public class EvalFunctionsAtTopScope extends JsModVisitor {
-
public static void exec(JsProgram jsProgram, JavaToJavaScriptMap map) {
EvalFunctionsAtTopScope fev = new EvalFunctionsAtTopScope(map);
fev.accept(jsProgram);
@@ -56,8 +55,6 @@
private final Stack<JsBlock> scopeStack = new Stack<JsBlock>();
-
-
public EvalFunctionsAtTopScope(JavaToJavaScriptMap java2jsMap) {
this.java2jsMap = java2jsMap;
}
@@ -116,7 +113,7 @@
@Override
public boolean visit(JsFunction x, JsContext<JsExpression> ctx) {
- JsFunction func = JsStaticEval.isFunctionDecl(currentStatement);
+ JsStaticEval.isFunctionDecl(currentStatement);
/*
* We do this during visit() to preserve first-to-last evaluation
order.
@@ -144,7 +141,6 @@
scopeStack.push(x.getBody());
return true;
}
-
@Override
public boolean visit(JsProgram x, JsContext<JsProgram> ctx) {
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/js/ast/JsVisitor.java Tue Jan 26
11:40:29 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/js/ast/JsVisitor.java Fri Mar 19
08:12:41 2010
@@ -59,6 +59,7 @@
}
};
+ @SuppressWarnings("unchecked")
protected static final JsContext UNMODIFIABLE_CONTEXT = new JsContext() {
public boolean canInsert() {
@@ -90,7 +91,7 @@
}
};
- @SuppressWarnings("cast")
+ @SuppressWarnings("unchecked")
public final <T extends JsVisitable> T accept(T node) {
// The following cast to T is needed for javac 1.5.0_13
// as shipped on OS X
@@ -417,11 +418,13 @@
return true;
}
+ @SuppressWarnings({"unchecked", "cast"})
protected <T extends JsVisitable<T>> T doAccept(T node) {
doTraverse(node, (JsContext<T>) UNMODIFIABLE_CONTEXT);
return node;
}
+ @SuppressWarnings({"unchecked", "cast"})
protected <T extends JsVisitable<T>> void doAcceptList(List<T>
collection) {
for (Iterator<T> it = collection.iterator(); it.hasNext();) {
doTraverse(it.next(), (JsContext<T>) UNMODIFIABLE_CONTEXT);
@@ -433,6 +436,7 @@
return expr;
}
+ @SuppressWarnings({"unchecked", "cast"})
protected <T extends JsVisitable<T>> void doAcceptWithInsertRemove(
List<T> collection) {
for (Iterator<T> it = collection.iterator(); it.hasNext();) {
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
Wed Nov 4 13:19:43 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
Fri Mar 19 08:12:41 2010
@@ -1077,6 +1077,7 @@
return lookupClassName;
}
+ @SuppressWarnings("deprecation")
private byte[] findClassBytes(String className) {
if (JavaScriptHost.class.getName().equals(className)) {
// No need to rewrite.
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/shell/ServerMethods.java Fri Feb
19 06:35:15 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/ServerMethods.java Fri Mar
19 08:12:41 2010
@@ -32,11 +32,10 @@
* Tell the server that the client no longer has any references to the
* specified Java object.
*
- * @param ids ID of object to free
+ * @param ids IDs of objects to free
* @return false if an error occurred
*/
- static boolean freeJava(BrowserChannelClient channel,
- SessionHandlerClient handler, int ids[]) {
+ static boolean freeJava(BrowserChannelClient channel, int ids[]) {
if (!channel.isConnected()) {
// ignoring freeJava after disconnect.
return true;
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/shell/SyntheticClassMember.java
Mon Mar 2 18:14:20 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/SyntheticClassMember.java
Fri Mar 19 08:12:41 2010
@@ -28,7 +28,7 @@
this.clazz = clazz;
}
- public Class getDeclaringClass() {
+ public Class<?> getDeclaringClass() {
return clazz;
}
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/Empty.java Wed Dec 27
13:19:22 2006
+++ /trunk/dev/core/src/com/google/gwt/dev/util/Empty.java Fri Mar 19
08:12:41 2010
@@ -21,7 +21,7 @@
public class Empty {
public static final String[] STRINGS = new String[0];
- public static final Class[] CLASSES = new Class[0];
+ public static final Class<?>[] CLASSES = new Class<?>[0];
public static final Object[] OBJECTS = new Object[0];
}
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/TypeInfo.java Mon Oct 26
14:02:26 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/util/TypeInfo.java Fri Mar 19
08:12:41 2010
@@ -51,7 +51,7 @@
// types below
public static final int TYPE_WRAP_STRING = 0x000001;
- public static int classifyType(Class type) {
+ public static int classifyType(Class<?> type) {
int ret = isPrimitiveType(type);
if (ret != 0) {
return ret;
@@ -69,8 +69,8 @@
return TYPE_USER;
}
- public static Method getInterfaceMethod(Class intf, String methodName,
- Class[] paramTypes, boolean includeInherited) {
+ public static Method getInterfaceMethod(Class<?> intf, String methodName,
+ Class<?>[] paramTypes, boolean includeInherited) {
try {
return intf.getDeclaredMethod(methodName, paramTypes);
} catch (NoSuchMethodException e) {
@@ -111,7 +111,7 @@
return after.toString();
}
- public static String getSourceRepresentation(Class type) {
+ public static String getSourceRepresentation(Class<?> type) {
// Primitives
//
if (type.equals(Integer.TYPE)) {
@@ -144,7 +144,7 @@
return type.getName().replace('$', '.');
}
- public static int isPrimitiveType(Class type) {
+ public static int isPrimitiveType(Class<?> type) {
if (type.equals(Integer.TYPE)) {
return TYPE_PRIM_INT;
} else if (type.equals(Long.TYPE)) {
@@ -168,7 +168,7 @@
}
}
- public static int isPrimitiveWrapperType(Class type) {
+ public static int isPrimitiveWrapperType(Class<?> type) {
if (type.equals(String.class)) {
return TYPE_WRAP_STRING;
} else if (type.equals(Integer.class)) {
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/msg/Message.java Mon Oct 26
14:02:26 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/util/msg/Message.java Fri Mar 19
08:12:41 2010
@@ -88,7 +88,7 @@
* @param c a Class
* @return a suitable Formatter
*/
- protected final Formatter getFormatter(Class c) {
+ protected final Formatter getFormatter(Class<?> c) {
return FMT_CLASS;
}
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/msg/Message2ClassClass.java
Wed Dec 27 13:19:22 2006
+++ /trunk/dev/core/src/com/google/gwt/dev/util/msg/Message2ClassClass.java
Fri Mar 19 08:12:41 2010
@@ -27,12 +27,12 @@
super(type, fmt);
}
- public TreeLogger branch(TreeLogger logger, Class c1, Class c2,
+ public TreeLogger branch(TreeLogger logger, Class<?> c1, Class<?> c2,
Throwable caught) {
return branch2(logger, c1, c2, getFormatter(c1), getFormatter(c2),
caught);
}
- public void log(TreeLogger logger, Class c1, Class c2, Throwable caught)
{
+ public void log(TreeLogger logger, Class<?> c1, Class<?> c2, Throwable
caught) {
log2(logger, c1, c2, getFormatter(c1), getFormatter(c2), caught);
}
}
=======================================
---
/trunk/dev/core/src/com/google/gwt/dev/util/msg/Message3IntStringClass.java
Mon May 18 11:47:32 2009
+++
/trunk/dev/core/src/com/google/gwt/dev/util/msg/Message3IntStringClass.java
Fri Mar 19 08:12:41 2010
@@ -27,14 +27,14 @@
super(type, fmt);
}
- public TreeLogger branch(TreeLogger logger, int x, String s, Class c,
+ public TreeLogger branch(TreeLogger logger, int x, String s, Class<?> c,
Throwable caught) {
Integer xi = Integer.valueOf(x);
return branch3(logger, xi, s, c, getFormatter(xi), getFormatter(s),
getFormatter(c), caught);
}
- public void log(TreeLogger logger, int x, String s, Class c, Throwable
caught) {
+ public void log(TreeLogger logger, int x, String s, Class<?> c,
Throwable caught) {
Integer xi = Integer.valueOf(x);
log3(logger, xi, s, c, getFormatter(xi), getFormatter(s),
getFormatter(c),
caught);
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/xml/DefaultSchema.java Wed
Dec 27 13:19:22 2006
+++ /trunk/dev/core/src/com/google/gwt/dev/util/xml/DefaultSchema.java Fri
Mar 19 08:12:41 2010
@@ -44,7 +44,7 @@
}
public void onBadAttributeValue(int line, String elem, String attr,
- String value, Class paramType) throws UnableToCompleteException {
+ String value, Class<?> paramType) throws UnableToCompleteException {
Messages.XML_ATTRIBUTE_CONVERSION_ERROR.log(logger, line, attr,
paramType,
null);
throw new UnableToCompleteException();
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/xml/HandlerMethod.java Mon
Oct 26 14:02:26 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/util/xml/HandlerMethod.java Fri
Mar 19 08:12:41 2010
@@ -33,7 +33,7 @@
private static final Schema sArbitraryChildHandler = new Schema() {
public void onBadAttributeValue(int lineNumber, String elemName,
- String attrName, String attrValue, Class paramType) {
+ String attrName, String attrValue, Class<?> paramType) {
// Ignore
}
@@ -76,6 +76,7 @@
* handler but the containing class does not have the proper parameter
* metafields.
*/
+ @SuppressWarnings("unchecked")
public static HandlerMethod tryCreate(Method method) {
String methodName = method.getName();
String normalizedTagName = null;
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/xml/HandlerParam.java Mon
Oct 26 14:02:26 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/util/xml/HandlerParam.java Fri
Mar 19 08:12:41 2010
@@ -113,7 +113,7 @@
return normalizedAttrName;
}
- public Class getParamType() {
+ public Class<?> getParamType() {
return paramType;
}
}
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/util/xml/Schema.java Mon Oct 26
14:02:26 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/util/xml/Schema.java Fri Mar 19
08:12:41 2010
@@ -37,7 +37,7 @@
* Finds the most recent converter in the schema chain that can convert
the
* specified type.
*/
- public AttributeConverter getAttributeConverter(Class type) {
+ public AttributeConverter getAttributeConverter(Class<?> type) {
AttributeConverter converter = convertersByType.get(type);
if (converter != null) {
return converter;
@@ -54,7 +54,7 @@
}
public void onBadAttributeValue(int line, String elem, String attr,
- String value, Class paramType) throws UnableToCompleteException {
+ String value, Class<?> paramType) throws UnableToCompleteException {
if (parent != null) {
parent.onBadAttributeValue(line, elem, attr, value, paramType);
}
@@ -95,7 +95,7 @@
}
}
- public void registerAttributeConverter(Class type,
+ public void registerAttributeConverter(Class<?> type,
AttributeConverter converter) {
convertersByType.put(type, converter);
}
=======================================
--- /trunk/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
Wed Jan 13 14:01:33 2010
+++ /trunk/dev/core/src/com/google/gwt/soyc/MakeTopLevelHtmlForPerm.java
Fri Mar 19 08:12:41 2010
@@ -317,8 +317,10 @@
outFile.println("<td>" + className + "</a></td>");
outFile.println("<td>");
outFile.println("<div class=\"soyc-bar-graph
goog-inline-block\">");
+ // CHECKSTYLE_OFF
outFile.println("<div style=\"width:" + perc
+ "%;\" class=\"soyc-bar-graph-fill
goog-inline-block\"></div>");
+ // CHECKSTYLE_ON
outFile.println("</div>");
outFile.println(size + " (" + formatNumber(perc) + "%)");
outFile.println("</td>");
@@ -421,8 +423,10 @@
}
outFile.println("<td>");
outFile.println("<div class=\"soyc-bar-graph
goog-inline-block\">");
+ // CHECKSTYLE_OFF
outFile.println("<div style=\"width:" + perc
+ "%;\" class=\"soyc-bar-graph-fill
goog-inline-block\"></div>");
+ // CHECKSTYLE_ON
outFile.println("</div>");
outFile.println(size + " (" + formatNumber(perc) + "%)");
outFile.println("</td>");
@@ -527,8 +531,10 @@
+ splitPointDescription + "</a></td>");
outFile.println("<td>");
outFile.println("<div class=\"soyc-bar-graph
goog-inline-block\">");
+ // CHECKSTYLE_OFF
outFile.println("<div style=\"width:" + ratio
+ "%;\" class=\"soyc-bar-graph-fill
goog-inline-block\"></div>");
+ // CHECKSTYLE_ON
outFile.println("</div>");
outFile.println((int) size + " Bytes (" + formatNumber(ratio)
+ "%)");
outFile.println("</td>");
@@ -693,8 +699,10 @@
+ "\" target=\"_top\">" + codeType + "</a></td>");
outFile.println("<td>");
outFile.println("<div class=\"soyc-bar-graph goog-inline-block\">");
+ // CHECKSTYLE_OFF
outFile.println("<div style=\"width:" + perc
+ "%;\" class=\"soyc-bar-graph-fill goog-inline-block\"></div>");
+ // CHECKSTYLE_ON
outFile.println("</div>");
outFile.println(size + " (" + formatNumber(perc) + "%)");
outFile.println("</td>");
@@ -858,8 +866,10 @@
+ "\" target=\"_top\">" + packageName + "</a></td>");
outFile.println("<td>");
outFile.println("<div class=\"soyc-bar-graph goog-inline-block\">");
+ // CHECKSTYLE_OFF
outFile.println("<div style=\"width:" + perc
+ "%;\" class=\"soyc-bar-graph-fill goog-inline-block\"></div>");
+ // CHECKSTYLE_ON
outFile.println("</div>");
outFile.println(size + " (" + formatNumber(perc) + "%)");
outFile.println("</td>");
=======================================
--- /trunk/user/src/com/google/gwt/core/client/GWT.java Tue Dec 22 09:01:01
2009
+++ /trunk/user/src/com/google/gwt/core/client/GWT.java Fri Mar 19 08:12:41
2010
@@ -82,7 +82,6 @@
* instantiated
* @return the new instance, which must be typecast to the requested
class.
*/
- @SuppressWarnings("unused")
public static <T> T create(Class<?> classLiteral) {
if (sGWTBridge == null) {
/*
=======================================
--- /trunk/user/src/com/google/gwt/core/client/impl/StringBuilderImpl.java
Mon Oct 26 14:02:26 2009
+++ /trunk/user/src/com/google/gwt/core/client/impl/StringBuilderImpl.java
Fri Mar 19 08:12:41 2010
@@ -45,7 +45,6 @@
array.explicitLength = length;
}-*/;
- @SuppressWarnings("unused")
private String[] array = new String[0];
public ImplArray() {
=======================================
--- /trunk/user/src/com/google/gwt/core/client/prefetch/RunAsyncCode.java
Wed Nov 18 11:30:09 2009
+++ /trunk/user/src/com/google/gwt/core/client/prefetch/RunAsyncCode.java
Fri Mar 19 08:12:41 2010
@@ -27,6 +27,8 @@
/**
* Create an instance for the split point named with the given class. The
* provided class must be a class literal.
+ *
+ * @param splitPoint a Class literal used to name the split point
*/
public static RunAsyncCode runAsyncCode(Class<?> splitPoint) {
// This is a place holder for development mode.
=======================================
--- /trunk/user/src/com/google/gwt/dom/client/StyleInjector.java Wed Mar 10
07:23:33 2010
+++ /trunk/user/src/com/google/gwt/dom/client/StyleInjector.java Fri Mar 19
08:12:41 2010
@@ -106,7 +106,6 @@
return $doc.styleSheets[index].cssText.length;
}-*/;
-
public native void appendContents(StyleElement style, String contents)
/*-{
style.cssText += contents;
}-*/;
=======================================
---
/trunk/user/src/com/google/gwt/event/shared/DefaultHandlerRegistration.java
Mon Nov 23 16:21:36 2009
+++
/trunk/user/src/com/google/gwt/event/shared/DefaultHandlerRegistration.java
Fri Mar 19 08:12:41 2010
@@ -45,7 +45,7 @@
/**
* Removes the given handler from its manager.
*/
- @SuppressWarnings({"unchecked", "deprecation"})
+ @SuppressWarnings("unchecked")
// This is safe because when the elements were passed in they conformed
to
// Type<H>,H.
public void removeHandler() {
=======================================
--- /trunk/user/src/com/google/gwt/i18n/rebind/LocaleUtils.java Mon Nov 16
13:28:11 2009
+++ /trunk/user/src/com/google/gwt/i18n/rebind/LocaleUtils.java Fri Mar 19
08:12:41 2010
@@ -130,7 +130,7 @@
}
LocaleUtils localeUtils = cache.get(key);
if (localeUtils == null) {
- localeUtils = createInstance(logger, localeProp,
runtimeLocaleProp);
+ localeUtils = createInstance(localeProp, runtimeLocaleProp);
cache.put(key, localeUtils);
}
return localeUtils;
@@ -156,8 +156,8 @@
return factory;
}
- private static LocaleUtils createInstance(TreeLogger logger,
- SelectionProperty localeProp, ConfigurationProperty prop) {
+ private static LocaleUtils createInstance(SelectionProperty localeProp,
+ ConfigurationProperty prop) {
GwtLocale compileLocale = null;
Set<GwtLocale> allLocales = new HashSet<GwtLocale>();
Set<GwtLocale> allCompileLocales = new HashSet<GwtLocale>();
=======================================
--- /trunk/user/src/com/google/gwt/junit/RunStyleHtmlUnit.java Mon Nov 16
18:58:40 2009
+++ /trunk/user/src/com/google/gwt/junit/RunStyleHtmlUnit.java Fri Mar 19
08:12:41 2010
@@ -173,8 +173,8 @@
private static Map<String, BrowserVersion> createBrowserMap() {
Map<String, BrowserVersion> browserMap = new HashMap<String,
BrowserVersion>();
for (BrowserVersion browser : new BrowserVersion[] {
- BrowserVersion.FIREFOX_2, BrowserVersion.FIREFOX_3,
- BrowserVersion.INTERNET_EXPLORER_6,
BrowserVersion.INTERNET_EXPLORER_7}) {
+ BrowserVersion.FIREFOX_3, BrowserVersion.INTERNET_EXPLORER_6,
+ BrowserVersion.INTERNET_EXPLORER_7}) {
browserMap.put(browser.getNickname(), browser);
}
return Collections.unmodifiableMap(browserMap);
=======================================
--- /trunk/user/src/com/google/gwt/resources/css/GenerateCssAst.java Thu
Jan 21 09:47:21 2010
+++ /trunk/user/src/com/google/gwt/resources/css/GenerateCssAst.java Fri
Mar 19 08:12:41 2010
@@ -89,6 +89,7 @@
/**
* Generates a CssStylesheet from the contents of a URL.
*/
+...@suppresswarnings("unused")
public class GenerateCssAst {
/**
=======================================
---
/trunk/user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java
Mon Nov 23 16:21:36 2009
+++
/trunk/user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java
Fri Mar 19 08:12:41 2010
@@ -278,6 +278,11 @@
* Provides a hook for subtypes to add additional fields or requirements
to
* the bundle.
*
+ * @param logger a TreeLogger
+ * @param context the GeneratorContext
+ * @param fields ClentBundle fields
+ * @param requirements ClientBundleRequirements
+ *
* @throws UnableToCompleteException if an error occurs.
*/
protected void doAddFieldsAndRequirements(TreeLogger logger,
@@ -289,6 +294,11 @@
* This method is called after the ClientBundleRequirements have been
* evaluated and a new ClientBundle implementation is being created.
*
+ * @param logger a TreeLogger
+ * @param generatorContext the GeneratoContext
+ * @param fields ClientBundle fields
+ * @param generatedSimpleSourceName a String
+ *
* @throws UnableToCompleteException if an error occurs.
*/
protected void doCreateBundleForPermutation(TreeLogger logger,
@@ -299,6 +309,8 @@
/**
* Provides a hook for finalizing generated resources.
*
+ * @param logger a TreeLogger
+ *
* @throws UnableToCompleteException if an error occurs.
*/
protected void doFinish(TreeLogger logger) throws
UnableToCompleteException {
=======================================
---
/trunk/user/src/com/google/gwt/resources/rebind/context/InlineResourceContext.java
Tue Jan 19 05:14:45 2010
+++
/trunk/user/src/com/google/gwt/resources/rebind/context/InlineResourceContext.java
Fri Mar 19 08:12:41 2010
@@ -42,8 +42,10 @@
String base64Contents = toBase64(data);
+ // CHECKSTYLE_OFF
String encoded = "\"data:" + mimeType + ";base64," + base64Contents
+ "\"";
+ // CHECKSTYLE_ON
/*
* We know that the encoded format will be one byte per character,
since
=======================================
---
/trunk/user/src/com/google/gwt/resources/rebind/context/MhtmlClientBundleGenerator.java
Tue Nov 3 10:06:29 2009
+++
/trunk/user/src/com/google/gwt/resources/rebind/context/MhtmlClientBundleGenerator.java
Fri Mar 19 08:12:41 2010
@@ -62,7 +62,9 @@
"GWT.getModuleBaseURL().startsWith(\"https\")", true, true);
resourceContext.setIsHttpsIdent(isHttpsIdent);
+ // CHECKSTYLE_OFF
// "mhtml:" + GWT.getModuleBaseURL() + "partialPath!cid:"
+ // CHECKSTYLE_ON
bundleBaseIdent = fields.define(stringType, "bundleBase", null, true,
true);
resourceContext.setBundleBaseIdent(bundleBaseIdent);
}
=======================================
---
/trunk/user/src/com/google/gwt/resources/rebind/context/MhtmlResourceContext.java
Tue Nov 3 10:06:29 2009
+++
/trunk/user/src/com/google/gwt/resources/rebind/context/MhtmlResourceContext.java
Fri Mar 19 08:12:41 2010
@@ -103,7 +103,9 @@
pw.println("--" + BOUNDARY);
pw.println("Content-Id:<" + location + ">");
+ // CHECKSTYLE_OFF
pw.println("Content-Type:" + mimeType);
+ // CHECKSTYLE_ON
pw.println("Content-Transfer-Encoding:base64");
pw.println();
pw.println(base64);
=======================================
--- /trunk/user/src/com/google/gwt/resources/rg/ImageResourceGenerator.java
Tue Jan 19 05:14:45 2010
+++ /trunk/user/src/com/google/gwt/resources/rg/ImageResourceGenerator.java
Fri Mar 19 08:12:41 2010
@@ -157,7 +157,7 @@
public void createFields(TreeLogger logger, ResourceContext context,
ClientBundleFields fields) throws UnableToCompleteException {
if (!prepared) {
- finalizeArrangements(logger, context);
+ finalizeArrangements(logger);
}
for (ImageRect rect : shared.imageRectsByName.values()) {
@@ -262,7 +262,7 @@
}
}
- private void finalizeArrangements(TreeLogger logger, ResourceContext
context)
+ private void finalizeArrangements(TreeLogger logger)
throws UnableToCompleteException {
for (Map.Entry<RepeatStyle, ImageBundleBuilder> entry :
shared.buildersByRepeatStyle.entrySet()) {
RepeatStyle repeatStyle = entry.getKey();
=======================================
---
/trunk/user/src/com/google/gwt/uibinder/rebind/XMLElementProviderImpl.java
Fri Nov 6 16:08:46 2009
+++
/trunk/user/src/com/google/gwt/uibinder/rebind/XMLElementProviderImpl.java
Fri Mar 19 08:12:41 2010
@@ -24,15 +24,14 @@
/**
* The default implemenatation of {...@link XMLElementProvider}.
*/
+...@suppresswarnings("deprecation")
public class XMLElementProviderImpl implements XMLElementProvider {
private final AttributeParsers attributeParsers;
- @SuppressWarnings("deprecation")
// bundleParsers for legacy templates
private final BundleAttributeParsers bundleParsers;
private final MortalLogger logger;
private final TypeOracle oracle;
- @SuppressWarnings("deprecation")
// bundleParsers for legacy templates
public XMLElementProviderImpl(AttributeParsers attributeParsers,
BundleAttributeParsers bundleParsers, TypeOracle oracle,
=======================================
--- /trunk/user/src/com/google/gwt/user/client/DOM.java Tue Mar 16 08:57:25
2010
+++ /trunk/user/src/com/google/gwt/user/client/DOM.java Fri Mar 19 08:12:41
2010
@@ -98,6 +98,7 @@
*
* @return the newly-created element
*/
+ @SuppressWarnings("deprecation")
public static Element createButton() {
return Document.get().createButtonElement().cast();
}
@@ -456,7 +457,7 @@
* @see DOM#eventGetTarget(Event)
*/
public static Element eventGetCurrentTarget(Event evt) {
- return evt.getCurrentTarget().cast();
+ return evt.getCurrentEventTarget().cast();
}
/**
@@ -566,7 +567,7 @@
* @return the target element
*/
public static Element eventGetTarget(Event evt) {
- return (Element) evt.getTarget();
+ return evt.getEventTarget().cast();
}
/**
=======================================
--- /trunk/user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
Thu Feb 11 05:07:55 2010
+++ /trunk/user/src/com/google/gwt/user/client/impl/DOMImplStandard.java
Fri Mar 19 08:12:41 2010
@@ -44,11 +44,11 @@
@Override
public Element eventGetFromElement(Event evt) {
if (evt.getType().equals("mouseover")) {
- return evt.getRelatedTarget().cast();
+ return evt.getRelatedEventTarget().cast();
}
if (evt.getType().equals("mouseout")) {
- return evt.getTarget().cast();
+ return evt.getEventTarget().cast();
}
return null;
@@ -57,11 +57,11 @@
@Override
public Element eventGetToElement(Event evt) {
if (evt.getType().equals("mouseover")) {
- return evt.getTarget().cast();
+ return evt.getEventTarget().cast();
}
if (evt.getType().equals("mouseout")) {
- return evt.getRelatedTarget().cast();
+ return evt.getRelatedEventTarget().cast();
}
return null;
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/BigDecimal_CustomFieldSerializer.java
Thu Feb 25 10:33:31 2010
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/BigDecimal_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -29,6 +29,10 @@
*/
public class BigDecimal_CustomFieldSerializer {
+ /**
+ * @param streamReader a SerializationStreamReader instance
+ * @param instance the instance to be deserialized
+ */
public static void deserialize(SerializationStreamReader streamReader,
BigDecimal instance) {
}
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/BigInteger_CustomFieldSerializer.java
Thu Feb 25 10:33:31 2010
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/BigInteger_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -29,6 +29,10 @@
*/
public class BigInteger_CustomFieldSerializer {
+ /**
+ * @param streamReader a SerializationStreamReader instance
+ * @param instance the instance to be deserialized
+ */
public static void deserialize(SerializationStreamReader streamReader,
BigInteger instance) {
}
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/MathContext_CustomFieldSerializer.java
Thu Feb 25 10:33:31 2010
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/math/MathContext_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -30,6 +30,10 @@
*/
public class MathContext_CustomFieldSerializer {
+ /**
+ * @param streamReader a SerializationStreamReader instance
+ * @param instance the instance to be deserialized
+ */
public static void deserialize(SerializationStreamReader streamReader,
MathContext instance) {
}
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/ArrayList_CustomFieldSerializer.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/ArrayList_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,11 +26,13 @@
*/
public final class ArrayList_CustomFieldSerializer {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
ArrayList instance) throws SerializationException {
Collection_CustomFieldSerializerBase.deserialize(streamReader,
instance);
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
ArrayList instance) throws SerializationException {
Collection_CustomFieldSerializerBase.serialize(streamWriter, instance);
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Arrays.java
Mon Oct 26 14:02:26 2009
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Arrays.java
Fri Mar 19 08:12:41 2010
@@ -40,18 +40,18 @@
*/
@SuppressWarnings("unused")
public static void deserialize(SerializationStreamReader streamReader,
- List instance) throws SerializationException {
+ List<?> instance) throws SerializationException {
// Handled in instantiate.
}
- public static List instantiate(SerializationStreamReader streamReader)
+ public static List<?> instantiate(SerializationStreamReader
streamReader)
throws SerializationException {
Object[] array = (Object[]) streamReader.readObject();
return java.util.Arrays.asList(array);
}
public static void serialize(SerializationStreamWriter streamWriter,
- List instance) throws SerializationException {
+ List<?> instance) throws SerializationException {
Object[] array;
if (GWT.isScript()) {
// Violator pattern.
@@ -63,7 +63,7 @@
streamWriter.writeObject(array);
}
- private static native Object[] getArray0(List instance) /*-{
+ private static native Object[] getArray0(List<?> instance) /*-{
return [email protected]$arraylist::array;
}-*/;
}
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Collection_CustomFieldSerializerBase.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Collection_CustomFieldSerializerBase.java
Fri Mar 19 08:12:41 2010
@@ -26,6 +26,7 @@
*/
public final class Collection_CustomFieldSerializerBase {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
Collection instance) throws SerializationException {
int size = streamReader.readInt();
@@ -35,6 +36,7 @@
}
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
Collection instance) throws SerializationException {
int size = instance.size();
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Date_CustomFieldSerializer.java
Mon Oct 26 14:02:26 2009
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Date_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,7 +26,10 @@
*/
public final class Date_CustomFieldSerializer {
- @SuppressWarnings("unused")
+ /**
+ * @param streamReader a SerializationStreamReader instance
+ * @param instance the instance to be deserialized
+ */
public static void deserialize(SerializationStreamReader streamReader,
Date instance) {
// No fields
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashMap_CustomFieldSerializer.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashMap_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,11 +26,13 @@
*/
public final class HashMap_CustomFieldSerializer {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
HashMap instance) throws SerializationException {
Map_CustomFieldSerializerBase.deserialize(streamReader, instance);
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
HashMap instance) throws SerializationException {
Map_CustomFieldSerializerBase.serialize(streamWriter, instance);
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashSet_CustomFieldSerializer.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashSet_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,11 +26,13 @@
*/
public final class HashSet_CustomFieldSerializer {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
HashSet instance) throws SerializationException {
Collection_CustomFieldSerializerBase.deserialize(streamReader,
instance);
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
HashSet instance) throws SerializationException {
Collection_CustomFieldSerializerBase.serialize(streamWriter, instance);
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/IdentityHashMap_CustomFieldSerializer.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/IdentityHashMap_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,14 +26,15 @@
*/
public final class IdentityHashMap_CustomFieldSerializer {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
IdentityHashMap instance) throws SerializationException {
Map_CustomFieldSerializerBase.deserialize(streamReader, instance);
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
IdentityHashMap instance) throws SerializationException {
Map_CustomFieldSerializerBase.serialize(streamWriter, instance);
}
-
-}
+}
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/LinkedList_CustomFieldSerializer.java
Wed Apr 2 21:18:02 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/LinkedList_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,11 +26,13 @@
*/
public final class LinkedList_CustomFieldSerializer {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
LinkedList instance) throws SerializationException {
Collection_CustomFieldSerializerBase.deserialize(streamReader,
instance);
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
LinkedList instance) throws SerializationException {
Collection_CustomFieldSerializerBase.serialize(streamWriter, instance);
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Map_CustomFieldSerializerBase.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Map_CustomFieldSerializerBase.java
Fri Mar 19 08:12:41 2010
@@ -28,6 +28,7 @@
*/
public final class Map_CustomFieldSerializerBase {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
Map instance) throws SerializationException {
int size = streamReader.readInt();
@@ -40,6 +41,7 @@
}
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
Map instance) throws SerializationException {
int size = instance.size();
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Vector_CustomFieldSerializer.java
Wed Apr 2 12:28:28 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Vector_CustomFieldSerializer.java
Fri Mar 19 08:12:41 2010
@@ -26,11 +26,13 @@
*/
public final class Vector_CustomFieldSerializer {
+ @SuppressWarnings("unchecked")
public static void deserialize(SerializationStreamReader streamReader,
Vector instance) throws SerializationException {
Collection_CustomFieldSerializerBase.deserialize(streamReader,
instance);
}
+ @SuppressWarnings("unchecked")
public static void serialize(SerializationStreamWriter streamWriter,
Vector instance) throws SerializationException {
Collection_CustomFieldSerializerBase.serialize(streamWriter, instance);
=======================================
---
/trunk/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamReader.java
Wed Apr 16 22:36:05 2008
+++
/trunk/user/src/com/google/gwt/user/client/rpc/impl/AbstractSerializationStreamReader.java
Fri Mar 19 08:12:41 2010
@@ -22,7 +22,7 @@
/**
* Base class for the client and server serialization streams. This class
- * handles the basic serialization and desirialization formatting for
primitive
+ * handles the basic serialization and deserialization formatting for
primitive
* types since these are common between the client and the server.
*/
public abstract class AbstractSerializationStreamReader extends
@@ -30,6 +30,11 @@
private ArrayList<Object> seenArray = new ArrayList<Object>();
+ /**
+ * Prepare to read the stream.
+ *
+ * @param encoded unused true if the stream is encoded
+ */
public void prepareToRead(String encoded) throws SerializationException {
seenArray.clear();
=======================================
--- /trunk/user/src/com/google/gwt/user/client/ui/HTMLPanel.java Thu Feb 18
10:19:29 2010
+++ /trunk/user/src/com/google/gwt/user/client/ui/HTMLPanel.java Fri Mar 19
08:12:41 2010
@@ -123,7 +123,6 @@
* @param widget the widget to be added
* @param toReplace the element to be replaced by the widget
*/
- @SuppressWarnings("deprecation")
public final void addAndReplaceElement(Widget widget, Element toReplace)
{
com.google.gwt.user.client.Element clientElem = toReplace.cast();
addAndReplaceElement(widget, clientElem);
=======================================
***Additional files exist in this changeset.***
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
To unsubscribe from this group, send email to
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with
the words "REMOVE ME" as the subject.