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/07/05 14:26:08 UTC

[commons-lang] 08/09: Clean up inline comments

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-lang.git

commit edbaebb4d1e5b59da69a451eed5acb326c47879e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 5 10:16:48 2022 -0400

    Clean up inline comments
---
 src/main/java/org/apache/commons/lang3/time/DateUtils.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
index b6db859c3..aadfdbb31 100644
--- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java
@@ -908,7 +908,7 @@ public class DateUtils {
             return val;
         }
 
-        // ----------------- Fix for LANG-59 ---------------------- START ---------------
+        // Fix for LANG-59 START
         // see https://issues.apache.org/jira/browse/LANG-59
         //
         // Manually truncate milliseconds, seconds and minutes, rather than using
@@ -947,7 +947,7 @@ public class DateUtils {
             date.setTime(time);
             val.setTime(date);
         }
-        // ----------------- Fix for LANG-59 ----------------------- END ----------------
+        // Fix for LANG-59 END
 
         boolean roundUp = false;
         for (final int[] aField : fields) {
@@ -965,7 +965,7 @@ public class DateUtils {
                                 val.add(Calendar.DATE, -15);
                                 val.add(Calendar.MONTH, 1);
                             }
-// ----------------- Fix for LANG-440 ---------------------- START ---------------
+                        // Fix for LANG-440 START
                         } else if (field == Calendar.AM_PM) {
                             // This is a special case
                             // If the time is 0, we round up to 12, otherwise
@@ -976,7 +976,7 @@ public class DateUtils {
                                 val.add(Calendar.HOUR_OF_DAY, -12);
                                 val.add(Calendar.DATE, 1);
                             }
-// ----------------- Fix for LANG-440 ---------------------- END ---------------
+                            // Fix for LANG-440 END
                         } else {
                             //We need at add one to this field since the
                             //  last number causes us to round up