javadoc typos

Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/4aacf85c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/4aacf85c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/4aacf85c

Branch: refs/heads/master
Commit: 4aacf85cb328f96fd619e98337980f65b894d6e4
Parents: 3667592
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Sun Mar 27 21:32:26 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Fri Apr 1 16:19:58 2016 +0100

----------------------------------------------------------------------
 .../commons/rdf/api/RDFParserBuilder.java       | 21 ++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/4aacf85c/api/src/main/java/org/apache/commons/rdf/api/RDFParserBuilder.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/commons/rdf/api/RDFParserBuilder.java 
b/api/src/main/java/org/apache/commons/rdf/api/RDFParserBuilder.java
index 0aacb6a..2cc60bb 100644
--- a/api/src/main/java/org/apache/commons/rdf/api/RDFParserBuilder.java
+++ b/api/src/main/java/org/apache/commons/rdf/api/RDFParserBuilder.java
@@ -29,8 +29,8 @@ import java.util.concurrent.Future;
  * This interface follows the
  * <a href="https://en.wikipedia.org/wiki/Builder_pattern";>Builder pattern</a>,
  * allowing to set parser settings like {@link #contentType(RDFSyntax)} and
- * {@link #base(IRI)}. A caller MUST at least call one of the
- * <code>source</code> methods before calling {@link #parse()} on the returned
+ * {@link #base(IRI)}. A caller MUST call one of the
+ * {@link #source(IRI)} methods before calling {@link #parse()} on the returned
  * RDFParserBuilder.
  * <p>
  * It is undefined if a RDFParserBuilder is mutable or thread-safe, so callers
@@ -98,8 +98,8 @@ public interface RDFParserBuilder {
         * any <code>Content-Type</code> headers or equivalent.
         * <p>
         * The content type MAY include a <code>charset</code> parameter if the 
RDF
-        * media types which permit it; if <code>charset</code> is not 
specified the
-        * default is {@link StandardCharsets#UTF_8} unless overridden within 
the
+        * media types permit it; the default charset 
+        * is {@link StandardCharsets#UTF_8} unless overridden within the
         * document.
         * <p>
         * This method will override any contentType set with
@@ -112,21 +112,22 @@ public interface RDFParserBuilder {
         *            <a 
href="https://tools.ietf.org/html/rfc7231#section-3.1.1.1";>
         *            RFC7231</a>.
         * @throws IllegalArgumentException
-        *             If this RDFParserBuilder does not support the specified
-        *             content-type, or it has an invalid syntax.
+        *             If the contentType has an invalid syntax, 
+        *             or this RDFParserBuilder does not support the specified
+        *             contentType.
         * @return An {@link RDFParserBuilder} that will use the specified 
content
         *         type.
         */
        RDFParserBuilder contentType(String contentType);
 
        /**
-        * Specify which {@link Graph} to add triples into.
+        * Specify which {@link Graph} to add triples to.
         * <p>
-        * The default if this option has not been set is that each call to
-        * {@link #parse()} will return a new {@link Graph} (created using
+        * The default (if this option has not been set) is that each call to
+        * {@link #parse()} return a new {@link Graph}, which is created using
         * {@link RDFTermFactory#createGraph()} 
         * if {@link #rdfTermFactory(RDFTermFactory)}
-        * has been set).
+        * has been set.
         * 
         * @param graph
         *            The {@link Graph} to add triples into.

Reply via email to