-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Hi!
This is not an issue and sorry if I suggest something stupid, but I was
wondering can you improve the usability of the diff tools, by introducing some
type information about the Delta.
So instead of looking after the types, with the instanceof operator, I can get
the type of the change by retrieving an enum.
E.g.:
Delta delta = patch.getDeltas().get(0);
if(Delta.TYPE.Delete.equals(delta.getType());
Than you can make the change deltas package-private for cleanable API.
Just an idea.
David
Original issue reported on code.google.com by edvi...@gmail.com on 6 Aug 2010 at 1:43
Reactions are currently unavailable