javadoc does not decode options containing '=' and ':' correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • b158
    • Not verified

        ToolOption.get does not detect the option name correctly. It should use the first of ':', '=', not prefer ':' over '='.

            static ToolOption get(String name) {
                String oname = name;
                if (name.contains(":")) {
                    oname = name.substring(0, name.indexOf(':') + 1);
                } else if (name.contains("=")) {
                    oname = name.substring(0, name.indexOf('='));
                }

              Assignee:
              Jonathan Gibbons
              Reporter:
              Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: