Mercurial > jhg
comparison src/com/tmate/hgkit/ll/Changeset.java @ 64:19e9e220bf68
Convenient commands constitute hi-level API. org.tmatesoft namespace, GPL2 statement
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 21 Jan 2011 05:56:43 +0100 |
parents | fd4f2c98995b |
children |
comparison
equal
deleted
inserted
replaced
63:a47530a2ea12 | 64:19e9e220bf68 |
---|---|
92 if (extras != null) { | 92 if (extras != null) { |
93 sb.append(", Extra: ").append(extras); | 93 sb.append(", Extra: ").append(extras); |
94 } | 94 } |
95 sb.append("}"); | 95 sb.append("}"); |
96 return sb.toString(); | 96 return sb.toString(); |
97 } | |
98 | |
99 @Override | |
100 public Changeset clone() { | |
101 try { | |
102 return (Changeset) super.clone(); | |
103 } catch (CloneNotSupportedException ex) { | |
104 throw new InternalError(ex.toString()); | |
105 } | |
97 } | 106 } |
98 | 107 |
99 public static Changeset parse(byte[] data, int offset, int length) { | 108 public static Changeset parse(byte[] data, int offset, int length) { |
100 Changeset rv = new Changeset(); | 109 Changeset rv = new Changeset(); |
101 rv.init(data, offset, length); | 110 rv.init(data, offset, length); |