From 1808bbb10c348da49d05b9ee9fcf6a2b05638d42 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 25 Dec 2016 13:20:14 +0100 Subject: [PATCH] Removed useless comments. --- CuckooChess/src/gui/AppletGUI.java | 5 +---- CuckooChess/src/gui/ChessBoardPainter.java | 5 +---- CuckooChess/src/tui/Main.java | 4 ---- CuckooChess/src/uci/EngineControl.java | 5 +---- CuckooChess/src/uci/SearchParams.java | 5 +---- CuckooChess/src/uci/UCIProtocol.java | 5 +---- CuckooChess/test/uci/UCIProtocolTest.java | 4 ---- CuckooChessEngine/src/chess/Book.java | 5 +---- CuckooChessEngine/src/chess/ChessParseError.java | 5 +---- CuckooChessEngine/src/chess/ComputerPlayer.java | 5 +---- CuckooChessEngine/src/chess/Evaluate.java | 6 +----- CuckooChessEngine/src/chess/Game.java | 4 ---- CuckooChessEngine/src/chess/History.java | 5 +---- CuckooChessEngine/src/chess/HumanPlayer.java | 5 +---- CuckooChessEngine/src/chess/KillerTable.java | 5 +---- CuckooChessEngine/src/chess/Move.java | 4 ---- CuckooChessEngine/src/chess/MoveGen.java | 4 ---- CuckooChessEngine/src/chess/Piece.java | 5 +---- CuckooChessEngine/src/chess/Player.java | 5 +---- CuckooChessEngine/src/chess/Position.java | 1 - CuckooChessEngine/src/chess/Search.java | 4 ---- CuckooChessEngine/src/chess/TextIO.java | 4 ---- CuckooChessEngine/src/chess/TranspositionTable.java | 4 ---- CuckooChessEngine/src/chess/TwoReturnValues.java | 5 +---- CuckooChessEngine/src/chess/UndoInfo.java | 1 - CuckooChessEngine/src/guibase/ChessController.java | 5 +---- CuckooChessEngineTest/src/chess/BookTest.java | 4 ---- CuckooChessEngineTest/src/chess/ComputerPlayerTest.java | 4 ---- CuckooChessEngineTest/src/chess/EvaluateTest.java | 4 ---- CuckooChessEngineTest/src/chess/GameTest.java | 4 ---- CuckooChessEngineTest/src/chess/HistoryTest.java | 4 ---- CuckooChessEngineTest/src/chess/KillerTableTest.java | 4 ---- CuckooChessEngineTest/src/chess/MoveGenTest.java | 4 ---- CuckooChessEngineTest/src/chess/MoveTest.java | 4 ---- CuckooChessEngineTest/src/chess/PieceTest.java | 4 ---- CuckooChessEngineTest/src/chess/PositionTest.java | 4 ---- CuckooChessEngineTest/src/chess/SearchTest.java | 4 ---- CuckooChessEngineTest/src/chess/TextIOTest.java | 4 ---- CuckooChessEngineTest/src/chess/TranspositionTableTest.java | 4 ---- DroidFish/src/org/petero/droidfish/book/DroidBook.java | 5 +---- .../org/petero/droidfish/engine/DroidComputerPlayer.java | 5 +---- .../droidfish/engine/cuckoochess/CuckooChessEngine.java | 5 +---- .../droidfish/engine/cuckoochess/DroidEngineControl.java | 5 +---- .../petero/droidfish/engine/cuckoochess/SearchParams.java | 5 +---- .../src/org/petero/droidfish/gamelogic/ChessParseError.java | 5 +---- .../petero/droidfish/gamelogic/DroidChessController.java | 5 +---- DroidFish/src/org/petero/droidfish/gamelogic/Game.java | 4 ---- DroidFish/src/org/petero/droidfish/gamelogic/Move.java | 4 ---- DroidFish/src/org/petero/droidfish/gamelogic/MoveGen.java | 4 ---- DroidFish/src/org/petero/droidfish/gamelogic/Pair.java | 5 +---- DroidFish/src/org/petero/droidfish/gamelogic/Piece.java | 5 +---- DroidFish/src/org/petero/droidfish/gamelogic/Position.java | 1 - DroidFish/src/org/petero/droidfish/gamelogic/TextIO.java | 5 +---- DroidFish/src/org/petero/droidfish/gamelogic/UndoInfo.java | 1 - DroidFishTest/src/org/petero/droidfish/book/BookTest.java | 4 ---- .../src/org/petero/droidfish/gamelogic/GameTest.java | 4 ---- .../src/org/petero/droidfish/gamelogic/MoveGenTest.java | 4 ---- .../src/org/petero/droidfish/gamelogic/MoveTest.java | 4 ---- .../src/org/petero/droidfish/gamelogic/PieceTest.java | 4 ---- .../src/org/petero/droidfish/gamelogic/PositionTest.java | 4 ---- .../src/org/petero/droidfish/gamelogic/TextIOTest.java | 4 ---- 61 files changed, 26 insertions(+), 233 deletions(-) diff --git a/CuckooChess/src/gui/AppletGUI.java b/CuckooChess/src/gui/AppletGUI.java index afec545..53e444d 100644 --- a/CuckooChess/src/gui/AppletGUI.java +++ b/CuckooChess/src/gui/AppletGUI.java @@ -28,10 +28,7 @@ import chess.ComputerPlayer; import chess.Move; import chess.Position; -/** - * The main class for the chess GUI. - * @author petero - */ +/** The main class for the chess GUI. */ public class AppletGUI extends javax.swing.JApplet implements GUIInterface { private static final long serialVersionUID = 7357610346389734323L; ChessBoardPainter cbp; diff --git a/CuckooChess/src/gui/ChessBoardPainter.java b/CuckooChess/src/gui/ChessBoardPainter.java index 4cc784d..addebab 100644 --- a/CuckooChess/src/gui/ChessBoardPainter.java +++ b/CuckooChess/src/gui/ChessBoardPainter.java @@ -35,10 +35,7 @@ import java.io.IOException; import java.io.InputStream; import javax.swing.JLabel; -/** - * Draws a graphical chess board. Also handles user interaction. - * @author petero - */ +/** Draws a graphical chess board. Also handles user interaction. */ public class ChessBoardPainter extends JLabel { private static final long serialVersionUID = -1319250011487017825L; private Position pos; diff --git a/CuckooChess/src/tui/Main.java b/CuckooChess/src/tui/Main.java index 4d01b9a..fd48d03 100644 --- a/CuckooChess/src/tui/Main.java +++ b/CuckooChess/src/tui/Main.java @@ -25,10 +25,6 @@ import chess.HumanPlayer; import chess.Player; import chess.TreeLogger; -/** - * - * @author petero - */ public class Main { /** diff --git a/CuckooChess/src/uci/EngineControl.java b/CuckooChess/src/uci/EngineControl.java index f6a395c..379d751 100644 --- a/CuckooChess/src/uci/EngineControl.java +++ b/CuckooChess/src/uci/EngineControl.java @@ -41,10 +41,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Random; -/** - * Control the search thread. - * @author petero - */ +/** Control the search thread. */ public class EngineControl { PrintStream os; diff --git a/CuckooChess/src/uci/SearchParams.java b/CuckooChess/src/uci/SearchParams.java index 6e5866f..032cb6b 100644 --- a/CuckooChess/src/uci/SearchParams.java +++ b/CuckooChess/src/uci/SearchParams.java @@ -22,10 +22,7 @@ import chess.Move; import java.util.ArrayList; import java.util.List; -/** - * Store search parameters (times, increments, max depth, etc). - * @author petero - */ +/** Store search parameters (times, increments, max depth, etc). */ public class SearchParams { List searchMoves; // If non-empty, search only these moves int wTime; // White remaining time, ms diff --git a/CuckooChess/src/uci/UCIProtocol.java b/CuckooChess/src/uci/UCIProtocol.java index 4c8a5f7..9da1c24 100644 --- a/CuckooChess/src/uci/UCIProtocol.java +++ b/CuckooChess/src/uci/UCIProtocol.java @@ -30,10 +30,7 @@ import java.io.InputStreamReader; import java.io.PrintStream; import java.util.ArrayList; -/** - * Handle the UCI protocol mode. - * @author petero - */ +/** Handle the UCI protocol mode. */ public class UCIProtocol { // Data set by the "position" command. Position pos; diff --git a/CuckooChess/test/uci/UCIProtocolTest.java b/CuckooChess/test/uci/UCIProtocolTest.java index b29a4b4..e25f0cb 100644 --- a/CuckooChess/test/uci/UCIProtocolTest.java +++ b/CuckooChess/test/uci/UCIProtocolTest.java @@ -25,10 +25,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class UCIProtocolTest { public UCIProtocolTest() { diff --git a/CuckooChessEngine/src/chess/Book.java b/CuckooChessEngine/src/chess/Book.java index af5f6f8..c67f8b7 100644 --- a/CuckooChessEngine/src/chess/Book.java +++ b/CuckooChessEngine/src/chess/Book.java @@ -32,10 +32,7 @@ import java.util.List; import java.util.Map; import java.util.Random; -/** - * Implements an opening book. - * @author petero - */ +/** Implements an opening book. */ public class Book { public static class BookEntry { Move move; diff --git a/CuckooChessEngine/src/chess/ChessParseError.java b/CuckooChessEngine/src/chess/ChessParseError.java index 220444a..3172681 100644 --- a/CuckooChessEngine/src/chess/ChessParseError.java +++ b/CuckooChessEngine/src/chess/ChessParseError.java @@ -18,10 +18,7 @@ package chess; -/** - * Exception class to represent parse errors in FEN or algebraic notation. - * @author petero - */ +/** Exception class to represent parse errors in FEN or algebraic notation. */ public class ChessParseError extends Exception { private static final long serialVersionUID = -6051856171275301175L; public ChessParseError() { diff --git a/CuckooChessEngine/src/chess/ComputerPlayer.java b/CuckooChessEngine/src/chess/ComputerPlayer.java index 768a6c3..681a51f 100644 --- a/CuckooChessEngine/src/chess/ComputerPlayer.java +++ b/CuckooChessEngine/src/chess/ComputerPlayer.java @@ -22,10 +22,7 @@ import java.security.SecureRandom; import java.util.List; import java.util.Random; -/** - * A computer algorithm player. - * @author petero - */ +/** A computer algorithm player. */ public class ComputerPlayer implements Player { public static final String engineName; diff --git a/CuckooChessEngine/src/chess/Evaluate.java b/CuckooChessEngine/src/chess/Evaluate.java index 72afe16..e61e9d7 100644 --- a/CuckooChessEngine/src/chess/Evaluate.java +++ b/CuckooChessEngine/src/chess/Evaluate.java @@ -21,11 +21,7 @@ package chess; import java.io.IOException; import java.io.InputStream; -/** - * Position evaluation routines. - * - * @author petero - */ +/** Position evaluation routines. */ public class Evaluate { static final int pV = 92 + Parameters.instance().getIntPar("pV"); static final int nV = 385 + Parameters.instance().getIntPar("nV"); diff --git a/CuckooChessEngine/src/chess/Game.java b/CuckooChessEngine/src/chess/Game.java index b2d82d8..ac5db28 100644 --- a/CuckooChessEngine/src/chess/Game.java +++ b/CuckooChessEngine/src/chess/Game.java @@ -23,10 +23,6 @@ import java.util.Collections; import java.util.List; import java.util.Locale; -/** - * - * @author petero - */ public class Game { protected List moveList = null; protected List uiInfoList = null; diff --git a/CuckooChessEngine/src/chess/History.java b/CuckooChessEngine/src/chess/History.java index 58597ad..0dec498 100644 --- a/CuckooChessEngine/src/chess/History.java +++ b/CuckooChessEngine/src/chess/History.java @@ -18,10 +18,7 @@ package chess; -/** - * Implements the relative history heuristic. - * @author petero - */ +/** Implements the relative history heuristic. */ public final class History { private int countSuccess[][]; private int countFail[][]; diff --git a/CuckooChessEngine/src/chess/HumanPlayer.java b/CuckooChessEngine/src/chess/HumanPlayer.java index b443436..4b9b0de 100644 --- a/CuckooChessEngine/src/chess/HumanPlayer.java +++ b/CuckooChessEngine/src/chess/HumanPlayer.java @@ -24,10 +24,7 @@ import java.io.InputStreamReader; import java.util.List; import java.util.Locale; -/** - * A player that reads input from the keyboard. - * @author petero - */ +/** A player that reads input from the keyboard. */ public class HumanPlayer implements Player { private String lastCmd = ""; private BufferedReader in; diff --git a/CuckooChessEngine/src/chess/KillerTable.java b/CuckooChessEngine/src/chess/KillerTable.java index 372639b..163f1a3 100644 --- a/CuckooChessEngine/src/chess/KillerTable.java +++ b/CuckooChessEngine/src/chess/KillerTable.java @@ -18,10 +18,7 @@ package chess; -/** - * Implement a table of killer moves for the killer heuristic. - * @author petero - */ +/** Implement a table of killer moves for the killer heuristic. */ public class KillerTable { /** There is one KTEntry for each ply in the search tree. */ static final class KTEntry { diff --git a/CuckooChessEngine/src/chess/Move.java b/CuckooChessEngine/src/chess/Move.java index c75a679..542b50b 100644 --- a/CuckooChessEngine/src/chess/Move.java +++ b/CuckooChessEngine/src/chess/Move.java @@ -20,10 +20,6 @@ package chess; import java.util.Comparator; -/** - * - * @author petero - */ public class Move { /** From square, 0-63. */ public int from; diff --git a/CuckooChessEngine/src/chess/MoveGen.java b/CuckooChessEngine/src/chess/MoveGen.java index 91e7b65..f61139c 100644 --- a/CuckooChessEngine/src/chess/MoveGen.java +++ b/CuckooChessEngine/src/chess/MoveGen.java @@ -20,10 +20,6 @@ package chess; import java.util.List; -/** - * - * @author petero - */ public final class MoveGen { static final MoveGen instance; static { diff --git a/CuckooChessEngine/src/chess/Piece.java b/CuckooChessEngine/src/chess/Piece.java index a974356..b93441b 100644 --- a/CuckooChessEngine/src/chess/Piece.java +++ b/CuckooChessEngine/src/chess/Piece.java @@ -18,10 +18,7 @@ package chess; -/** - * Constants for different piece types. - * @author petero - */ +/** Constants for different piece types. */ public class Piece { public static final int EMPTY = 0; diff --git a/CuckooChessEngine/src/chess/Player.java b/CuckooChessEngine/src/chess/Player.java index 0530f51..d0208f0 100644 --- a/CuckooChessEngine/src/chess/Player.java +++ b/CuckooChessEngine/src/chess/Player.java @@ -20,10 +20,7 @@ package chess; import java.util.List; -/** - * Interface for human/computer players. - * @author petero - */ +/** Interface for human/computer players. */ public interface Player { /** * Get a command from a player. diff --git a/CuckooChessEngine/src/chess/Position.java b/CuckooChessEngine/src/chess/Position.java index 856b4e4..3635fcd 100644 --- a/CuckooChessEngine/src/chess/Position.java +++ b/CuckooChessEngine/src/chess/Position.java @@ -27,7 +27,6 @@ import java.security.NoSuchAlgorithmException; * since the last capture or pawn move. That state is only needed * for three-fold repetition draw detection, and is better stored * in a separate hash table. - * @author petero */ public class Position { public int[] squares; diff --git a/CuckooChessEngine/src/chess/Search.java b/CuckooChessEngine/src/chess/Search.java index bb370c4..a89a356 100644 --- a/CuckooChessEngine/src/chess/Search.java +++ b/CuckooChessEngine/src/chess/Search.java @@ -24,10 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; -/** - * - * @author petero - */ public class Search { final static int plyScale = 8; // Fractional ply resolution diff --git a/CuckooChessEngine/src/chess/TextIO.java b/CuckooChessEngine/src/chess/TextIO.java index a13d904..0446cec 100644 --- a/CuckooChessEngine/src/chess/TextIO.java +++ b/CuckooChessEngine/src/chess/TextIO.java @@ -20,10 +20,6 @@ package chess; import java.util.Locale; -/** - * - * @author petero - */ public class TextIO { static public final String startPosFEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; diff --git a/CuckooChessEngine/src/chess/TranspositionTable.java b/CuckooChessEngine/src/chess/TranspositionTable.java index e346750..8dfc91a 100644 --- a/CuckooChessEngine/src/chess/TranspositionTable.java +++ b/CuckooChessEngine/src/chess/TranspositionTable.java @@ -21,10 +21,6 @@ package chess; import java.util.ArrayList; import java.util.List; -/** - * - * @author petero - */ public class TranspositionTable { static final public class TTEntry { long key; // Zobrist hash key diff --git a/CuckooChessEngine/src/chess/TwoReturnValues.java b/CuckooChessEngine/src/chess/TwoReturnValues.java index cb76a0b..ef68ebb 100644 --- a/CuckooChessEngine/src/chess/TwoReturnValues.java +++ b/CuckooChessEngine/src/chess/TwoReturnValues.java @@ -18,10 +18,7 @@ package chess; -/** - * A small helper class that makes it possible to return two values from a function. - * @author petero - */ +/** A helper class that makes it possible to return two values from a function. */ public final class TwoReturnValues { public final T1 first; public final T2 second; diff --git a/CuckooChessEngine/src/chess/UndoInfo.java b/CuckooChessEngine/src/chess/UndoInfo.java index f44744d..9055f66 100644 --- a/CuckooChessEngine/src/chess/UndoInfo.java +++ b/CuckooChessEngine/src/chess/UndoInfo.java @@ -21,7 +21,6 @@ package chess; /** * Contains enough information to undo a previous move. * Set by makeMove(). Used by unMakeMove(). - * @author petero */ public class UndoInfo { int capturedPiece; diff --git a/CuckooChessEngine/src/guibase/ChessController.java b/CuckooChessEngine/src/guibase/ChessController.java index 65e165a..eadeeec 100644 --- a/CuckooChessEngine/src/guibase/ChessController.java +++ b/CuckooChessEngine/src/guibase/ChessController.java @@ -39,10 +39,7 @@ import java.util.List; import java.util.Locale; import java.util.Scanner; -/** - * The glue between the chess engine and the GUI. - * @author petero - */ +/** The glue between the chess engine and the GUI. */ public class ChessController { Player humanPlayer; ComputerPlayer computerPlayer; diff --git a/CuckooChessEngineTest/src/chess/BookTest.java b/CuckooChessEngineTest/src/chess/BookTest.java index 418c47a..a936bb3 100644 --- a/CuckooChessEngineTest/src/chess/BookTest.java +++ b/CuckooChessEngineTest/src/chess/BookTest.java @@ -23,10 +23,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class BookTest { public BookTest() { diff --git a/CuckooChessEngineTest/src/chess/ComputerPlayerTest.java b/CuckooChessEngineTest/src/chess/ComputerPlayerTest.java index 0db030a..02e01ce 100644 --- a/CuckooChessEngineTest/src/chess/ComputerPlayerTest.java +++ b/CuckooChessEngineTest/src/chess/ComputerPlayerTest.java @@ -24,10 +24,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class ComputerPlayerTest { public ComputerPlayerTest() { diff --git a/CuckooChessEngineTest/src/chess/EvaluateTest.java b/CuckooChessEngineTest/src/chess/EvaluateTest.java index dcbba7f..6cba7de 100644 --- a/CuckooChessEngineTest/src/chess/EvaluateTest.java +++ b/CuckooChessEngineTest/src/chess/EvaluateTest.java @@ -23,10 +23,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class EvaluateTest { public EvaluateTest() { diff --git a/CuckooChessEngineTest/src/chess/GameTest.java b/CuckooChessEngineTest/src/chess/GameTest.java index ae090da..c04a228 100644 --- a/CuckooChessEngineTest/src/chess/GameTest.java +++ b/CuckooChessEngineTest/src/chess/GameTest.java @@ -23,10 +23,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class GameTest { public GameTest() { diff --git a/CuckooChessEngineTest/src/chess/HistoryTest.java b/CuckooChessEngineTest/src/chess/HistoryTest.java index 684a181..559c497 100644 --- a/CuckooChessEngineTest/src/chess/HistoryTest.java +++ b/CuckooChessEngineTest/src/chess/HistoryTest.java @@ -25,10 +25,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class HistoryTest { public HistoryTest() { diff --git a/CuckooChessEngineTest/src/chess/KillerTableTest.java b/CuckooChessEngineTest/src/chess/KillerTableTest.java index 4b38b4e..c5b4311 100644 --- a/CuckooChessEngineTest/src/chess/KillerTableTest.java +++ b/CuckooChessEngineTest/src/chess/KillerTableTest.java @@ -23,10 +23,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class KillerTableTest { public KillerTableTest() { diff --git a/CuckooChessEngineTest/src/chess/MoveGenTest.java b/CuckooChessEngineTest/src/chess/MoveGenTest.java index 11129ce..740e192 100644 --- a/CuckooChessEngineTest/src/chess/MoveGenTest.java +++ b/CuckooChessEngineTest/src/chess/MoveGenTest.java @@ -25,10 +25,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class MoveGenTest { public MoveGenTest() { diff --git a/CuckooChessEngineTest/src/chess/MoveTest.java b/CuckooChessEngineTest/src/chess/MoveTest.java index 827ed29..040e4c2 100644 --- a/CuckooChessEngineTest/src/chess/MoveTest.java +++ b/CuckooChessEngineTest/src/chess/MoveTest.java @@ -25,10 +25,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class MoveTest { public MoveTest() { diff --git a/CuckooChessEngineTest/src/chess/PieceTest.java b/CuckooChessEngineTest/src/chess/PieceTest.java index b6cdd44..a546736 100644 --- a/CuckooChessEngineTest/src/chess/PieceTest.java +++ b/CuckooChessEngineTest/src/chess/PieceTest.java @@ -23,10 +23,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class PieceTest { public PieceTest() { diff --git a/CuckooChessEngineTest/src/chess/PositionTest.java b/CuckooChessEngineTest/src/chess/PositionTest.java index fb1a08f..4560a11 100644 --- a/CuckooChessEngineTest/src/chess/PositionTest.java +++ b/CuckooChessEngineTest/src/chess/PositionTest.java @@ -27,10 +27,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class PositionTest { public PositionTest() { diff --git a/CuckooChessEngineTest/src/chess/SearchTest.java b/CuckooChessEngineTest/src/chess/SearchTest.java index 52427b5..2f9bcfd 100644 --- a/CuckooChessEngineTest/src/chess/SearchTest.java +++ b/CuckooChessEngineTest/src/chess/SearchTest.java @@ -25,10 +25,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class SearchTest { static final long[] nullHist = new long[200]; static TranspositionTable tt = new TranspositionTable(19); diff --git a/CuckooChessEngineTest/src/chess/TextIOTest.java b/CuckooChessEngineTest/src/chess/TextIOTest.java index 539bbc0..65a611f 100644 --- a/CuckooChessEngineTest/src/chess/TextIOTest.java +++ b/CuckooChessEngineTest/src/chess/TextIOTest.java @@ -25,10 +25,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class TextIOTest { public TextIOTest() { diff --git a/CuckooChessEngineTest/src/chess/TranspositionTableTest.java b/CuckooChessEngineTest/src/chess/TranspositionTableTest.java index aef1fda..e0a10f9 100644 --- a/CuckooChessEngineTest/src/chess/TranspositionTableTest.java +++ b/CuckooChessEngineTest/src/chess/TranspositionTableTest.java @@ -24,10 +24,6 @@ import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; -/** - * - * @author petero - */ public class TranspositionTableTest { public TranspositionTableTest() { diff --git a/DroidFish/src/org/petero/droidfish/book/DroidBook.java b/DroidFish/src/org/petero/droidfish/book/DroidBook.java index ce8c025..6b49145 100644 --- a/DroidFish/src/org/petero/droidfish/book/DroidBook.java +++ b/DroidFish/src/org/petero/droidfish/book/DroidBook.java @@ -33,10 +33,7 @@ import org.petero.droidfish.gamelogic.Position; import org.petero.droidfish.gamelogic.TextIO; import org.petero.droidfish.gamelogic.Pair; -/** - * Implements an opening book. - * @author petero - */ +/** Implements an opening book. */ public final class DroidBook { static final class BookEntry { Move move; diff --git a/DroidFish/src/org/petero/droidfish/engine/DroidComputerPlayer.java b/DroidFish/src/org/petero/droidfish/engine/DroidComputerPlayer.java index e87ce12..6eea3c8 100644 --- a/DroidFish/src/org/petero/droidfish/engine/DroidComputerPlayer.java +++ b/DroidFish/src/org/petero/droidfish/engine/DroidComputerPlayer.java @@ -36,10 +36,7 @@ import org.petero.droidfish.gamelogic.UndoInfo; import org.petero.droidfish.gamelogic.SearchListener.PvInfo; import org.petero.droidfish.tb.Probe; -/** - * A computer algorithm player. - * @author petero - */ +/** A computer algorithm player. */ public class DroidComputerPlayer { private UCIEngine uciEngine = null; private final SearchListener listener; diff --git a/DroidFish/src/org/petero/droidfish/engine/cuckoochess/CuckooChessEngine.java b/DroidFish/src/org/petero/droidfish/engine/cuckoochess/CuckooChessEngine.java index fac5a94..c051889 100644 --- a/DroidFish/src/org/petero/droidfish/engine/cuckoochess/CuckooChessEngine.java +++ b/DroidFish/src/org/petero/droidfish/engine/cuckoochess/CuckooChessEngine.java @@ -32,10 +32,7 @@ import org.petero.droidfish.EngineOptions; import org.petero.droidfish.engine.LocalPipe; import org.petero.droidfish.engine.UCIEngineBase; -/** - * UCI interface to cuckoochess engine. - * @author petero - */ +/** UCI interface to cuckoochess engine. */ public class CuckooChessEngine extends UCIEngineBase { // Data set by the "position" command. diff --git a/DroidFish/src/org/petero/droidfish/engine/cuckoochess/DroidEngineControl.java b/DroidFish/src/org/petero/droidfish/engine/cuckoochess/DroidEngineControl.java index 4b55ebf..2281de7 100644 --- a/DroidFish/src/org/petero/droidfish/engine/cuckoochess/DroidEngineControl.java +++ b/DroidFish/src/org/petero/droidfish/engine/cuckoochess/DroidEngineControl.java @@ -38,10 +38,7 @@ import java.util.Random; import org.petero.droidfish.engine.LocalPipe; -/** - * Control the search thread. - * @author petero - */ +/** Control the search thread. */ public class DroidEngineControl { LocalPipe os; diff --git a/DroidFish/src/org/petero/droidfish/engine/cuckoochess/SearchParams.java b/DroidFish/src/org/petero/droidfish/engine/cuckoochess/SearchParams.java index 644eac2..2f5f1fe 100644 --- a/DroidFish/src/org/petero/droidfish/engine/cuckoochess/SearchParams.java +++ b/DroidFish/src/org/petero/droidfish/engine/cuckoochess/SearchParams.java @@ -22,10 +22,7 @@ import chess.Move; import java.util.ArrayList; import java.util.List; -/** - * Store search parameters (times, increments, max depth, etc). - * @author petero - */ +/** Store search parameters (times, increments, max depth, etc). */ public class SearchParams { List searchMoves; // If non-empty, search only these moves int wTime; // White remaining time, ms diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/ChessParseError.java b/DroidFish/src/org/petero/droidfish/gamelogic/ChessParseError.java index 62a68cc..e65a019 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/ChessParseError.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/ChessParseError.java @@ -18,10 +18,7 @@ package org.petero.droidfish.gamelogic; -/** - * Exception class to represent parse errors in FEN or algebraic notation. - * @author petero - */ +/** Exception class to represent parse errors in FEN or algebraic notation. */ public class ChessParseError extends Exception { private static final long serialVersionUID = -6051856171275301175L; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/DroidChessController.java b/DroidFish/src/org/petero/droidfish/gamelogic/DroidChessController.java index a20e7ee..1fc9558 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/DroidChessController.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/DroidChessController.java @@ -44,10 +44,7 @@ import org.petero.droidfish.engine.DroidComputerPlayer.SearchType; import org.petero.droidfish.gamelogic.Game.GameState; import org.petero.droidfish.gamelogic.GameTree.Node; -/** - * The glue between the chess engine and the GUI. - * @author petero - */ +/** The glue between the chess engine and the GUI. */ public class DroidChessController { private DroidComputerPlayer computerPlayer = null; private PgnToken.PgnTokenReceiver gameTextListener = null; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/Game.java b/DroidFish/src/org/petero/droidfish/gamelogic/Game.java index 3eff862..6c68a97 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/Game.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/Game.java @@ -27,10 +27,6 @@ import java.util.List; import org.petero.droidfish.PGNOptions; import org.petero.droidfish.gamelogic.GameTree.Node; -/** - * - * @author petero - */ public class Game { boolean pendingDrawOffer; public GameTree tree; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/Move.java b/DroidFish/src/org/petero/droidfish/gamelogic/Move.java index 4e51b58..3cb93e2 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/Move.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/Move.java @@ -18,10 +18,6 @@ package org.petero.droidfish.gamelogic; -/** - * - * @author petero - */ public class Move { /** From square, 0-63. */ public int from; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/MoveGen.java b/DroidFish/src/org/petero/droidfish/gamelogic/MoveGen.java index 7852ab0..7ec788b 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/MoveGen.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/MoveGen.java @@ -21,10 +21,6 @@ package org.petero.droidfish.gamelogic; import java.util.ArrayList; -/** - * - * @author petero - */ public class MoveGen { public static MoveGen instance; static { diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/Pair.java b/DroidFish/src/org/petero/droidfish/gamelogic/Pair.java index 0a51973..47fed86 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/Pair.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/Pair.java @@ -18,10 +18,7 @@ package org.petero.droidfish.gamelogic; -/** - * A small helper class that makes it possible to return two values from a function. - * @author petero - */ +/** A helper class that makes it possible to return two values from a function. */ public final class Pair { public final T1 first; public final T2 second; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/Piece.java b/DroidFish/src/org/petero/droidfish/gamelogic/Piece.java index 2fa6f42..22936ff 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/Piece.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/Piece.java @@ -19,10 +19,7 @@ package org.petero.droidfish.gamelogic; -/** - * Constants for different piece types. - * @author petero - */ +/** Constants for different piece types. */ public class Piece { public static final int EMPTY = 0; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/Position.java b/DroidFish/src/org/petero/droidfish/gamelogic/Position.java index bd728e9..d05ecfa 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/Position.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/Position.java @@ -27,7 +27,6 @@ import java.security.NoSuchAlgorithmException; * since the last capture or pawn move. That state is only needed * for three-fold repetition draw detection, and is better stored * in a separate hash table. - * @author petero */ public class Position { private int[] squares; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/TextIO.java b/DroidFish/src/org/petero/droidfish/gamelogic/TextIO.java index d100f9f..b51c58b 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/TextIO.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/TextIO.java @@ -26,10 +26,7 @@ import org.petero.droidfish.PGNOptions; import org.petero.droidfish.R; -/** - * Handle conversion of positions and moves to/from text format. - * @author petero - */ +/** Handle conversion of positions and moves to/from text format. */ public class TextIO { static public final String startPosFEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; diff --git a/DroidFish/src/org/petero/droidfish/gamelogic/UndoInfo.java b/DroidFish/src/org/petero/droidfish/gamelogic/UndoInfo.java index 7f86785..fe3aefe 100644 --- a/DroidFish/src/org/petero/droidfish/gamelogic/UndoInfo.java +++ b/DroidFish/src/org/petero/droidfish/gamelogic/UndoInfo.java @@ -21,7 +21,6 @@ package org.petero.droidfish.gamelogic; /** * Contains enough information to undo a previous move. * Set by makeMove(). Used by unMakeMove(). - * @author petero */ public class UndoInfo { int capturedPiece; diff --git a/DroidFishTest/src/org/petero/droidfish/book/BookTest.java b/DroidFishTest/src/org/petero/droidfish/book/BookTest.java index 6a0d297..59e7e60 100644 --- a/DroidFishTest/src/org/petero/droidfish/book/BookTest.java +++ b/DroidFishTest/src/org/petero/droidfish/book/BookTest.java @@ -30,10 +30,6 @@ import org.petero.droidfish.gamelogic.MoveGen; import org.petero.droidfish.gamelogic.Position; import org.petero.droidfish.gamelogic.TextIO; -/** - * - * @author petero - */ public class BookTest extends TestCase { public BookTest() { diff --git a/DroidFishTest/src/org/petero/droidfish/gamelogic/GameTest.java b/DroidFishTest/src/org/petero/droidfish/gamelogic/GameTest.java index 48402ad..cf3bd22 100644 --- a/DroidFishTest/src/org/petero/droidfish/gamelogic/GameTest.java +++ b/DroidFishTest/src/org/petero/droidfish/gamelogic/GameTest.java @@ -23,10 +23,6 @@ import java.util.ArrayList; import junit.framework.TestCase; -/** - * - * @author petero - */ public class GameTest extends TestCase { public GameTest() { diff --git a/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveGenTest.java b/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveGenTest.java index d811ff4..aaa6a25 100644 --- a/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveGenTest.java +++ b/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveGenTest.java @@ -23,10 +23,6 @@ import java.util.List; import junit.framework.TestCase; -/** - * - * @author petero - */ public class MoveGenTest extends TestCase { public MoveGenTest() { diff --git a/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveTest.java b/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveTest.java index 22cbafc..359b881 100644 --- a/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveTest.java +++ b/DroidFishTest/src/org/petero/droidfish/gamelogic/MoveTest.java @@ -20,10 +20,6 @@ package org.petero.droidfish.gamelogic; import junit.framework.TestCase; -/** - * - * @author petero - */ public class MoveTest extends TestCase { public MoveTest() { diff --git a/DroidFishTest/src/org/petero/droidfish/gamelogic/PieceTest.java b/DroidFishTest/src/org/petero/droidfish/gamelogic/PieceTest.java index 380fa34..c84210b 100644 --- a/DroidFishTest/src/org/petero/droidfish/gamelogic/PieceTest.java +++ b/DroidFishTest/src/org/petero/droidfish/gamelogic/PieceTest.java @@ -21,10 +21,6 @@ package org.petero.droidfish.gamelogic; import junit.framework.TestCase; -/** - * - * @author petero - */ public class PieceTest extends TestCase { public PieceTest() { diff --git a/DroidFishTest/src/org/petero/droidfish/gamelogic/PositionTest.java b/DroidFishTest/src/org/petero/droidfish/gamelogic/PositionTest.java index f0ef483..ee5c797 100644 --- a/DroidFishTest/src/org/petero/droidfish/gamelogic/PositionTest.java +++ b/DroidFishTest/src/org/petero/droidfish/gamelogic/PositionTest.java @@ -23,10 +23,6 @@ import java.util.List; import junit.framework.TestCase; -/** - * - * @author petero - */ public class PositionTest extends TestCase { public PositionTest() { diff --git a/DroidFishTest/src/org/petero/droidfish/gamelogic/TextIOTest.java b/DroidFishTest/src/org/petero/droidfish/gamelogic/TextIOTest.java index 775ddcf..cc65149 100644 --- a/DroidFishTest/src/org/petero/droidfish/gamelogic/TextIOTest.java +++ b/DroidFishTest/src/org/petero/droidfish/gamelogic/TextIOTest.java @@ -21,10 +21,6 @@ package org.petero.droidfish.gamelogic; import junit.framework.TestCase; -/** - * - * @author petero - */ public class TextIOTest extends TestCase { public TextIOTest() {