Re: [PATCH JGIT] Minor : Make ObjectId, RemoteConfig Serializable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fredag 06 februari 2009 22:15:29 skrev Nigel Magnay:
> Make AnyObjectId and RemoteConfig Serializable.
> When using jgit as a library in other tools, it's helpful to be able
> to use the nice, tested bits of jgit rather than String, but need to
> be able to serialize them.

A problem (big problem) with serialization is that it often leads to
fragile interfaces. One might want to have precise control over
the serialization so a change in the implementation doesn't affect
compatibility. Serializing AnyObjectId should not depend on the
implementation de jour. Second, how do we handle subclasses?

But maybe leaving it this way would be our way of saying that
the interface may break at any time, promise.

-- robin
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux