HexFormat 'fromHex' methods should be static

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: core-libs
    • None
    • b16

      A number of HexFormat methods converting from strings to numbers do not use delimiter, prefix, suffix, and uppercase parameters and would be more convenient if the methods were static.

         public boolean isHexDigit(int);
         public int fromHexDigit(int);
         public int fromHexDigits(java.lang.CharSequence);
         public int fromHexDigits(java.lang.CharSequence, int, int);
         public long fromHexDigitsToLong(java.lang.CharSequence);
         public long fromHexDigitsToLong(java.lang.CharSequence, int, int);

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: