Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-234

[Lang] What to do with FastDateFormat unused private constructors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • None
    • Operating System: All
      Platform: All

    • 19296

    Description

      The class org.apache.commons.lang.time.FastDateFormat compiles with the
      following warnings (eclipse 2.1). Should these methods be:

      (1) removed?
      (2) commented out?
      (3) Javadoc'ed with comments as to why the constructors are private.

      (Sean, Brian?) Please advise, thanks,
      Gary

      Kind Status Priority Description Resource In Folder
      Location
      Warning The private constructor FastDateFormat(String) is
      never used locally FastDateFormat.java Apache Jakarta
      Commons/lang/src/java/org/apache/commons/lang/time line 581
      Warning The private constructor FastDateFormat(String,
      TimeZone) is never used locally FastDateFormat.java Apache Jakarta
      Commons/lang/src/java/org/apache/commons/lang/time line 590
      Warning The private constructor FastDateFormat(String,
      TimeZone, Locale) is never used locally FastDateFormat.java Apache
      Jakarta Commons/lang/src/java/org/apache/commons/lang/time line 617
      Warning The private constructor FastDateFormat(String,
      Locale) is never used locally FastDateFormat.java Apache Jakarta
      Commons/lang/src/java/org/apache/commons/lang/time line 598
      Warning The private constructor FastDateFormat(String,
      DateFormatSymbols) is never used locally FastDateFormat.java
      Apache Jakarta Commons/lang/src/java/org/apache/commons/lang/time line
      607

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: