forked from hummel/PR1-Spreadsheet
Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
Oliver Hummel | ada8f538a2 |
|
@ -96,7 +96,7 @@ public class Spreadsheet {
|
||||||
else
|
else
|
||||||
out.print(cell.getValue());
|
out.print(cell.getValue());
|
||||||
|
|
||||||
if (cell != row[cells.length-1])
|
if (cell != row[cells[0].length-1])
|
||||||
out.print(",");
|
out.print(",");
|
||||||
}
|
}
|
||||||
out.println();
|
out.println();
|
||||||
|
@ -182,7 +182,7 @@ public class Spreadsheet {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
sb.append(" ");
|
sb.append(" ");
|
||||||
for (int i = 0; i < cells.length; i++) {
|
for (int i = 0; i < cells[0].length; i++) {
|
||||||
sb.append(" " + (char)('A'+ i) + " | ");
|
sb.append(" " + (char)('A'+ i) + " | ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue