forked from hummel/PR1-Spreadsheet
Maximale Größe von Spreadsheet (und minimale, dass es immer mindestens 1 Spalte/Zeile hat)
parent
21eefb6d91
commit
60fc1a9935
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue