Convert String.contains() to String.indexOf() to run on JDKs earlier than 1.5

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: deploy
    • None

        Part of 7130404 added support for checking os.name against "OS X". The fix used the String.contains() method which was not added until Java 1.5. Java Plug-in needs to run on 1.4 JDKs so this method needs to be converted to String.indexOf().

              Assignee:
              James Melvin (Inactive)
              Reporter:
              James Melvin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: