Duplicate methods on internal classes

Scott Palmer swpalmer at gmail.com
Wed Nov 28 07:20:14 PST 2012


I was poking around and just noticed the following:

                    com.sun.javafx.PlatformUtil.isMac();
                    com.sun.javafx.PlatformUtil.isUnix();
                    com.sun.javafx.PlatformUtil.isWindows();

                    com.sun.javafx.Utils.isMac();
                    com.sun.javafx.Utils.isUnix();
                    com.sun.javafx.Utils.isWindows();

It seems the PlatformUtil class has more methods along the same lines.
Should the Utils methods be removed?

Is there a plan for any sort of public API along the same lines?  This is
the sort of code that everyone keeps re-writing.


Scott P.


More information about the openjfx-dev mailing list