Repository: commons-lang
Updated Branches:
  refs/heads/master ca9510db0 -> 72bbbbc55


Remove unused constructor parameter


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

Branch: refs/heads/master
Commit: 72bbbbc559992e5e6bf17279d8194aaa80c62e85
Parents: ca9510d
Author: Benedikt Ritter <brit...@apache.org>
Authored: Sat Sep 17 18:17:11 2016 +0200
Committer: Benedikt Ritter <brit...@apache.org>
Committed: Sat Sep 17 18:17:11 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/72bbbbc5/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 e454354..8275ddf 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
@@ -637,7 +637,7 @@ public class FastDateParser implements DateParser, 
Serializable {
         Strategy strategy = cache.get(locale);
         if (strategy == null) {
             strategy = field == Calendar.ZONE_OFFSET 
-                    ? new TimeZoneStrategy(definingCalendar, locale)
+                    ? new TimeZoneStrategy(locale)
                     : new CaseInsensitiveTextStrategy(field, definingCalendar, 
locale);
             final Strategy inCache = cache.putIfAbsent(locale, strategy);
             if (inCache != null) {
@@ -836,10 +836,9 @@ public class FastDateParser implements DateParser, 
Serializable {
 
         /**
          * Construct a Strategy that parses a TimeZone
-         * @param cal TODO
          * @param locale The Locale
          */
-        TimeZoneStrategy(Calendar cal, final Locale locale) {
+        TimeZoneStrategy(final Locale locale) {
             this.locale = locale;
 
             final StringBuilder sb = new StringBuilder();

Reply via email to