1
0
Fork 0

unnötige prints entfernt

main
Anastasia Kisner 2024-01-05 20:44:07 +01:00
parent fa1dc30c27
commit b706e537c8
1 changed files with 0 additions and 3 deletions

View File

@ -176,17 +176,14 @@ public class Spreadsheet {
continue;
}
System.out.println("Beginning of loop " + s);
if (!(s.matches("[-\\+\\*/]"))) {
if(s.matches("[A-Z][0-9]*")) {
int col = this.getCol(s);
int row = this.getRow(s);
String cellValue = cells[row][col].getValue();
value = Long.parseLong(cells[row][col].getValue());
}else{
System.out.println("in number in try");
value = Long.parseLong(s);
}