Skip to content
Snippets Groups Projects
Commit f2416b47 authored by Genas Petrus Joonatan's avatar Genas Petrus Joonatan
Browse files

korjattu uuden rivin lisääminen oikeaan kohtaan ja testattu toimivaksi

parent e81e83ae
No related branches found
No related tags found
No related merge requests found
...@@ -179,8 +179,8 @@ public class LisaaTulos { ...@@ -179,8 +179,8 @@ public class LisaaTulos {
FileWriter tiedosto = new FileWriter(csv, true); FileWriter tiedosto = new FileWriter(csv, true);
tiedosto.append(lisattavaRivi);
tiedosto.append("\n"); tiedosto.append("\n");
tiedosto.append(lisattavaRivi);
tiedosto.flush(); tiedosto.flush();
// Kertoo käyttäjälle että tulos lisätty // Kertoo käyttäjälle että tulos lisätty
......
...@@ -1222,4 +1222,4 @@ HomeTeam,AwayTeam,AvgH,AvgD,AvgA,FTR,,,,, ...@@ -1222,4 +1222,4 @@ HomeTeam,AwayTeam,AvgH,AvgD,AvgA,FTR,,,,,
1,7,2.8800000000000003,4.095,2.208333333333333,A 1,7,2.8800000000000003,4.095,2.208333333333333,A
20,4,1.6216666666666668,4.300000000000001,5.161666666666666,D, 20,4,1.6216666666666668,4.300000000000001,5.161666666666666,D,
19,10,2.595,3.878333333333333,2.5,H, 19,10,2.595,3.878333333333333,2.5,H,
6,2,1.415,5.18,6.941666666666666,H, 6,2,1.415,5.18,6.941666666666666,H
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment