Parent Directory | Revision Log | Patch
revision 1.4 by benja, Sun Apr 6 21:36:30 2003 UTC | revision 1.5 by benja, Mon Apr 7 18:35:58 2003 UTC | |
---|---|---|
# | Line 68 public final class BlockId { | Line 68 public final class BlockId { |
68 | this.tigertree = tigertree; | this.tigertree = tigertree; |
69 | this.contentType = contentType; | this.contentType = contentType; |
70 | ||
71 | uri = PREFIX + contentType + "," + | String uri = PREFIX + contentType + "," + |
72 | Base32.encode(sha1) + "." + Base32.encode(tigertree); | Base32.encode(sha1) + "." + Base32.encode(tigertree); |
73 | ||
74 | this.uri = uri.toLowerCase().intern(); | |
75 | } | } |
76 | ||
77 | public byte[] getSha1() { return sha1; } | public byte[] getSha1() { return sha1; } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |