You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/08 01:11:02 UTC
[commons-compress] branch master updated: Make statics private
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
The following commit(s) were added to refs/heads/master by this push:
new 8a81cf14 Make statics private
8a81cf14 is described below
commit 8a81cf14064666fbbe4dc0accf029245f710b009
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 7 20:10:56 2022 -0500
Make statics private
---
src/main/java/org/apache/commons/compress/utils/TimeUtils.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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 e4bc119c..46fb02c3 100644
--- a/src/main/java/org/apache/commons/compress/utils/TimeUtils.java
+++ b/src/main/java/org/apache/commons/compress/utils/TimeUtils.java
@@ -42,13 +42,13 @@ public final class TimeUtils {
* This is the offset of Windows time 0 to Unix epoch in 100-nanosecond intervals.
* </p>
*/
- public static final long WINDOWS_EPOCH_OFFSET = -116444736000000000L;
+ private static final long WINDOWS_EPOCH_OFFSET = -116444736000000000L;
/** The amount of 100-nanosecond intervals in one second. */
- public static final long HUNDRED_NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1) / 100;
+ private static final long HUNDRED_NANOS_PER_SECOND = TimeUnit.SECONDS.toNanos(1) / 100;
/** The amount of 100-nanosecond intervals in one millisecond. */
- public static final long HUNDRED_NANOS_PER_MILLISECOND = TimeUnit.MILLISECONDS.toNanos(1) / 100;
+ private static final long HUNDRED_NANOS_PER_MILLISECOND = TimeUnit.MILLISECONDS.toNanos(1) / 100;
/**
* Converts NTFS time (100 nanosecond units since 1 January 1601) to Java time.