[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http ...

Ron Sigal ron_sigal at yahoo.com
Wed May 9 04:21:05 EDT 2007


  User: rsigal  
  Date: 07/05/09 04:21:05

  Modified:    src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http  
                        Tag: remoting_2_2_0_GA TestUnMarshaller.java
                        TestMarshaller.java
  Log:
  JBREM-714:  Added version to read()/write()
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.14.1  +2 -2      JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/TestUnMarshaller.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TestUnMarshaller.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/TestUnMarshaller.java,v
  retrieving revision 1.2
  retrieving revision 1.2.14.1
  diff -u -b -r1.2 -r1.2.14.1
  --- TestUnMarshaller.java	30 Dec 2005 05:26:43 -0000	1.2
  +++ TestUnMarshaller.java	9 May 2007 08:21:05 -0000	1.2.14.1
  @@ -35,9 +35,9 @@
   {
      public final static String DATATYPE = "test";
   
  -   public Object read(InputStream inputStream, Map metadata) throws IOException, ClassNotFoundException
  +   public Object read(InputStream inputStream, Map metadata, int version) throws IOException, ClassNotFoundException
      {
  -      Object ret = super.read(inputStream, metadata);
  +      Object ret = super.read(inputStream, metadata, version);
         ret = ((TestWrapper) ret).getPayload();
         return ret;
      }
  
  
  
  1.2.14.1  +2 -2      JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/TestMarshaller.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TestMarshaller.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/TestMarshaller.java,v
  retrieving revision 1.2
  retrieving revision 1.2.14.1
  diff -u -b -r1.2 -r1.2.14.1
  --- TestMarshaller.java	30 Dec 2005 05:26:43 -0000	1.2
  +++ TestMarshaller.java	9 May 2007 08:21:05 -0000	1.2.14.1
  @@ -44,10 +44,10 @@
       * @param output     The data output to write the object
       *                   data to.
       */
  -   public void write(Object dataObject, OutputStream output) throws IOException
  +   public void write(Object dataObject, OutputStream output, int version) throws IOException
      {
         TestWrapper wrapper = new TestWrapper(dataObject);
  -      super.write(wrapper, output);
  +      super.write(wrapper, output, version);
      }
   
      public String getDataType()
  
  
  



More information about the jboss-cvs-commits mailing list