Browse Source

Fix formatting of serialization code in ObjectId

Change-Id: I5b3e99e9e658fe272a9e171db04b0f20e48ed8d3
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
stable-0.9
Shawn O. Pearce 14 years ago
parent
commit
3820b0281a
  1. 7
      org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java

7
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java

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

Loading…
Cancel
Save