unnötige prints entfernt
parent
fa1dc30c27
commit
b706e537c8
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue