This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rdf.git
The following commit(s) were added to refs/heads/master by this push: new b5be28c3 Camel-case local variable name b5be28c3 is described below commit b5be28c399e37a0ab7dd861ae5eb74dd0c2bdf42 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Oct 19 13:31:22 2023 -0400 Camel-case local variable name --- .../java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java b/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java index 3ba31cb6..2f1eb526 100644 --- a/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java +++ b/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java @@ -135,12 +135,12 @@ public class RDF4JParser extends AbstractRDFParser<RDF4JParser> { // we'll always do it with our own input stream // // That means we may have to guess format by extensions: - final Optional<RDFFormat> formatByFilename = getSourceFile().map(Path::getFileName).map(Path::toString) + final Optional<RDFFormat> formatByFileName = getSourceFile().map(Path::getFileName).map(Path::toString) .flatMap(Rio::getParserFormatForFileName); // TODO: for the excited.. what about the extension after following // symlinks? - final RDFFormat format = formatByMimeType.orElse(formatByFilename.orElse(null)); + final RDFFormat format = formatByMimeType.orElse(formatByFileName.orElse(null)); try (InputStream in = Files.newInputStream(getSourceFile().get())) { loader.load(in, base, format, rdfHandler); }