propagate from branch 'i2p.i2p' (head 7f26a3df7f04d3c069c63b4633871bd7676f6167)

to branch 'i2p.i2p.zzz.test4' (head 91572937612227b99f41e7e170ae38574a001e7b)
This commit is contained in:
zzz
2010-11-05 12:46:59 +00:00

View File

@ -535,6 +535,8 @@ public class DataHelper {
else else
writeLong(out, DATE_LENGTH, date.getTime()); writeLong(out, DATE_LENGTH, date.getTime());
} }
/** @deprecated unused */
public static byte[] toDate(Date date) throws IllegalArgumentException { public static byte[] toDate(Date date) throws IllegalArgumentException {
if (date == null) if (date == null)
return toLong(DATE_LENGTH, 0L); return toLong(DATE_LENGTH, 0L);