Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4736918

WindowsUtils is redundant and should be removed

XMLWordPrintable

    • b70
    • x86
    • windows_nt

      java version "1.4.1-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-rc-b19)
      Java HotSpot(TM) Client VM (build 1.4.1-rc-b19, mixed mode)

      The package private class com.sun.java.swing.plaf.windows.WindowsUtils is redundant because the functionality is duplicated in WindowsGraphicsUtils. The WindowsUtils class should be removed from the workspace.

      The only class that uses WindowsUtils is WindowsIconFactory and it's usuage should be migrated to use the same WindowsGraphicsUtils method.

      [davidson@merlin64 windows]$ grep WindowsUtils *.java
      WindowsIconFactory.java: if( WindowsUtils.isLeftToRight(c) ) {
      WindowsUtils.java: * @(#)WindowsUtils.java 1.6 01/12/03
      WindowsUtils.java:class WindowsUtils {

            shickeysunw Shannon Hickey (Inactive)
            mdavidsosunw Mark Davidson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: