mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
Remove not needed inheritDoc comments
This commit is contained in:
parent
c1964700d4
commit
7d73f25a2f
|
@ -67,7 +67,6 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
return context.getFilesDir().getAbsolutePath() + "/internal_sf";
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
protected void startProcess() {
|
||||
try {
|
||||
|
@ -194,7 +193,6 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
private String syzygyPath = "";
|
||||
private boolean optionsInitialized = false;
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void initOptions(EngineOptions engineOptions) {
|
||||
super.initOptions(engineOptions);
|
||||
|
@ -225,7 +223,6 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
return hashMB;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public boolean optionsOk(EngineOptions engineOptions) {
|
||||
if (!optionsInitialized)
|
||||
|
@ -239,12 +236,10 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
return true;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void setStrength(int strength) {
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public String readLineFromEngine(int timeoutMillis) {
|
||||
String ret = inLines.readLine(timeoutMillis);
|
||||
|
@ -257,7 +252,6 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
}
|
||||
|
||||
// FIXME!! Writes should be handled by separate thread.
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void writeLineToEngine(String data) {
|
||||
// System.out.printf("GUI -> Engine: %s\n", data);
|
||||
|
@ -272,7 +266,6 @@ public class ExternalEngine extends UCIEngineBase {
|
|||
}
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void shutDown() {
|
||||
if (startupThread != null)
|
||||
|
|
|
@ -56,7 +56,6 @@ public class InternalStockFish extends ExternalEngine {
|
|||
return true;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public final void setStrength(int strength) {
|
||||
setOption("Skill Level", strength/50);
|
||||
|
|
|
@ -108,7 +108,6 @@ public class NetworkEngine extends UCIEngineBase {
|
|||
}
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
protected void startProcess() {
|
||||
// Start thread to check for startup error
|
||||
|
@ -195,7 +194,6 @@ public class NetworkEngine extends UCIEngineBase {
|
|||
private String syzygyPath = "";
|
||||
private boolean optionsInitialized = false;
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void initOptions(EngineOptions engineOptions) {
|
||||
super.initOptions(engineOptions);
|
||||
|
@ -213,7 +211,6 @@ public class NetworkEngine extends UCIEngineBase {
|
|||
return new File(fileName + ".ini");
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public boolean optionsOk(EngineOptions engineOptions) {
|
||||
if (isError)
|
||||
|
@ -231,12 +228,10 @@ public class NetworkEngine extends UCIEngineBase {
|
|||
return true;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void setStrength(int strength) {
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public String readLineFromEngine(int timeoutMillis) {
|
||||
String ret = engineToGui.readLine(timeoutMillis);
|
||||
|
@ -248,14 +243,12 @@ public class NetworkEngine extends UCIEngineBase {
|
|||
return ret;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void writeLineToEngine(String data) {
|
||||
// System.out.printf("GUI -> Engine: %s\n", data);
|
||||
guiToEngine.addLine(data);
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public void shutDown() {
|
||||
isRunning = false;
|
||||
|
|
|
@ -57,7 +57,6 @@ public class CuckooChessEngine extends UCIEngineBase {
|
|||
engineToGui = new LocalPipe();
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
protected final void startProcess() {
|
||||
engineThread = new Thread(() -> mainLoop(guiToEngine, engineToGui));
|
||||
|
@ -84,13 +83,11 @@ public class CuckooChessEngine extends UCIEngineBase {
|
|||
return true;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public boolean optionsOk(EngineOptions engineOptions) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public final void setStrength(int strength) {
|
||||
setOption("strength", strength);
|
||||
|
@ -112,7 +109,6 @@ public class CuckooChessEngine extends UCIEngineBase {
|
|||
guiToEngine.close();
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public final String readLineFromEngine(int timeoutMillis) {
|
||||
if ((engineThread != null) && !engineThread.isAlive())
|
||||
|
@ -126,7 +122,6 @@ public class CuckooChessEngine extends UCIEngineBase {
|
|||
return ret;
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
@Override
|
||||
public final synchronized void writeLineToEngine(String data) {
|
||||
// System.out.printf("GUI -> Engine: %s\n", data);
|
||||
|
|
Loading…
Reference in New Issue
Block a user