Clean up regtesthelpers/Util getSystemMnemonicKeyCodes and getKeyCodesFromKeyMask

XMLWordPrintable

    • b45
    • 9

      The methods getSystemMnemonicKeyCodes and getKeyCodesFromKeyMask declare ArrayList as the return type. It doesn't have to be a specific type.

      I propose replacing ArrayList<Integer> with List<Integer>.

      In this case, getSystemMnemonicKeyCodes could return List.of, which would look cleaner.

      In addition to that, getKeyCodesFromKeyMask uses the deprecated constants, replace these constants with their alternatives.

            Assignee:
            Alexey Ivanov
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: