Re: [JGIT PATCH] 1/2 : (reworked) Externalizable/Serializable Items

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Wednesday, February 18, 2009 - 9:30 am

Nigel Magnay <nigel.magnay@gmail.com> wrote:

We should define our own serialVersionUID:

  private static final long serialVersionUID = 1L;

is good enough to make Java happy.


Minor nit: Only 1 space between ) and throws, please.


Please set a serialVersionUID.


There is some sort of whitespace damage here, the second for loop
is not lined up at the same starting column as the first for loop.
My guess is, you have tabs in here.  We only indent with spaces.


Should we maybe allow RefSpec to serialize itself with
os.writeObject() rather than using writeUTF() directly?

FWIW, I did find this new implementation to be much easier to read.
Thanks.

-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [JGIT PATCH] 1/2 : (reworked) Externalizable/Serializa ..., Johannes Schindelin, (Mon Feb 16, 1:16 pm)
Re: [JGIT PATCH] 1/2 : (reworked) Externalizable/Serializa ..., Shawn O. Pearce, (Wed Feb 18, 9:30 am)