Remove not needed inheritDoc comments

This commit is contained in:
Peter Osterlund 2020-04-18 02:50:29 +02:00
parent c1964700d4
commit 7d73f25a2f
4 changed files with 0 additions and 20 deletions

View File

@ -67,7 +67,6 @@ public class ExternalEngine extends UCIEngineBase {
return context.getFilesDir().getAbsolutePath() + "/internal_sf"; return context.getFilesDir().getAbsolutePath() + "/internal_sf";
} }
/** @inheritDoc */
@Override @Override
protected void startProcess() { protected void startProcess() {
try { try {
@ -194,7 +193,6 @@ public class ExternalEngine extends UCIEngineBase {
private String syzygyPath = ""; private String syzygyPath = "";
private boolean optionsInitialized = false; private boolean optionsInitialized = false;
/** @inheritDoc */
@Override @Override
public void initOptions(EngineOptions engineOptions) { public void initOptions(EngineOptions engineOptions) {
super.initOptions(engineOptions); super.initOptions(engineOptions);
@ -225,7 +223,6 @@ public class ExternalEngine extends UCIEngineBase {
return hashMB; return hashMB;
} }
/** @inheritDoc */
@Override @Override
public boolean optionsOk(EngineOptions engineOptions) { public boolean optionsOk(EngineOptions engineOptions) {
if (!optionsInitialized) if (!optionsInitialized)
@ -239,12 +236,10 @@ public class ExternalEngine extends UCIEngineBase {
return true; return true;
} }
/** @inheritDoc */
@Override @Override
public void setStrength(int strength) { public void setStrength(int strength) {
} }
/** @inheritDoc */
@Override @Override
public String readLineFromEngine(int timeoutMillis) { public String readLineFromEngine(int timeoutMillis) {
String ret = inLines.readLine(timeoutMillis); String ret = inLines.readLine(timeoutMillis);
@ -257,7 +252,6 @@ public class ExternalEngine extends UCIEngineBase {
} }
// FIXME!! Writes should be handled by separate thread. // FIXME!! Writes should be handled by separate thread.
/** @inheritDoc */
@Override @Override
public void writeLineToEngine(String data) { public void writeLineToEngine(String data) {
// System.out.printf("GUI -> Engine: %s\n", data); // System.out.printf("GUI -> Engine: %s\n", data);
@ -272,7 +266,6 @@ public class ExternalEngine extends UCIEngineBase {
} }
} }
/** @inheritDoc */
@Override @Override
public void shutDown() { public void shutDown() {
if (startupThread != null) if (startupThread != null)

View File

@ -56,7 +56,6 @@ public class InternalStockFish extends ExternalEngine {
return true; return true;
} }
/** @inheritDoc */
@Override @Override
public final void setStrength(int strength) { public final void setStrength(int strength) {
setOption("Skill Level", strength/50); setOption("Skill Level", strength/50);

View File

@ -108,7 +108,6 @@ public class NetworkEngine extends UCIEngineBase {
} }
} }
/** @inheritDoc */
@Override @Override
protected void startProcess() { protected void startProcess() {
// Start thread to check for startup error // Start thread to check for startup error
@ -195,7 +194,6 @@ public class NetworkEngine extends UCIEngineBase {
private String syzygyPath = ""; private String syzygyPath = "";
private boolean optionsInitialized = false; private boolean optionsInitialized = false;
/** @inheritDoc */
@Override @Override
public void initOptions(EngineOptions engineOptions) { public void initOptions(EngineOptions engineOptions) {
super.initOptions(engineOptions); super.initOptions(engineOptions);
@ -213,7 +211,6 @@ public class NetworkEngine extends UCIEngineBase {
return new File(fileName + ".ini"); return new File(fileName + ".ini");
} }
/** @inheritDoc */
@Override @Override
public boolean optionsOk(EngineOptions engineOptions) { public boolean optionsOk(EngineOptions engineOptions) {
if (isError) if (isError)
@ -231,12 +228,10 @@ public class NetworkEngine extends UCIEngineBase {
return true; return true;
} }
/** @inheritDoc */
@Override @Override
public void setStrength(int strength) { public void setStrength(int strength) {
} }
/** @inheritDoc */
@Override @Override
public String readLineFromEngine(int timeoutMillis) { public String readLineFromEngine(int timeoutMillis) {
String ret = engineToGui.readLine(timeoutMillis); String ret = engineToGui.readLine(timeoutMillis);
@ -248,14 +243,12 @@ public class NetworkEngine extends UCIEngineBase {
return ret; return ret;
} }
/** @inheritDoc */
@Override @Override
public void writeLineToEngine(String data) { public void writeLineToEngine(String data) {
// System.out.printf("GUI -> Engine: %s\n", data); // System.out.printf("GUI -> Engine: %s\n", data);
guiToEngine.addLine(data); guiToEngine.addLine(data);
} }
/** @inheritDoc */
@Override @Override
public void shutDown() { public void shutDown() {
isRunning = false; isRunning = false;

View File

@ -57,7 +57,6 @@ public class CuckooChessEngine extends UCIEngineBase {
engineToGui = new LocalPipe(); engineToGui = new LocalPipe();
} }
/** @inheritDoc */
@Override @Override
protected final void startProcess() { protected final void startProcess() {
engineThread = new Thread(() -> mainLoop(guiToEngine, engineToGui)); engineThread = new Thread(() -> mainLoop(guiToEngine, engineToGui));
@ -84,13 +83,11 @@ public class CuckooChessEngine extends UCIEngineBase {
return true; return true;
} }
/** @inheritDoc */
@Override @Override
public boolean optionsOk(EngineOptions engineOptions) { public boolean optionsOk(EngineOptions engineOptions) {
return true; return true;
} }
/** @inheritDoc */
@Override @Override
public final void setStrength(int strength) { public final void setStrength(int strength) {
setOption("strength", strength); setOption("strength", strength);
@ -112,7 +109,6 @@ public class CuckooChessEngine extends UCIEngineBase {
guiToEngine.close(); guiToEngine.close();
} }
/** @inheritDoc */
@Override @Override
public final String readLineFromEngine(int timeoutMillis) { public final String readLineFromEngine(int timeoutMillis) {
if ((engineThread != null) && !engineThread.isAlive()) if ((engineThread != null) && !engineThread.isAlive())
@ -126,7 +122,6 @@ public class CuckooChessEngine extends UCIEngineBase {
return ret; return ret;
} }
/** @inheritDoc */
@Override @Override
public final synchronized void writeLineToEngine(String data) { public final synchronized void writeLineToEngine(String data) {
// System.out.printf("GUI -> Engine: %s\n", data); // System.out.printf("GUI -> Engine: %s\n", data);