From 3820b0281ab5abff0123d56e0886a4830ee3d424 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Thu, 19 Aug 2010 11:53:22 -0700 Subject: [PATCH] Fix formatting of serialization code in ObjectId Change-Id: I5b3e99e9e658fe272a9e171db04b0f20e48ed8d3 Signed-off-by: Shawn O. Pearce --- org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java index 36a9c7cd3..4d6dab4bb 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java +++ b/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();