comparison src/org/tmatesoft/hg/core/HgFileInformer.java @ 274:9fb50c04f03c

Use Nodeid.isNull check instead of NULL.equals
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 25 Aug 2011 03:57:39 +0200
parents 8c951645bea0
children 6dbbc53fc46d
comparison
equal deleted inserted replaced
273:8f872bd7ddd2 274:9fb50c04f03c
56 * 56 *
57 * @param nid changeset identifier 57 * @param nid changeset identifier
58 * @return <code>this</code> for convenience 58 * @return <code>this</code> for convenience
59 */ 59 */
60 public HgFileInformer changeset(Nodeid nid) { 60 public HgFileInformer changeset(Nodeid nid) {
61 if (nid == null || Nodeid.NULL.equals(nid)) { 61 if (nid == null || nid.isNull()) {
62 throw new IllegalArgumentException(); 62 throw new IllegalArgumentException();
63 } 63 }
64 cset = nid; 64 cset = nid;
65 cachedManifest = null; 65 cachedManifest = null;
66 fileRevision = null; 66 fileRevision = null;