deprecate unused toDate(Date)

This commit is contained in:
zzz
2010-11-05 12:46:41 +00:00
parent 647b8f7fa1
commit 1f48c6c03d

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);