Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4480576

getXXX methods descriptions are similar to corresponding setXXX ones

    XMLWordPrintable

Details

    Description



      Name: eaR10174 Date: 07/17/2001


        There are getXXX and setXXX methods with the same descriptions in the build
      jaxp-1.1.1-b26-09_jul_2001. These are:
        
          org.w3c.dom.Attr : getValue() and setValue()
          org.w3c.dom.CharacterData : getData() and setData()
          org.w3c.dom.Node : getNodeValue() and setNodeValue()
          org.w3c.dom.Node : getPrefix() and setPrefix()
          org.w3c.dom.ProcessingInstruction: getData() and setData()
          
        Edwin Goei <###@###.###> explained why this happened:

      "The W3C maintains the java classes in the org.w3c.dom package.

      The W3C generates the Java bindings from XML and the XML source does not have enough
      information to generate separate javadoc for each getXXX() or setXXX() method."

        The W3C accepted this bug and said: "We should probably fix that in DOM Level 3."
      (See http://lists.w3.org/Archives/Public/www-dom/2001AprJun/0293.html)

      ======================================================================

      Attachments

        Activity

          People

            egoei Edwin Goei (Inactive)
            evgsunw Evg Evg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: