[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Duplicate methods on internal classes
From:       swpalmer () gmail ! com (Scott Palmer)
Date:       2012-11-28 15:20:14
Message-ID: CAL3e5iHUT+Wt76mFWoszJtASLa=XUJk5-N-EebXYtNTFT5ZE4g () mail ! gmail ! com
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic