servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-54

Javadoc inconsistent for HttpServletRequest#changeSessionId()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The Javadoc for the above method has inconsistent statements about the return value.

      <quote>
      String changeSessionId()

      Change the session id of the current session associated with this request and return the new session id.

      Returns: the original session id
      </quote>

      I believe that the return value should be the new ID

        Activity

        Hide
        Shing Wai Chan added a comment -

        Sending src/main/java/javax/servlet/http/HttpServletRequest.java
        Transmitting file data .
        Committed revision 59507.

        Show
        Shing Wai Chan added a comment - Sending src/main/java/javax/servlet/http/HttpServletRequest.java Transmitting file data . Committed revision 59507.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            markt_asf
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: