Repository: commons-lang
Updated Branches:
  refs/heads/master 4bd982d1a -> 8767cd4f1


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.


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

Branch: refs/heads/master
Commit: 8767cd4f1a6af07093c1e6c422dae8e574be7e5e
Parents: 4bd982d
Author: Allon Mureinik <[email protected]>
Authored: Wed Feb 22 10:35:57 2017 +0200
Committer: pascalschumacher <[email protected]>
Committed: Wed Feb 22 23:16:03 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8767cd4f/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 7b394c6..e27acf4 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
      */

Reply via email to