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

Ovidiu Feodorov ovidiu.feodorov at jboss.com
Tue Jan 23 04:39:02 EST 2007


  User: ovidiu  
  Date: 07/01/23 04:39:02

  Modified:    src/main/org/jboss/remoting/marshal  Tag: remoting_2_x
                        UnMarshaller.java
  Log:
  various reformatting and logging improvments
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.10.1  +13 -16    JBossRemoting/src/main/org/jboss/remoting/marshal/UnMarshaller.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: UnMarshaller.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/marshal/UnMarshaller.java,v
  retrieving revision 1.5
  retrieving revision 1.5.10.1
  diff -u -b -r1.5 -r1.5.10.1
  --- UnMarshaller.java	30 Dec 2005 05:26:30 -0000	1.5
  +++ UnMarshaller.java	23 Jan 2007 09:39:02 -0000	1.5.10.1
  @@ -28,8 +28,7 @@
   import java.util.Map;
   
   /**
  - * Takes a marshalled byte array and converts to a Java
  - * data object.
  + * Takes a marshalled byte array and converts to a Java data object.
    *
    * @author <a href="mailto:tom at jboss.org">Tom Elrod</a>
    */
  @@ -38,26 +37,24 @@
      /**
       * Will read from the inputstream and converty contents to java Object.
       *
  -    * @param inputStream stream to read data from to do conversion
  +    * @param inputStream stream to read data from to do conversion.
       * @param metadata    can be any transport specific metadata (such as headers from http transport).
       *                    This can be null, depending on if transport supports metadata.
  +    *
       * @return
       * @throws IOException            all specific i/o exceptions need to be thrown as this.
  -    * @throws ClassNotFoundException will be thrown if during the unmarshalling process can not find a specific class
  -    *                                within classloader.
  +    * @throws ClassNotFoundException will be thrown if during the unmarshalling process can not find
  +    *         a specific class within classloader.
       */
  -   public Object read(InputStream inputStream, Map metadata) throws IOException, ClassNotFoundException;
  +   Object read(InputStream inputStream, Map metadata) throws IOException, ClassNotFoundException;
   
      /**
  -    * Set the class loader to use for unmarhsalling.  This may
  -    * be needed when need to have access to class definitions that
  -    * are not part of this unmarshaller's parent classloader (especially
  +    * Set the class loader to use for unmarhsalling. This may be needed when need to have access to
  +    * class definitions that are not part of this unmarshaller's parent classloader (especially
       * when doing remote classloading).
  -    *
  -    * @param classloader
       */
  -   public void setClassLoader(ClassLoader classloader);
  +   void setClassLoader(ClassLoader classloader);
   
  -   public UnMarshaller cloneUnMarshaller() throws CloneNotSupportedException;
  +   UnMarshaller cloneUnMarshaller() throws CloneNotSupportedException;
   
   }
  \ No newline at end of file
  
  
  



More information about the jboss-cvs-commits mailing list