From 715a6fa94a500db7df9c8e4dbaf61293bafa20a4 Mon Sep 17 00:00:00 2001 From: pbd2h21avi Date: Tue, 29 Nov 2022 16:18:32 +0100 Subject: [PATCH] testoj --- .idea/misc.xml | 2 +- src/Execute.java | 1 + src/GeneralMethods.java | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 07115cd..fb40be9 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/Execute.java b/src/Execute.java index 2e37190..8151f5a 100644 --- a/src/Execute.java +++ b/src/Execute.java @@ -5,6 +5,7 @@ import java.util.ArrayList; public class Execute { public static void main (String[]args){ ArrayList data = GeneralMethods.readData("test.csv"); + for(String d : data){ System.out.println(d); } diff --git a/src/GeneralMethods.java b/src/GeneralMethods.java index 373ff18..cfa8924 100644 --- a/src/GeneralMethods.java +++ b/src/GeneralMethods.java @@ -34,7 +34,7 @@ public class GeneralMethods { /** * Author: Sabine Gubitz - * + *ddd * The method read Data interprets a file and returns an useable list for other methods. * Files to be read have to use : as a divider between attributes * @@ -119,4 +119,5 @@ public class GeneralMethods { } } + }