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

mixed up parameter names in DataContentHandler.writeTo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0fcs
    • alpha
    • other-libs
    • None
    • 1.0fcs
    • generic
    • solaris_2.6
    • Verified

        the declaration of interface DataContentHandler.writeTo:

           public void writeTo(Object os, String mimeType, OutputStream obj )
        throws IOException ;


        Note that the formal parameter names for Object and OutputStream appear to be reversed.

        This has no impact on the operation, but the source is public and it looks silly. It may also appear this way in JavaDoc output.

              duke J. Duke
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: