1
0
Fork 0

Maximale Größe von Spreadsheet (und minimale, dass es immer mindestens 1 Spalte/Zeile hat)

main
Florian Hörner 2024-01-03 15:05:23 +01:00
parent 21eefb6d91
commit 60fc1a9935
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class Spreadsheet {
*/ */
public Spreadsheet(int rows, int cols) { public Spreadsheet(int rows, int cols) {
// TODO limit the maximum size on 99 (1..99) rows and 26 (A..Z) columns // TODO limit the maximum size on 99 (1..99) rows and 26 (A..Z) columns test
if (rows > 99) { if (rows > 99) {
rows = 99; rows = 99;