Removed useless comments.

This commit is contained in:
Peter Osterlund
2016-12-25 13:20:14 +01:00
parent 82d2daa29d
commit 1808bbb10c
61 changed files with 26 additions and 233 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -25,10 +25,6 @@ import chess.HumanPlayer;
import chess.Player;
import chess.TreeLogger;
/**
*
* @author petero
*/
public class Main {
/**

View File

@@ -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;

View File

@@ -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<Move> searchMoves; // If non-empty, search only these moves
int wTime; // White remaining time, ms

View File

@@ -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;

View File

@@ -25,10 +25,6 @@ import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author petero
*/
public class UCIProtocolTest {
public UCIProtocolTest() {