changeset 26738:e3136e7e7046

8057819: No CCC approving removing final modifier from javax.swing.SwingUtilities.isRectangleContainingRectangle static method Reviewed-by: azvegint, alexsch
author serb
date Tue, 09 Sep 2014 18:32:44 +0400
parents 26e9206d1a6e
children 3d7d13b86ff0
files jdk/src/java.desktop/share/classes/javax/swing/SwingUtilities.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/classes/javax/swing/SwingUtilities.java	Tue Sep 09 16:08:34 2014 +0400
+++ b/jdk/src/java.desktop/share/classes/javax/swing/SwingUtilities.java	Tue Sep 09 18:32:44 2014 +0400
@@ -111,7 +111,7 @@
      *
      * @return {@code true} if @{code a} contains {@code b}
      */
-    public static boolean isRectangleContainingRectangle(Rectangle a,Rectangle b) {
+    public static final boolean isRectangleContainingRectangle(Rectangle a,Rectangle b) {
         return b.x >= a.x && (b.x + b.width) <= (a.x + a.width) &&
                 b.y >= a.y && (b.y + b.height) <= (a.y + a.height);
     }