jsr-283
  1. jsr-283
  2. JSR_283-809

error in javadoc of Property interface

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: None
    • Component/s: javadoc/api
    • Labels:
      None

      Description

      hi,
      there is a mistake in the javadoc for jcr 2.0

      Property.getDate() is a shortcut to Property.getValue().getDate()
      Value.getDate() throws a ValueFormatException if the property can not be converted to Calendar
      Property.getDate() says it throws that exception if the value can not be converted to string. it should say Calendar here too.

      http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Property.html#getDate%28%29

      http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Value.html#getDate%28%29

        Activity

        dbu created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            dbu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: