diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2010-08-19 11:53:22 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2010-08-19 11:53:22 -0700 |
commit | 3820b0281ab5abff0123d56e0886a4830ee3d424 (patch) | |
tree | b3ed4035360d10bff8c70bfb1519a2b1539d0d8b /org.eclipse.jgit | |
parent | 1c2290c8d6e69b50fa4f474aeb7968cd4f1485b7 (diff) | |
download | jgit-3820b0281ab5abff0123d56e0886a4830ee3d424.tar.gz jgit-3820b0281ab5abff0123d56e0886a4830ee3d424.zip |
Fix formatting of serialization code in ObjectId
Change-Id: I5b3e99e9e658fe272a9e171db04b0f20e48ed8d3
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectId.java | 7 |
1 files 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 36a9c7cd34..4d6dab4bb6 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(); |