From 4d9d28d0fb45c5ceb92dc56753f2c335e42096a0 Mon Sep 17 00:00:00 2001 From: seab Date: Mon, 17 Apr 2023 15:05:06 -0400 Subject: [PATCH] Require Java 17 --- pom.xml | 6 +++--- src/main/java/fun/seabird/MediaSortTask.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index f710b77..95e361e 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 fun.seabird ebird-media-sorter - 2.2.5 + 2.2.7 ebird-media-sorter @@ -33,9 +33,9 @@ org.apache.maven.plugins maven-compiler-plugin - 3.10.0 + 3.11.0 - 8 + 17 diff --git a/src/main/java/fun/seabird/MediaSortTask.java b/src/main/java/fun/seabird/MediaSortTask.java index e97a904..19b53d9 100644 --- a/src/main/java/fun/seabird/MediaSortTask.java +++ b/src/main/java/fun/seabird/MediaSortTask.java @@ -155,7 +155,7 @@ private void parseCsvLine(CSVRecord record) * @param csvFile The path to the CSV file to be parsed. * @throws IOException If an I/O error occurs while reading the CSV file. */ - public void parseCsv(Path csvFile) throws IOException { + private void parseCsv(Path csvFile) throws IOException { logger.info("Parsing " + csvFile + "..."); try (Reader fileReader = Files.newBufferedReader(csvFile);