checkstyle sweep
[fanfix.git] / src / jexer / io / SwingScreen.java
index 3c949c1b8016866d4e36641d1afe1c0e1837a2c6..cdca714bb1cff6765144cc381c5bfef20ae6c16c 100644 (file)
@@ -519,6 +519,8 @@ public final class SwingScreen extends Screen {
                     Cell lCell = screen.logical[cursorX][cursorY];
                     gr.setColor(attrToForegroundColor(lCell));
                     switch (cursorStyle) {
+                    default:
+                        // Fall through...
                     case UNDERLINE:
                         gr.fillRect(xPixel, yPixel + textHeight - 2,
                             textWidth, 2);
@@ -571,7 +573,7 @@ public final class SwingScreen extends Screen {
                     SwingScreen.this.frame.resizeToScreen();
                     SwingScreen.this.frame.setVisible(true);
                 }
-            } );
+            });
         } catch (Exception e) {
             e.printStackTrace();
         }