servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-76

Javadoc coding error in javax.servlet.http.HttpSession interface

    Details

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

      Description

      If you look at the page source for http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpSession.html you will see that the documentation for the setAttribute method contains "<code>" instead of "</code>" after the "()" at the end of this sentence:

      If the value passed in is null, this has the same effect as calling removeAttribute().

      This causes all the rest of the documentation for this interface to be in code font.

      I can make the fix in the HTML output on the web site, but it should be fixed in source so that the erroneous code is not generated in the future. (The problem has actually been there since J2EE 1.3.1 – it was just recently called to my attention.)

      This should be an easy fix.

        Activity

        Hide
        Shing Wai Chan added a comment -

        Sending HttpSession.java
        Transmitting file data .
        Committed revision 62430.

        Show
        Shing Wai Chan added a comment - Sending HttpSession.java Transmitting file data . Committed revision 62430.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: