diff 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
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/Changeset.java	Tue Jan 18 18:42:50 2011 +0100
+++ b/src/com/tmate/hgkit/ll/Changeset.java	Fri Jan 21 05:56:43 2011 +0100
@@ -95,6 +95,15 @@
 		sb.append("}");
 		return sb.toString();
 	}
+	
+	@Override
+	public Changeset clone() {
+		try {
+			return (Changeset) super.clone();
+		} catch (CloneNotSupportedException ex) {
+			throw new InternalError(ex.toString());
+		}
+	}
 
 	public static Changeset parse(byte[] data, int offset, int length) {
 		Changeset rv = new Changeset();