[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/marshal/http ...

Ron Sigal ron_sigal at yahoo.com
Tue Nov 21 00:49:49 EST 2006


  User: rsigal  
  Date: 06/11/21 00:49:49

  Modified:    src/main/org/jboss/remoting/marshal/http 
                        HTTPUnMarshaller.java
  Log:
  JBREM-635:  Remove warning message in read().
  
  Revision  Changes    Path
  1.11      +2 -9      JBossRemoting/src/main/org/jboss/remoting/marshal/http/HTTPUnMarshaller.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: HTTPUnMarshaller.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/marshal/http/HTTPUnMarshaller.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- HTTPUnMarshaller.java	21 Sep 2006 07:37:03 -0000	1.10
  +++ HTTPUnMarshaller.java	21 Nov 2006 05:49:49 -0000	1.11
  @@ -59,15 +59,8 @@
       */
      public Object read(InputStream inputStream, Map metadata) throws IOException, ClassNotFoundException
      {
  -      try
  -      {
            if (isBinaryData(metadata))
               return super.read(inputStream, metadata);
  -      }
  -      catch (Exception e)
  -      {
  -         log.warn("Can not get Content-Type from header for http unmarshalling.");
  -      }
         
         int contentLength = -1;
         Object ret = null;
  
  
  



More information about the jboss-cvs-commits mailing list