emul/src/main/java/java/lang/StringBuilder.java
branchemul
changeset 79 a6ac0a32d3ea
parent 52 94c1a17117f3
child 403 2dcc8f2e1a1b
     1.1 --- a/emul/src/main/java/java/lang/StringBuilder.java	Sat Sep 29 06:38:34 2012 +0200
     1.2 +++ b/emul/src/main/java/java/lang/StringBuilder.java	Sun Sep 30 17:29:51 2012 -0700
     1.3 @@ -416,22 +416,22 @@
     1.4       *             characters currently stored in the string builder, in which
     1.5       *             case extra characters are ignored.
     1.6       */
     1.7 -    private void writeObject(java.io.ObjectOutputStream s)
     1.8 -        throws java.io.IOException {
     1.9 -        s.defaultWriteObject();
    1.10 -        s.writeInt(count);
    1.11 -        s.writeObject(value);
    1.12 -    }
    1.13 +//    private void writeObject(java.io.ObjectOutputStream s)
    1.14 +//        throws java.io.IOException {
    1.15 +//        s.defaultWriteObject();
    1.16 +//        s.writeInt(count);
    1.17 +//        s.writeObject(value);
    1.18 +//    }
    1.19  
    1.20      /**
    1.21       * readObject is called to restore the state of the StringBuffer from
    1.22       * a stream.
    1.23       */
    1.24 -    private void readObject(java.io.ObjectInputStream s)
    1.25 -        throws java.io.IOException, ClassNotFoundException {
    1.26 -        s.defaultReadObject();
    1.27 -        count = s.readInt();
    1.28 -        value = (char[]) s.readObject();
    1.29 -    }
    1.30 +//    private void readObject(java.io.ObjectInputStream s)
    1.31 +//        throws java.io.IOException, ClassNotFoundException {
    1.32 +//        s.defaultReadObject();
    1.33 +//        count = s.readInt();
    1.34 +//        value = (char[]) s.readObject();
    1.35 +//    }
    1.36  
    1.37  }