Use String.equals instead of String.compareTo in java.desktop

XMLWordPrintable

    • b18

        In several places, String.compareTo was _compared_ with 0 ( via `== 0` or `!= 0`).
        Instead of this, we can use String.equals calls. String.equals is faster and shorter.

              Assignee:
              Andrey Turbanov
              Reporter:
              Andrey Turbanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: