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

remove dead code left over from builder.xml

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      In BaseConfiguration, the followingt is all dead code, relating to the incomplete removal of the builder.xml feature.


          /**
           * The path to the builder XML input file.
           */
          public String builderXMLPath;

          /**
           * The default path to the builder XML.
           */
          public static final String DEFAULT_BUILDER_XML = "resources/doclet.xml";


          /**
           * Return the input stream to the builder XML.
           *
           * @return the input steam to the builder XML.
           * @throws DocFileIOException when the given XML file cannot be found or opened.
           */
          public InputStream getBuilderXML() throws DocFileIOException {
              return builderXMLPath == null ?
                      BaseConfiguration.class.getResourceAsStream(DEFAULT_BUILDER_XML) :
                      DocFile.createFileForInput(this, builderXMLPath).openInputStream();
          }

            Unassigned Unassigned
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: