+            supportedTypes.remove(new Integer(Types.BOOLEAN));

   supportedTypes.remove(Integer.valueOf(Types.BOOLEAN));

would have the additional benefits of removing the warning on JDK 9 and
using the internal cache of Integer objects to avoid allocation, while
still picking the correct overload of List.remove().

Indeed, a simple and useful improvement. Thanks!

bryan


Reply via email to