changeset 44654:ca968890962d

8177625: apple.laf.JRSUIConstants.getConstantName(int) checks for THUMB_START twice Reviewed-by: prr, serb, azvegint
author alexsch
date Wed, 29 Mar 2017 21:08:39 +0400
parents 1f82cdcbaec6
children 06871a50a4b5
files jdk/src/java.desktop/macosx/classes/apple/laf/JRSUIConstants.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/macosx/classes/apple/laf/JRSUIConstants.java	Wed Mar 29 19:00:23 2017 +0300
+++ b/jdk/src/java.desktop/macosx/classes/apple/laf/JRSUIConstants.java	Wed Mar 29 21:08:39 2017 +0400
@@ -78,7 +78,7 @@
                 return "THUMB_START";
             } else if (hit == WINDOW_TITLE_BAR_HEIGHT) {
                 return "WINDOW_TITLE_BAR_HEIGHT";
-            } else if (hit == THUMB_START) {
+            } else if (hit == ANIMATION_FRAME) {
                 return "ANIMATION_FRAME";
             }
             return getClass().getSimpleName();