summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-21 18:51:23 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-21 18:51:23 +0200
commitd09041304bee53b86c3ddd098a6ff39db85889f3 (patch)
tree8f26224cf51fe07f7452f99b9b6c51ae8c12fbce /src/jrummikub/view
parent2a553fe6a56edcd3ccbb9b39a26a828034d80c5c (diff)
downloadJRummikub-d09041304bee53b86c3ddd098a6ff39db85889f3.tar
JRummikub-d09041304bee53b86c3ddd098a6ff39db85889f3.zip
Fixed some comment and metrics warnings
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@552 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view')
-rw-r--r--src/jrummikub/view/IView.java3
-rw-r--r--src/jrummikub/view/impl/TablePanel.java4
2 files changed, 3 insertions, 4 deletions
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);