FieldDescriptionApplications should prefer automatic detection, to avoid ending up with a HTTP client that is not actually supported on the current platform.
Path.relativizeinstead. This can be used even when working with APIs still using
Headers.concat(String, String)instead. This method has been renamed to
concatto make it more explicit that the original instance is not modified.Use
LogHelper.createConsoleHandler()in combination with a
CompactFormatterinstead.This method is no longer necessary since
System.lineSeparator()was introduced in Java 7.Use the more clearly named
SwingUtils.openBrowser(String)instead, which provides the same behavior but uses a cross-platform API that also supports other operating systems.Use
SwingUtils.openFile(File)instead, which provides the same behavior but uses a cross-platform API that also supports other operating systems.nl.colorize.util.swing.SwingUtils.createAddRemoveItemsPanel
(Supplier<List<String>>, String, Consumer<String>, Consumer<String>)Use
PropertyEditorinstead.This method relies on Apple-specific AWT properties, which remain from the old Apple JDK but will be removed from the JDK in Java 9.This method relies on Apple-specific AWT properties, which remain from the old Apple JDK but will be removed from the JDK in Java 9.Use
ConstructorDescriptionIn new code, prefer using
Range.exclusive(int, int). These factory methods allow for more explicit behavior.