Revision: 9550
Author: ncha...@google.com
Date: Fri Jan 14 06:38:38 2011
Log: Fix a generics compile error on OSX java 1.6
Review at http://gwt-code-reviews.appspot.com/1289801
Review by: rchan...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=9550
Modified:
/trunk/user/test/com/google/gwt/requestfactory/client/RequestFactoryTestBase.java
=======================================
---
/trunk/user/test/com/google/gwt/requestfactory/client/RequestFactoryTestBase.java
Wed Nov 24 12:33:58 2010
+++
/trunk/user/test/com/google/gwt/requestfactory/client/RequestFactoryTestBase.java
Fri Jan 14 06:38:38 2011
@@ -1,12 +1,12 @@
/*
* Copyright 2010 Google Inc.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may
not
* use this file except in compliance with the License. You may obtain a
copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -36,7 +36,7 @@
* A base class for anything that makes use of the SimpleRequestFactory.
* Subclasses must always use {@link #finishTestAndReset()} in order to
allow
* calls to the reset methods to complete before the next test starts.
- *
+ *
*/
public abstract class RequestFactoryTestBase extends GWTTestCase {
@@ -102,7 +102,7 @@
store = new DefaultProxyStore(store.encode());
s = req.getSerializer(store);
T restored = s.deserialize(id.getProxyClass(), key);
- AutoBean<BaseProxy> restoredBean = AutoBeanUtils.getAutoBean(restored);
+ AutoBean<? extends BaseProxy> restoredBean =
AutoBeanUtils.getAutoBean(restored);
assertNotSame(proxy, restored);
/*
* Performing a regular assertEquals() or even an AutoBeanUtils.diff()
here
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors