Hello,

it appears that all of the following API methods in [1] can be declared *static*, which makes them more useful in contexts where there's no instance of HexFormat available or none is desired.

As 17 has not yet entered any formal phase, the change should be harmless.

  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);

Greetings
Raffaello

----

[1] https://bugs.openjdk.java.net/browse/JDK-8251991

Reply via email to