From 036731382dae904030f49cad67274bed91961574 Mon Sep 17 00:00:00 2001 From: Bart Hanssens Date: Mon, 12 Aug 2019 12:20:09 +0000 Subject: [PATCH] Fixed javadoc errors in maven profile Signed-off-by: Bart Hanssens --- pom.xml | 6 ++++++ .../main/java/org/eclipse/rdf4j/query/GraphQueryResult.java | 2 +- query/src/main/java/org/eclipse/rdf4j/query/Operation.java | 6 +++--- .../src/main/java/org/eclipse/rdf4j/query/QueryResults.java | 4 ++-- .../main/java/org/eclipse/rdf4j/common/lang/FileFormat.java | 2 -- .../common/lang/service/FileFormatServiceRegistry.java | 2 -- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 03dc1be081f..0f95586df40 100644 --- a/pom.xml +++ b/pom.xml @@ -110,6 +110,9 @@ + + 8 + org.apache.maven.plugins @@ -161,6 +164,9 @@ + + 8 + org.apache.maven.plugins diff --git a/query/src/main/java/org/eclipse/rdf4j/query/GraphQueryResult.java b/query/src/main/java/org/eclipse/rdf4j/query/GraphQueryResult.java index 9ac854ddc12..3d86678a0c3 100644 --- a/query/src/main/java/org/eclipse/rdf4j/query/GraphQueryResult.java +++ b/query/src/main/java/org/eclipse/rdf4j/query/GraphQueryResult.java @@ -25,7 +25,7 @@ public interface GraphQueryResult extends QueryResult { * The contents of the Map may be modified after it is returned, as the initial return may be performed when the * first RDF Statement is encountered. * - * @return a Map object containing (prefix, namespace) pairs. + * @return a Map<String, String> object containing (prefix, namespace) pairs. * @throws QueryEvaluationException */ public Map getNamespaces() throws QueryEvaluationException; diff --git a/query/src/main/java/org/eclipse/rdf4j/query/Operation.java b/query/src/main/java/org/eclipse/rdf4j/query/Operation.java index 88b58e86069..56f994777b5 100644 --- a/query/src/main/java/org/eclipse/rdf4j/query/Operation.java +++ b/query/src/main/java/org/eclipse/rdf4j/query/Operation.java @@ -77,10 +77,10 @@ public interface Operation { /** * Specifies the maximum time that an operation is allowed to run. The operation will be interrupted when it exceeds * the time limit. Any consecutive requests to fetch query results will result in {@link QueryInterruptedException}s - * or {@link UpdateInterruptedException}s (depending on whether the operation is a query or an update). + * or {@link UpdateExecutionException}s (depending on whether the operation is a query or an update). * - * @param maxQueryTime The maximum query time, measured in seconds. A negative or zero value indicates an unlimited - * execution time (which is the default). + * @param maxExecTime The maximum query time, measured in seconds. A negative or zero value indicates an unlimited + * execution time (which is the default). */ public void setMaxExecutionTime(int maxExecTime); diff --git a/query/src/main/java/org/eclipse/rdf4j/query/QueryResults.java b/query/src/main/java/org/eclipse/rdf4j/query/QueryResults.java index 89ab05bd6b4..6a54c5bd9a9 100644 --- a/query/src/main/java/org/eclipse/rdf4j/query/QueryResults.java +++ b/query/src/main/java/org/eclipse/rdf4j/query/QueryResults.java @@ -59,8 +59,8 @@ public class QueryResults extends Iterations { * Get a {@link Model} containing all elements obtained from the specified query result. * * @param iteration the source iteration to get the statements from. This can be a {@link GraphQueryResult}, a - * {@link RepositoryResult}, or any other instance of {@link CloseableIteration - * } + * {@link RepositoryResult<Statement>}, or any other instance of {@link CloseableIteration + * <Statement>} * @return a {@link Model} containing all statements obtained from the specified source iteration. */ public static Model asModel(CloseableIteration iteration) diff --git a/util/src/main/java/org/eclipse/rdf4j/common/lang/FileFormat.java b/util/src/main/java/org/eclipse/rdf4j/common/lang/FileFormat.java index b7256eeb795..9337528a64d 100644 --- a/util/src/main/java/org/eclipse/rdf4j/common/lang/FileFormat.java +++ b/util/src/main/java/org/eclipse/rdf4j/common/lang/FileFormat.java @@ -299,7 +299,6 @@ public String toString() { * @param mimeType A MIME type, e.g. "text/plain". * @param fileFormats The file formats to match the MIME type against. * @return A FileFormat object if the MIME type was recognized, or {@link Optional#empty()} otherwise. - * @see #matchMIMEType(String, Iterable, FileFormat) */ public static Optional matchMIMEType(String mimeType, Iterable fileFormats) { // First try to match with the default MIME type @@ -325,7 +324,6 @@ public static Optional matchMIMEType(String mimeType * @param fileName A file name. * @param fileFormats The file formats to match the file name extension against. * @return A FileFormat that matches the file name extension, or {@link Optional#empty()} otherwise. - * @see #matchFileName(String, Iterable, FileFormat) */ public static Optional matchFileName(String fileName, Iterable fileFormats) { // Strip any directory info from the file name diff --git a/util/src/main/java/org/eclipse/rdf4j/common/lang/service/FileFormatServiceRegistry.java b/util/src/main/java/org/eclipse/rdf4j/common/lang/service/FileFormatServiceRegistry.java index 39aa51cd783..8790bea2f51 100644 --- a/util/src/main/java/org/eclipse/rdf4j/common/lang/service/FileFormatServiceRegistry.java +++ b/util/src/main/java/org/eclipse/rdf4j/common/lang/service/FileFormatServiceRegistry.java @@ -28,7 +28,6 @@ protected FileFormatServiceRegistry(Class serviceClass) { * * @param mimeType A MIME type, e.g. "text/plain". * @return The matching {@link FileFormat}, or {@link Optional#empty()} if no match was found. - * @see #getFileFormatForMIMEType(String, FileFormat) */ public Optional getFileFormatForMIMEType(String mimeType) { return FileFormat.matchMIMEType(mimeType, this.getKeys()); @@ -39,7 +38,6 @@ public Optional getFileFormatForMIMEType(String mimeType) { * * @param fileName A file name. * @return The matching {@link FileFormat}, or {@link Optional#empty()} if no match was found. - * @see #getFileFormatForFileName(String, FileFormat) */ public Optional getFileFormatForFileName(String fileName) { return FileFormat.matchFileName(fileName, this.getKeys());