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

spec: IIOMetadataNode: incomplete description of some get methods

XMLWordPrintable

    • beta3
    • generic
    • generic



      Name: dkR10031 Date: 05/26/2001


      Description of the following methods from the class
      javax.imageio.metadata.IIOMetadataNode is incomplete:
      Node getPreviousSibling()
      Node getNextSibling()
      Node getFirstChild()
      Node getLastChild()
      The specification (JDK 1.4.0beta, build b65) does not describe what is
      the legal behavior of the methods when requested node does not exist.
      For instance, what is the legal behavior of the getFirstChild() method
      when "this" node does not have childs at all.
      According to the implementation, in all these cases null is returned.
      I think this should be specified explicitly.

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

            dricesunw Daniel Rice (Inactive)
            dimasunw Dima Dima (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: