Mercurial > jhg
changeset 38:50dfc69c108e
Nodeid is confusing, denote it's reference to manifest
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 14 Jan 2011 00:52:19 +0100 |
parents | e45e75e22523 |
children | 4e9b66b07a28 |
files | src/com/tmate/hgkit/ll/Changeset.java |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/Changeset.java Fri Jan 14 00:49:58 2011 +0100 +++ b/src/com/tmate/hgkit/ll/Changeset.java Fri Jan 14 00:52:19 2011 +0100 @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2010 Artem Tikhomirov +/* + * Copyright (c) 2010, 2011 Artem Tikhomirov */ package com.tmate.hgkit.ll; @@ -24,7 +24,7 @@ */ public class Changeset { // TODO immutable - private /*final*/ Nodeid nodeid; + private /*final*/ Nodeid manifest; private String user; private String comment; private ArrayList<String> files; @@ -33,7 +33,7 @@ public void dump() { System.out.println("User:" + user); System.out.println("Comment:" + comment); - System.out.println("Nodeid:" + nodeid); + System.out.println("Manifest:" + manifest); System.out.println("Date:" + timezone); System.out.println("Files: " + files.size()); for (String s : files) { @@ -92,7 +92,7 @@ throw new IllegalStateException("Could hardly happen"); } // change this instance at once, don't leave it partially changes in case of error - this.nodeid = _nodeid; + this.manifest = _nodeid; this.user = _user; this.timezone = _timezone; this.files = _files;