aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Gregory <garydgregory@gmail.com>2022-07-05 10:16:48 -0400
committerGary Gregory <garydgregory@gmail.com>2022-07-05 10:16:48 -0400
commitedbaebb4d1e5b59da69a451eed5acb326c47879e (patch)
tree43099b57e0e1b248bf2a0f85bc5492f72e0645d0
parent827f5c93df63d6b2300d2a87729c0911b4fc14f1 (diff)
downloadapache-commons-lang-edbaebb4d1e5b59da69a451eed5acb326c47879e.tar.gz
Clean up inline comments
-rw-r--r--src/main/java/org/apache/commons/lang3/time/DateUtils.java8
1 files 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