Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/Nodeid.java @ 244:4b661efb9374
Use updated location of cache files (cache/ folder instead of .cache filename extension). Provide means to update (write down) cache for subsequent uses
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 12 Jul 2011 02:48:34 +0200 |
parents | 3a7696fb457c |
children | 436bb5f65ce1 |
comparison
equal
deleted
inserted
replaced
243:0e01f9182e16 | 244:4b661efb9374 |
---|---|
93 return binaryData[i] < o.binaryData[i] ? -1 : 1; | 93 return binaryData[i] < o.binaryData[i] ? -1 : 1; |
94 } | 94 } |
95 } | 95 } |
96 return 0; | 96 return 0; |
97 } | 97 } |
98 | 98 |
99 /** | |
100 * Complete string representation of this Nodeid. | |
101 */ | |
99 @Override | 102 @Override |
100 public String toString() { | 103 public String toString() { |
101 // XXX may want to output just single 0 for the NULL id? | 104 // XXX may want to output just single 0 for the NULL id? |
102 return toHexString(binaryData, 0, binaryData.length); | 105 return toHexString(binaryData, 0, binaryData.length); |
103 } | 106 } |