Revision: 9882
Author:   j...@google.com
Date:     Wed Mar 23 11:44:28 2011
Log:      Fix JDK 1.6 dependency.

Patch by: jat
Review by: drfibonacci

http://code.google.com/p/google-web-toolkit/source/detail?r=9882

Modified:
/trunk/user/test/com/google/gwt/requestfactory/shared/ServiceInheritanceTest.java

=======================================
--- /trunk/user/test/com/google/gwt/requestfactory/shared/ServiceInheritanceTest.java Wed Mar 23 09:23:21 2011 +++ /trunk/user/test/com/google/gwt/requestfactory/shared/ServiceInheritanceTest.java Wed Mar 23 11:44:28 2011
@@ -30,7 +30,6 @@
    * specified in the @{@link Service} annotation.
    */
   public static class SumServiceLocator implements ServiceLocator {
-    @Override
     public Object getInstance(Class<?> clazz) {
       if (BaseImpl.class.equals(clazz)) {
         return new BaseImpl();
@@ -68,7 +67,7 @@
   }

   /**
-   * Base implementation of {@link SumService}
+   * Base implementation of {@link SumServiceBase}
    */
   static class BaseImpl {
     protected int initialValue;
@@ -87,7 +86,7 @@
   }

   /**
-   * Subclass implementation of {@link SumService}
+   * Subclass implementation of {@link SumServiceSub}
    * inherits the add() method
    */
   static class SubclassImpl extends BaseImpl {
@@ -163,7 +162,7 @@
   }

   @Override
-  protected void gwtSetUp() throws Exception {
+  protected void gwtSetUp() {
     factory = createFactory();
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to