This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 38bc9718b22eb19d0886608594a1f34f37f52736 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Dec 22 15:53:42 2023 -0500 Comments --- src/main/java/org/apache/commons/compress/utils/TimeUtils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/apache/commons/compress/utils/TimeUtils.java b/src/main/java/org/apache/commons/compress/utils/TimeUtils.java index c949c26eb..4d5917bcf 100644 --- a/src/main/java/org/apache/commons/compress/utils/TimeUtils.java +++ b/src/main/java/org/apache/commons/compress/utils/TimeUtils.java @@ -62,6 +62,7 @@ public final class TimeUtils { * @return true if the time exceeds the minimum or maximum UNIX time, false otherwise. */ public static boolean isUnixTime(final FileTime time) { + // TODO Apache Commons IO 2.16.0 return isUnixTime(toUnixTime(time)); } @@ -72,6 +73,7 @@ public final class TimeUtils { * @return true if the time can be represented in the standard UNIX time, false otherwise. */ public static boolean isUnixTime(final long seconds) { + // TODO Apache Commons IO 2.16.0 return Integer.MIN_VALUE <= seconds && seconds <= Integer.MAX_VALUE; } @@ -170,6 +172,7 @@ public final class TimeUtils { * @return the UNIX timestamp. */ public static long toUnixTime(final FileTime fileTime) { + // TODO Apache Commons IO 2.16.0 return fileTime != null ? fileTime.to(TimeUnit.SECONDS) : 0; }