Mercurial > jhg
diff src/com/tmate/hgkit/ll/DigestHelper.java @ 31:346b66add79d
Basic lookup for incoming changes
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 12 Jan 2011 00:30:55 +0100 |
parents | 571e1b2cc3f7 |
children | 858d1b2458cb |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/DigestHelper.java Tue Jan 11 04:49:06 2011 +0100 +++ b/src/com/tmate/hgkit/ll/DigestHelper.java Wed Jan 12 00:30:55 2011 +0100 @@ -1,5 +1,5 @@ -/** - * Copyright (c) 2010 Artem Tikhomirov +/* + * Copyright (c) 2010, 2011 Artem Tikhomirov */ package com.tmate.hgkit.ll; @@ -51,7 +51,7 @@ return digest; } - public String toHexString(byte[] data, final int offset, final int count) { + public static String toHexString(byte[] data, final int offset, final int count) { char[] result = new char[count << 1]; final String hexDigits = "0123456789abcdef"; final int end = offset+count;