diff options
Diffstat (limited to 'src/ComparisonView.java')
-rw-r--r-- | src/ComparisonView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ComparisonView.java b/src/ComparisonView.java index ca5929e..631c718 100644 --- a/src/ComparisonView.java +++ b/src/ComparisonView.java @@ -66,7 +66,7 @@ public class ComparisonView extends JFrame { ArrayList<File> metadataList = new ArrayList<File>(); /* Enhanced for loop. */ for (File file : fileList) { - if (file.getPath().endsWith("METADATA.pb")) { + if (file.getPath().endsWith(".pb")) { metadataList.add(file); } } @@ -80,5 +80,6 @@ public class ComparisonView extends JFrame { public static void main(String[] argv) { new ComparisonView(); + new CSVReader(new File("families.csv")); } } |