You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/31 10:58:17 UTC
(commons-rdf) branch master updated: Normalize getter Javadoc
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 6c27bc55 Normalize getter Javadoc
6c27bc55 is described below
commit 6c27bc558f1687a5470ddb371d18fd7352ac99bb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Oct 31 06:58:13 2023 -0400
Normalize getter Javadoc
---
.../java/org/apache/commons/rdf/api/Dataset.java | 14 +++++++-------
.../commons/rdf/rdf4j/experimental/RDF4JParser.java | 2 +-
.../java/org/apache/commons/rdf/simple/Types.java | 4 ++--
.../rdf/simple/experimental/AbstractRDFParser.java | 20 ++++++++++----------
4 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/commons-rdf-api/src/main/java/org/apache/commons/rdf/api/Dataset.java b/commons-rdf-api/src/main/java/org/apache/commons/rdf/api/Dataset.java
index c8e59707..761c3520 100644
--- a/commons-rdf-api/src/main/java/org/apache/commons/rdf/api/Dataset.java
+++ b/commons-rdf-api/src/main/java/org/apache/commons/rdf/api/Dataset.java
@@ -104,7 +104,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
}
/**
- * Get the default graph of this dataset.
+ * Gets the default graph of this dataset.
* <p>
* The {@link Triple}s of the default graph are equivalent to the
* {@link Quad}s in this Dataset which has the {@link Quad#getGraphName()}
@@ -121,7 +121,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
Graph getGraph();
/**
- * Get a named graph in this dataset.
+ * Gets a named graph in this dataset.
* <p>
* The {@link Triple}s of the named graph are equivalent to the Quads of
* this Dataset which has the {@link Quad#getGraphName()} equal to the
@@ -145,7 +145,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
Optional<Graph> getGraph(BlankNodeOrIRI graphName);
/**
- * Get the graph names in this Dataset.
+ * Gets the graph names in this Dataset.
* <p>
* The set of returned graph names is equivalent to the set of unique
* {@link Quad#getGraphName()} of all the {@link #stream()} of this dataset
@@ -219,7 +219,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
long size();
/**
- * Get all quads contained by the dataset.<br>
+ * Gets all quads contained by the dataset.<br>
* <p>
* The iteration does not contain any duplicate quads, as determined by the
* {@link Quad#equals(Object)} method for each {@link Quad}.
@@ -237,7 +237,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
Stream<? extends Quad> stream();
/**
- * Get all quads contained by the dataset matched with the pattern.
+ * Gets all quads contained by the dataset matched with the pattern.
* <p>
* The iteration does not contain any duplicate quads, as determined by the
* {@link Quad#equals(Object)} method for each {@link Quad}.
@@ -265,7 +265,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
RDFTerm object);
/**
- * Get an Iterable for iterating over all quads in the dataset.
+ * Gets an Iterable for iterating over all quads in the dataset.
* <p>
* This method is meant to be used with a Java for-each loop, e.g.:
*
@@ -306,7 +306,7 @@ public interface Dataset extends AutoCloseable, GraphLike<Quad> {
}
/**
- * Get an Iterable for iterating over the quads in the dataset that match
+ * Gets an Iterable for iterating over the quads in the dataset that match
* the pattern.
* <p>
* This method is meant to be used with a Java for-each loop, e.g.:
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 2f1eb526..65e18143 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
@@ -162,7 +162,7 @@ public class RDF4JParser extends AbstractRDFParser<RDF4JParser> {
}
/**
- * Get the RDF4J {@link ParserConfig} to use.
+ * Gets the RDF4J {@link ParserConfig} to use.
* <p>
* If no parser config is set, the default configuration is provided.
* <p>
diff --git a/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/Types.java b/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/Types.java
index dd309fcd..67c3acde 100644
--- a/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/Types.java
+++ b/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/Types.java
@@ -317,7 +317,7 @@ public final class Types implements IRI, SimpleRDF.SimpleRDFTerm {
}
/**
- * Get an immutable set of the IRIs used by the RDF-1.1 specification to
+ * Gets an immutable set of the IRIs used by the RDF-1.1 specification to
* define types, from the RDF and XML Schema vocabularies.
*
* @return A {@link Set} containing all of the IRIs in this collection.
@@ -327,7 +327,7 @@ public final class Types implements IRI, SimpleRDF.SimpleRDFTerm {
}
/**
- * Get the IRI from this collection if it is present, or return
+ * Gets the IRI from this collection if it is present, or return
* {@link Optional#empty()} otherwise.
*
* @param nextIRI
diff --git a/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/experimental/AbstractRDFParser.java b/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/experimental/AbstractRDFParser.java
index 5c6c1b40..3dd24dac 100644
--- a/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/experimental/AbstractRDFParser.java
+++ b/commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/experimental/AbstractRDFParser.java
@@ -68,7 +68,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
private static final RDF internalRdfTermFactory = new SimpleRDF();
/**
- * Get the set {@link RDF}, if any.
+ * Gets the set {@link RDF}, if any.
*
* @return The {@link RDF} to use, or {@link Optional#empty()} if it has not
* been set
@@ -78,7 +78,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the set content-type {@link RDFSyntax}, if any.
+ * Gets the set content-type {@link RDFSyntax}, if any.
* <p>
* If this is {@link Optional#isPresent()}, then {@link #getContentType()}
* contains the value of {@link RDFSyntax#mediaType}.
@@ -91,7 +91,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the set content-type String, if any.
+ * Gets the set content-type String, if any.
* <p>
* If this is {@link Optional#isPresent()} and is recognized by
* {@link RDFSyntax#byMediaType(String)}, then the corresponding
@@ -106,7 +106,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the target to consume parsed Quads.
+ * Gets the target to consume parsed Quads.
* <p>
* From the call to {@link #parseSynchronusly()}, this will be a
* non-<code>null</code> value (as a target is a required setting).
@@ -120,7 +120,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the target dataset as set by {@link #target(Dataset)}.
+ * Gets the target dataset as set by {@link #target(Dataset)}.
* <p>
* The return value is {@link Optional#isPresent()} if and only if
* {@link #target(Dataset)} has been set, meaning that the implementation
@@ -138,7 +138,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the target graph as set by {@link #target(Graph)}.
+ * Gets the target graph as set by {@link #target(Graph)}.
* <p>
* The return value is {@link Optional#isPresent()} if and only if
* {@link #target(Graph)} has been set, meaning that the implementation may
@@ -156,7 +156,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the set base {@link IRI}, if present.
+ * Gets the set base {@link IRI}, if present.
*
* @return The base {@link IRI}, or {@link Optional#empty()} if it has not
* been set
@@ -166,7 +166,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the set source {@link InputStream}.
+ * Gets the set source {@link InputStream}.
* <p>
* If this is {@link Optional#isPresent()}, then {@link #getSourceFile()}
* and {@link #getSourceIri()} are {@link Optional#empty()}.
@@ -179,7 +179,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the set source {@link Path}.
+ * Gets the set source {@link Path}.
* <p>
* If this is {@link Optional#isPresent()}, then
* {@link #getSourceInputStream()} and {@link #getSourceIri()} are
@@ -193,7 +193,7 @@ public abstract class AbstractRDFParser<T extends AbstractRDFParser<T>> implemen
}
/**
- * Get the set source {@link Path}.
+ * Gets the set source {@link Path}.
* <p>
* If this is {@link Optional#isPresent()}, then
* {@link #getSourceInputStream()} and {@link #getSourceInputStream()} are