emul/compact/src/main/java/java/util/Collections.java
changeset 599 d0f57d3ea898
parent 597 ee8a922f4268
child 636 8d0be6a9a809
     1.1 --- a/emul/compact/src/main/java/java/util/Collections.java	Mon Jan 28 13:28:02 2013 +0100
     1.2 +++ b/emul/compact/src/main/java/java/util/Collections.java	Mon Jan 28 13:52:28 2013 +0100
     1.3 @@ -25,9 +25,9 @@
     1.4  
     1.5  package java.util;
     1.6  import java.io.Serializable;
     1.7 -import java.io.ObjectOutputStream;
     1.8  import java.io.IOException;
     1.9  import java.lang.reflect.Array;
    1.10 +import org.apidesign.bck2brwsr.emul.lang.System;
    1.11  
    1.12  /**
    1.13   * This class consists exclusively of static methods that operate on or return
    1.14 @@ -1655,9 +1655,6 @@
    1.15          public String toString() {
    1.16              synchronized (mutex) {return c.toString();}
    1.17          }
    1.18 -        private void writeObject(ObjectOutputStream s) throws IOException {
    1.19 -            synchronized (mutex) {s.defaultWriteObject();}
    1.20 -        }
    1.21      }
    1.22  
    1.23      /**
    1.24 @@ -2081,9 +2078,6 @@
    1.25          public String toString() {
    1.26              synchronized (mutex) {return m.toString();}
    1.27          }
    1.28 -        private void writeObject(ObjectOutputStream s) throws IOException {
    1.29 -            synchronized (mutex) {s.defaultWriteObject();}
    1.30 -        }
    1.31      }
    1.32  
    1.33      /**
    1.34 @@ -3906,12 +3900,6 @@
    1.35  
    1.36          private static final long serialVersionUID = 2454657854757543876L;
    1.37  
    1.38 -        private void readObject(java.io.ObjectInputStream stream)
    1.39 -            throws IOException, ClassNotFoundException
    1.40 -        {
    1.41 -            stream.defaultReadObject();
    1.42 -            s = m.keySet();
    1.43 -        }
    1.44      }
    1.45  
    1.46      /**