From d09041304bee53b86c3ddd098a6ff39db85889f3 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Tue, 21 Jun 2011 18:51:23 +0200 Subject: Fixed some comment and metrics warnings git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@552 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/IView.java | 3 +++ src/jrummikub/view/impl/TablePanel.java | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/jrummikub/view') diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java index c0dc675..a88d002 100644 --- a/src/jrummikub/view/IView.java +++ b/src/jrummikub/view/IView.java @@ -221,6 +221,9 @@ public interface IView { */ public void showLoginPanel(boolean show); + /** + * Clears user input of the resetLoginPanel + */ public void resetLoginPanel(); /** diff --git a/src/jrummikub/view/impl/TablePanel.java b/src/jrummikub/view/impl/TablePanel.java index 4db1a52..5677d9a 100644 --- a/src/jrummikub/view/impl/TablePanel.java +++ b/src/jrummikub/view/impl/TablePanel.java @@ -369,10 +369,6 @@ class TablePanel extends AbstractStonePanel implements ITablePanel { g.setClip(oldClip); - if (leftHoveredConnector == null && rightHoveredConnector == null) { - return; // We're done here... - } - g.translate(translation.getFirst(), translation.getSecond()); g.setClip(hoveredConnectorArea); g.setTransform(oldTransform); -- cgit v1.2.3