fix merge
All checks were successful
Linux arm64 / Build (push) Successful in 43s

This commit is contained in:
2025-01-21 18:47:09 +01:00
parent 1594961613
commit 780c88d0da
5 changed files with 14 additions and 12 deletions

View File

@@ -1,7 +1,5 @@
package sudoku;
import com.fasterxml.jackson.annotation.JsonProperty;
public abstract class Cell {
protected static int NOSYMBOLE = -1;
@@ -32,11 +30,8 @@ public abstract class Cell {
this.block = block;
}
@Override
public boolean equals(Object obj) {
if (obj instanceof Cell otherCell)
return otherCell.getSymbolIndex() == this.getSymbolIndex();
return false;
public boolean equalsValue(Cell otherCell) {
return otherCell.getSymbolIndex() == this.getSymbolIndex();
}
@Override