Skip to content

Commit

Permalink
Fixes javadoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fathzer committed Apr 4, 2024
1 parent 616afa3 commit 04aeda8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/fathzer/jchess/uci/ClassicalOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static SpinOption<Integer> level(Consumer<Integer> trigger, int maxValue)

/** Gets an spin option to set the number of CPU threads used for searching a position.
* @param trigger The consumer to call when value is changed.
* @param maxValue The default value of the option.
* @param defaultValue The default value of the option.
* @return an option whose name is {@value ClassicalOptions#THREADS_NAME}, the minimal value is 1 and and maximal value is the number of available processors reported by {@code Runtime.getRuntime().availableProcessors()}
*/
public static SpinOption<Integer> threads(Consumer<Integer> trigger, int defaultValue) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fathzer/jchess/uci/UCI.java
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private void init() {

/** Executes a command.
* @param command The command to execute
* @param returns true if the command was found
* @return true if the command was found
*/
protected boolean doCommand(final String command) {
log(">",command);
Expand Down

0 comments on commit 04aeda8

Please sign in to comment.