commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [lang] Minor formatting.
Date Mon, 09 Oct 2017 20:48:12 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master ed94e5a5c -> 0726ffe1e


Minor formatting.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/0726ffe1
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/0726ffe1
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/0726ffe1

Branch: refs/heads/master
Commit: 0726ffe1e9e923b678db5484ff0055b0f63d81e8
Parents: ed94e5a
Author: Gary Gregory <ggregory@apache.org>
Authored: Mon Oct 9 14:48:10 2017 -0600
Committer: Gary Gregory <ggregory@apache.org>
Committed: Mon Oct 9 14:48:10 2017 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/time/FastDateParser.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/0726ffe1/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
index f670d7e..d41f0ad 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
@@ -956,6 +956,7 @@ public class FastDateParser implements DateParser, Serializable {
             return iValue-1;
         }
     };
+    
     private static final Strategy LITERAL_YEAR_STRATEGY = new NumberStrategy(Calendar.YEAR);
     private static final Strategy WEEK_OF_YEAR_STRATEGY = new NumberStrategy(Calendar.WEEK_OF_YEAR);
     private static final Strategy WEEK_OF_MONTH_STRATEGY = new NumberStrategy(Calendar.WEEK_OF_MONTH);
@@ -967,6 +968,7 @@ public class FastDateParser implements DateParser, Serializable {
             return iValue != 7 ? iValue + 1 : Calendar.SUNDAY;
         }
     };
+    
     private static final Strategy DAY_OF_WEEK_IN_MONTH_STRATEGY = new NumberStrategy(Calendar.DAY_OF_WEEK_IN_MONTH);
     private static final Strategy HOUR_OF_DAY_STRATEGY = new NumberStrategy(Calendar.HOUR_OF_DAY);
     private static final Strategy HOUR24_OF_DAY_STRATEGY = new NumberStrategy(Calendar.HOUR_OF_DAY)
{
@@ -975,12 +977,14 @@ public class FastDateParser implements DateParser, Serializable {
             return iValue == 24 ? 0 : iValue;
         }
     };
+    
     private static final Strategy HOUR12_STRATEGY = new NumberStrategy(Calendar.HOUR) {
         @Override
         int modify(final FastDateParser parser, final int iValue) {
             return iValue == 12 ? 0 : iValue;
         }
     };
+    
     private static final Strategy HOUR_STRATEGY = new NumberStrategy(Calendar.HOUR);
     private static final Strategy MINUTE_STRATEGY = new NumberStrategy(Calendar.MINUTE);
     private static final Strategy SECOND_STRATEGY = new NumberStrategy(Calendar.SECOND);


Mime
View raw message