[jboss-cvs] jboss-seam/src/remoting/org/jboss/seam/remoting/gwt ...

Gavin King gavin.king at jboss.com
Fri Jun 15 22:21:44 EDT 2007


  User: gavin   
  Date: 07/06/15 22:21:44

  Modified:    src/remoting/org/jboss/seam/remoting/gwt  
                        GWTRemoteService.java GWTToSeamAdapter.java
  Log:
  commented uncalled code
  
  Revision  Changes    Path
  1.2       +9 -13     jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTRemoteService.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: GWTRemoteService.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTRemoteService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- GWTRemoteService.java	15 Apr 2007 03:40:02 -0000	1.1
  +++ GWTRemoteService.java	16 Jun 2007 02:21:44 -0000	1.2
  @@ -9,10 +9,7 @@
   import java.io.InputStream;
   import java.io.UnsupportedEncodingException;
   import java.lang.reflect.InvocationTargetException;
  -import java.lang.reflect.Method;
   import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.Set;
   import java.util.zip.GZIPOutputStream;
   
   import javax.servlet.ServletContext;
  @@ -28,7 +25,6 @@
   import org.jboss.seam.remoting.gwt.GWTToSeamAdapter.ReturnedObject;
   import org.jboss.seam.servlet.AbstractResource;
   
  -import com.google.gwt.user.client.rpc.RemoteService;
   import com.google.gwt.user.client.rpc.SerializableException;
   import com.google.gwt.user.client.rpc.SerializationException;
   import com.google.gwt.user.server.rpc.impl.ServerSerializableTypeOracle;
  @@ -124,7 +120,7 @@
     /**
      * Find the invoked method on either the specified interface or any super.
      */
  -  private static Method findInterfaceMethod(Class intf, String methodName,
  +  /*private static Method findInterfaceMethod(Class intf, String methodName,
         Class[] paramTypes, boolean includeInherited) {
       try {
         return intf.getDeclaredMethod(methodName, paramTypes);
  @@ -142,9 +138,9 @@
   
         return null;
       }
  -  }
  +  }*/
   
  -  private final Set knownImplementedInterfaces = new HashSet();
  +  //private final Set knownImplementedInterfaces = new HashSet();
   
     private final ThreadLocal perThreadRequest = new ThreadLocal();
   
  @@ -475,7 +471,7 @@
      * @param e
      * @return is expected exception
      */
  -  private boolean isExpectedException(Method serviceIntfMethod, Throwable cause) {
  +  /*private boolean isExpectedException(Method serviceIntfMethod, Throwable cause) {
       assert (serviceIntfMethod != null);
       assert (cause != null);
   
  @@ -498,13 +494,13 @@
       }
   
       return false;
  -  }
  +  }*/
   
     /**
      * Used to determine whether the specified interface name is implemented by
      * this class without loading the class (for security).
      */
  -  private boolean isImplementedRemoteServiceInterface(String intfName) {
  +  /*private boolean isImplementedRemoteServiceInterface(String intfName) {
       synchronized (knownImplementedInterfaces) {
         // See if it's cached.
         //
  @@ -534,12 +530,12 @@
   
         return false;
       }
  -  }
  +  }*/
   
     /**
      * Only called from isImplementedInterface().
      */
  -  private boolean isImplementedRemoteServiceInterfaceRecursive(String intfName,
  +  /*private boolean isImplementedRemoteServiceInterfaceRecursive(String intfName,
         Class intfToCheck) {
       assert (intfToCheck.isInterface());
   
  @@ -563,7 +559,7 @@
       }
   
       return false;
  -  }
  +  }*/
   
     private String readPayloadAsUtf8(HttpServletRequest request)
         throws IOException, ServletException {
  
  
  
  1.3       +0 -1      jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTToSeamAdapter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: GWTToSeamAdapter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTToSeamAdapter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- GWTToSeamAdapter.java	16 Apr 2007 00:58:44 -0000	1.2
  +++ GWTToSeamAdapter.java	16 Jun 2007 02:21:44 -0000	1.3
  @@ -109,7 +109,6 @@
       * @param methodName
       * @param clz
       * @param paramTypes
  -    * @return
       */
      private Method getMethod(String serviceName, String methodName, Class clz,
            Class[] paramTypes) {
  
  
  



More information about the jboss-cvs-commits mailing list