src/solaris/classes/sun/awt/X11/XWM.java
Print this page
@@ -1110,10 +1110,11 @@
* Note that a compound state is always reported as not supported.
* Note also that MAXIMIZED_BOTH is considered not a compound state.
* Therefore, a compound state is just ICONIFIED | anything else.
*
*/
+ @SuppressWarnings("fallthrough")
boolean supportsExtendedState(int state) {
switch (state) {
case Frame.MAXIMIZED_VERT:
case Frame.MAXIMIZED_HORIZ:
/*
@@ -1129,10 +1130,11 @@
for (XStateProtocol proto : getProtocols(XStateProtocol.class)) {
if (proto.supportsState(state)) {
return true;
}
}
+ /* FALLTROUGH */
default:
return false;
}
}