8177625: apple.laf.JRSUIConstants.getConstantName(int) checks for THUMB_START twice
authoralexsch
Wed, 29 Mar 2017 21:08:39 +0400
changeset 44654 ca968890962d
parent 44653 1f82cdcbaec6
child 44655 06871a50a4b5
8177625: apple.laf.JRSUIConstants.getConstantName(int) checks for THUMB_START twice Reviewed-by: prr, serb, azvegint
jdk/src/java.desktop/macosx/classes/apple/laf/JRSUIConstants.java
--- 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();