mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 17:23:13 +00:00
deprecate unused toDate(Date)
This commit is contained in:
1 parent
647b8f7fa1
commit
1f48c6c03d
1 file changed
+2
@@ -535,6 +535,8 @@ public class DataHelper {
|
||||
else
|
||||
writeLong(out, DATE_LENGTH, date.getTime());
|
||||
}
|
||||
|
||||
/** @deprecated unused */
|
||||
public static byte[] toDate(Date date) throws IllegalArgumentException {
|
||||
if (date == null)
|
||||
return toLong(DATE_LENGTH, 0L);
|
||||
|
||||
Reference in new issue
Block a user