|
|
@ -58,7 +58,8 @@ import java.io.Serializable; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class ObjectId extends AnyObjectId implements Serializable { |
|
|
|
public class ObjectId extends AnyObjectId implements Serializable { |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
private static final ObjectId ZEROID; |
|
|
|
|
|
|
|
|
|
|
|
private static final ObjectId ZEROID; |
|
|
|
|
|
|
|
|
|
|
|
private static final String ZEROID_STR; |
|
|
|
private static final String ZEROID_STR; |
|
|
|
|
|
|
|
|
|
|
@ -278,7 +279,7 @@ public class ObjectId extends AnyObjectId implements Serializable { |
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void writeObject(ObjectOutputStream os) throws IOException { |
|
|
|
private void writeObject(ObjectOutputStream os) throws IOException { |
|
|
|
os.writeInt(w1); |
|
|
|
os.writeInt(w1); |
|
|
|
os.writeInt(w2); |
|
|
|
os.writeInt(w2); |
|
|
|
os.writeInt(w3); |
|
|
|
os.writeInt(w3); |
|
|
@ -286,7 +287,7 @@ public class ObjectId extends AnyObjectId implements Serializable { |
|
|
|
os.writeInt(w5); |
|
|
|
os.writeInt(w5); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void readObject(ObjectInputStream ois) throws IOException { |
|
|
|
private void readObject(ObjectInputStream ois) throws IOException { |
|
|
|
w1 = ois.readInt(); |
|
|
|
w1 = ois.readInt(); |
|
|
|
w2 = ois.readInt(); |
|
|
|
w2 = ois.readInt(); |
|
|
|
w3 = ois.readInt(); |
|
|
|
w3 = ois.readInt(); |
|
|
|