diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..c9d8514
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..b113384
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java
index de46be0..ceacf6f 100644
--- a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java
+++ b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java
@@ -96,7 +96,7 @@ public class Spreadsheet {
else
out.print(cell.getValue());
- if (cell != row[cells.length-1])
+ if (cell != row[cells[0].length-1])
out.print(",");
}
out.println();
@@ -182,7 +182,7 @@ public class Spreadsheet {
StringBuilder sb = new StringBuilder();
sb.append(" ");
- for (int i = 0; i < cells.length; i++) {
+ for (int i = 0; i < cells[0].length; i++) {
sb.append(" " + (char)('A'+ i) + " | ");
}
diff --git a/PR1-Spreadsheet.iml b/PR1-Spreadsheet.iml
new file mode 100644
index 0000000..ea954f0
--- /dev/null
+++ b/PR1-Spreadsheet.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file