From 8767cd4f1a6af07093c1e6c422dae8e574be7e5e Mon Sep 17 00:00:00 2001 From: Allon Mureinik Date: Wed, 22 Feb 2017 10:35:57 +0200 Subject: [PATCH] Fix FastDateParser#getStrategy(char, int, Calendar) javadoc (closes #242) The javadoc refers to a formatField parameter, which the method doesn't have. Reading the description and the method's code, this documentation clearly refers to the f parameter. This patch fixes the javadoc and aligns it with the method's parameters. --- src/main/java/org/apache/commons/lang3/time/FastDateParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 7b394c6a7..e27acf4c4 100644 --- a/src/main/java/org/apache/commons/lang3/time/FastDateParser.java +++ b/src/main/java/org/apache/commons/lang3/time/FastDateParser.java @@ -548,7 +548,7 @@ public class FastDateParser implements DateParser, Serializable { /** * Obtain a Strategy given a field from a SimpleDateFormat pattern - * @param formatField A sub-sequence of the SimpleDateFormat pattern + * @param f A sub-sequence of the SimpleDateFormat pattern * @param definingCalendar The calendar to obtain the short and long values * @return The Strategy that will handle parsing for the field */