deprecate unused toDate(Date)
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user