jakarta-slide-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juer...@apache.org
Subject cvs commit: jakarta-slide/src/share/org/apache/slide/content NodeRevisionContent.java
Date Mon, 29 Jan 2001 10:29:37 GMT
juergen     01/01/29 02:29:37

  Modified:    src/share/org/apache/slide/content NodeRevisionContent.java
  Log:
  made a method public and static to be called from other classes (see next check-in)
  
  Revision  Changes    Path
  1.6       +7 -7      jakarta-slide/src/share/org/apache/slide/content/NodeRevisionContent.java
  
  Index: NodeRevisionContent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/NodeRevisionContent.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- NodeRevisionContent.java	2001/01/04 00:58:23	1.5
  +++ NodeRevisionContent.java	2001/01/29 10:29:37	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/NodeRevisionContent.java,v
1.5 2001/01/04 00:58:23 remm Exp $
  - * $Revision: 1.5 $
  - * $Date: 2001/01/04 00:58:23 $
  + * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/NodeRevisionContent.java,v
1.6 2001/01/29 10:29:37 juergen Exp $
  + * $Revision: 1.6 $
  + * $Date: 2001/01/29 10:29:37 $
    *
    * ====================================================================
    *
  @@ -75,7 +75,7 @@
    *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
    * @author Juergen Pill
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public final class NodeRevisionContent implements Serializable {
       
  @@ -242,10 +242,10 @@
       
       
       /**
  -     * Read the data from the stream and return the result in a byte array. 
  +     * Read the data from the stream and return the result in a byte array.
        * Return null in case of an error.
        */
  -    private byte[] readFromStream(InputStream inputStream) {
  +    public static  byte[] readFromStream(InputStream inputStream) {
           byte[] chunk;
           byte[] all;
           int chunkLen;
  @@ -287,7 +287,7 @@
       
       
       /**
  -     * Read the data from the reader and return the result in a char array. 
  +     * Read the data from the reader and return the result in a char array.
        * Return null in case of an error.
        */
       private char[] readFromReader(Reader reader) {
  
  
  

Mime
View raw message