Signed-off-by: Marek Zawirski <marek.zawirski@xxxxxxxxx> --- .../org/spearce/jgit/lib/UnpackedObjectLoader.java | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java b/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java index 4e95387..a5c484b 100644 --- a/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java +++ b/org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java @@ -49,8 +49,7 @@ import org.spearce.jgit.util.MutableInteger; import org.spearce.jgit.util.RawParseUtils; /** - * Loose object loader. This class loads an object not - * stored in a pack. + * Loose object loader. This class loads an object not stored in a pack. */ public class UnpackedObjectLoader extends ObjectLoader { private final int objectType; @@ -61,8 +60,11 @@ public class UnpackedObjectLoader extends ObjectLoader { /** * Construct an ObjectLoader for the specified SHA-1 - * @param db repository - * @param id SHA-1 + * + * @param db + * repository + * @param id + * SHA-1 * @throws IOException */ public UnpackedObjectLoader(final Repository db, final ObjectId id) @@ -94,11 +96,13 @@ public class UnpackedObjectLoader extends ObjectLoader { * The compressed data supplied does not match the format for a * valid loose object. */ - public UnpackedObjectLoader(final byte[] compressed) throws CorruptObjectException { + public UnpackedObjectLoader(final byte[] compressed) + throws CorruptObjectException { this(compressed, null); } - private UnpackedObjectLoader(final byte[] compressed, final ObjectId id) throws CorruptObjectException { + private UnpackedObjectLoader(final byte[] compressed, final ObjectId id) + throws CorruptObjectException { setId(id); // Try to determine if this is a legacy format loose object or -- 1.5.5.1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html