javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1217

EnumConverter.getAsString() javadoc contains incorrect text, conflicts with its own @returns clause

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1, 2.2
    • Fix Version/s: 2.3
    • Component/s: Validation/Conversion
    • Labels:
      None

      Description

      The Javadoc for EnumConverter.getAsString() contains the text,

      If the value argument is null, return null.

      This is conflict with the @returns clause, and also with the super-interface declaration of the method.

        Issue Links

          Activity

          Ed Burns created issue -
          Ed Burns made changes -
          Field Original Value New Value
          Link This issue is related to JAVASERVERFACES-2919 [ JAVASERVERFACES-2919 ]
          Ed Burns made changes -
          Assignee Ed Burns [ edburns ]
          Ed Burns made changes -
          Fix Version/s 2.3 [ 16372 ]
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Ed Burns made changes -
          Fix Version/s 2.3 [ 16372 ]
          Manfred Riem made changes -
          Priority Trivial [ 5 ] Critical [ 2 ]
          Hide
          Manfred Riem added a comment -

          Setting priority to Critical

          Show
          Manfred Riem added a comment - Setting priority to Critical
          Manfred Riem made changes -
          Assignee Manfred Riem [ mriem ]
          Manfred Riem made changes -
          Attachment changebundle.txt [ 55278 ]
          Hide
          Manfred Riem added a comment -

          Applied to 2.3 trunk,

          svn commit -m "Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1217, EnumConverter.getAsString() javadoc contains incorrect text, conflicts with its own @returns clause"
          Sending jsf-api/src/main/java/javax/faces/convert/EnumConverter.java
          Transmitting file data .
          Committed revision 15171.

          Show
          Manfred Riem added a comment - Applied to 2.3 trunk, svn commit -m "Fixes https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1217 , EnumConverter.getAsString() javadoc contains incorrect text, conflicts with its own @returns clause" Sending jsf-api/src/main/java/javax/faces/convert/EnumConverter.java Transmitting file data . Committed revision 15171.
          Manfred Riem made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.3 [ 16372 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Ed Burns
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified