From 33bdf1fabc63932370075b78e3803bb1c7792330 Mon Sep 17 00:00:00 2001 From: selim Date: Wed, 27 Dec 2023 21:48:29 +0100 Subject: [PATCH] ToString fixed. --- .../informatik/spreadsheet/Spreadsheet.java | 8 ++++---- PR1-Spreadsheet.iml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java index c5b4094..9166bfd 100644 --- a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java +++ b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java @@ -584,7 +584,7 @@ public class Spreadsheet { for (int i = 0; i < cells[0].length; i++) { sb.append("----------------------"); } - sb.append("------"); + sb.append("--------"); sb.append(System.lineSeparator()); sb.append(String.format(" " + "%2s", rc++) + " |"); @@ -600,7 +600,7 @@ public class Spreadsheet { for (int i = 0; i < cells[0].length; i++) { sb.append("----------------------"); } - sb.append("------"); + sb.append("--------"); sb.append(System.lineSeparator()); return sb.toString(); @@ -628,7 +628,7 @@ public class Spreadsheet { for (int i = 0; i < cells[0].length; i++) { sb.append("----------------------"); } - sb.append("------"); + sb.append("--------"); sb.append(System.lineSeparator()); sb.append(String.format(" " + "%2s", rc++) + " |"); @@ -641,7 +641,7 @@ public class Spreadsheet { for (int i = 0; i < cells[0].length; i++) { sb.append("----------------------"); } - sb.append("------"); + sb.append("--------"); sb.append(System.lineSeparator()); return sb.toString(); diff --git a/PR1-Spreadsheet.iml b/PR1-Spreadsheet.iml index 6319d91..9dd7111 100644 --- a/PR1-Spreadsheet.iml +++ b/PR1-Spreadsheet.iml @@ -8,5 +8,21 @@ + + + + + + + + + + + + + + + + \ No newline at end of file