From af003930b104727edf55d16baef17bdb3bdab34f Mon Sep 17 00:00:00 2001 From: lov3b Date: Tue, 22 Mar 2022 17:02:34 +0100 Subject: [PATCH] Removed souts & optimized imports --- src/schack/Bishop.java | 2 -- src/schack/King.java | 3 --- src/schack/Rook.java | 2 -- 3 files changed, 7 deletions(-) diff --git a/src/schack/Bishop.java b/src/schack/Bishop.java index 514536c..8ceb04d 100644 --- a/src/schack/Bishop.java +++ b/src/schack/Bishop.java @@ -3,8 +3,6 @@ package schack; import java.awt.Point; import java.io.IOException; import java.util.LinkedHashSet; -import java.util.logging.Level; -import java.util.logging.Logger; public class Bishop extends Piece { diff --git a/src/schack/King.java b/src/schack/King.java index a68a2fc..21058bc 100644 --- a/src/schack/King.java +++ b/src/schack/King.java @@ -2,10 +2,8 @@ package schack; import java.awt.Point; import java.io.IOException; -import java.io.InputStream; import java.util.ArrayList; import java.util.LinkedHashSet; -import javax.imageio.ImageIO; public final class King extends Piece { @@ -55,7 +53,6 @@ public final class King extends Piece { } } - System.out.println("Len of movable: " + movable.size()); return movable; } diff --git a/src/schack/Rook.java b/src/schack/Rook.java index e8b8cdf..0ec8e59 100644 --- a/src/schack/Rook.java +++ b/src/schack/Rook.java @@ -2,7 +2,6 @@ package schack; import java.awt.Point; import java.io.IOException; -import java.util.HashSet; import java.util.LinkedHashSet; public class Rook extends Piece { @@ -50,7 +49,6 @@ public class Rook extends Piece { break; } } - System.out.println("Len of movable: " + movable.size()); return movable; }