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.
This commit is contained in:
Allon Mureinik 2017-02-22 10:35:57 +02:00 committed by pascalschumacher
parent 4bd982d1a1
commit 8767cd4f1a
1 changed files with 1 additions and 1 deletions

View File

@ -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
*/