diff --git a/schach/pom.xml b/schach/pom.xml
index ab9e214..7e08e04 100644
--- a/schach/pom.xml
+++ b/schach/pom.xml
@@ -10,13 +10,12 @@
0.0.1-SNAPSHOT
schach
- A simple schach.
+ A simple schach project
http://www.example.com
UTF-8
- 21
- 21
+ 21
@@ -27,19 +26,22 @@
-
+
com.github.bhlangonijr
chesslib
1.3.4
+
+
org.junit.jupiter
junit-jupiter
5.10.2
test
-
+
+
org.mockito
mockito-core
@@ -50,14 +52,32 @@
+
+
+ maven-compiler-plugin
+ 3.13.0
+
+ 21
+
+
+
org.apache.maven.plugins
maven-pmd-plugin
3.21.0
+
+ 17
+ false
+ true
+ false
rulesets/java/quickstart.xml
+ rulesets/java/basic.xml
+ rulesets/java/braces.xml
+ rulesets/java/unusedcode.xml
+ rulesets/java/imports.xml
@@ -69,43 +89,12 @@
-
-
- maven-clean-plugin
- 3.4.0
-
-
- maven-site-plugin
- 3.12.1
-
-
- maven-project-info-reports-plugin
- 3.6.1
-
-
- maven-resources-plugin
- 3.3.1
-
-
- maven-compiler-plugin
- 3.13.0
-
+
+
maven-surefire-plugin
3.3.0
-
- maven-jar-plugin
- 3.4.2
-
-
- maven-install-plugin
- 3.1.2
-
-
- maven-deploy-plugin
- 3.1.2
-
@@ -113,6 +102,7 @@
maven-project-info-reports-plugin
+ 3.6.1
diff --git a/schach/src/main/java/de/hs_mannheim/informatik/chess/controller/GameController.java b/schach/src/main/java/de/hs_mannheim/informatik/chess/controller/GameController.java
index a30cccd..aa6d73f 100644
--- a/schach/src/main/java/de/hs_mannheim/informatik/chess/controller/GameController.java
+++ b/schach/src/main/java/de/hs_mannheim/informatik/chess/controller/GameController.java
@@ -25,7 +25,8 @@ public class GameController {
GameEndCallback callback;
private boolean gameOver = false;
- private int selectedRow = -1, selectedCol = -1;
+ private int selectedRow = -1;
+ private int selectedCol = -1;
private List highlightedFields = new ArrayList<>();
private boolean gameWasResignedOrDrawn = false;
private GameMode gameMode;