commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r1077935 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java
Date Fri, 04 Mar 2011 13:31:40 GMT
Author: scolebourne
Date: Fri Mar  4 13:31:39 2011
New Revision: 1077935

URL: http://svn.apache.org/viewvc?rev=1077935&view=rev
Log:
Make rounding mode constants private, as they are unused in public

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java?rev=1077935&r1=1077934&r2=1077935&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java Fri
Mar  4 13:31:39 2011
@@ -126,17 +126,17 @@ public class DateUtils {
      * Constant marker for truncating.
      * @since 3.0
      */
-    public static final int MODIFY_TRUNCATE = 0;
+    private static final int MODIFY_TRUNCATE = 0;
     /**
      * Constant marker for rounding.
      * @since 3.0
      */
-    public static final int MODIFY_ROUND = 1;
+    private static final int MODIFY_ROUND = 1;
     /**
      * Constant marker for ceiling.
      * @since 3.0
      */
-    public static final int MODIFY_CEILING = 2;
+    private static final int MODIFY_CEILING = 2;
 
     /**
      * <p>{@code DateUtils} instances should NOT be constructed in



Mime
View raw message