8057819: No CCC approving removing final modifier from javax.swing.SwingUtilities.isRectangleContainingRectangle static method
Reviewed-by: azvegint, alexsch
--- 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);
}