You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2016/10/06 13:29:44 UTC

[5/5] jena git commit: Fix javadoc warnings

Fix javadoc warnings


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/158b64dd
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/158b64dd
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/158b64dd

Branch: refs/heads/master
Commit: 158b64dd0041b16efb53b12da4ce810980441c66
Parents: 15aa623
Author: Andy Seaborne <an...@apache.org>
Authored: Thu Oct 6 14:29:21 2016 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Thu Oct 6 14:29:21 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/jena/rdf/model/Resource.java    | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/158b64dd/jena-core/src/main/java/org/apache/jena/rdf/model/Resource.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/rdf/model/Resource.java b/jena-core/src/main/java/org/apache/jena/rdf/model/Resource.java
index 69485cf..f03ed94 100644
--- a/jena-core/src/main/java/org/apache/jena/rdf/model/Resource.java
+++ b/jena-core/src/main/java/org/apache/jena/rdf/model/Resource.java
@@ -136,7 +136,7 @@ public interface Resource extends RDFNode {
     * be returned.  If no such statements are found, an exception is thrown.</p>
     * @param p The property sought.
     * @param lang The language of the statement with the property sought.
-    * @return some (this, p, ?O) statement if one exists
+    * @return some (this, p@lang, ?O) statement if one exists
     * @throws PropertyNotFoundException if no such statement found
     */
     public Statement getRequiredProperty( Property p, String lang );
@@ -155,10 +155,8 @@ public interface Resource extends RDFNode {
      * returned. If no such statements exist, null is returned - in this is differs
      * from getRequiredProperty.
      * @param p The property sought.
-     * @param o The value of the property sought.
-     * @param l The language of the property sought.
-     * @return true if and only if this resource has property p with
-     * value o.
+     * @param lang The language of the property sought.
+     * @return some (this, p@lang, ?O) statement if one exists
      */
     public Statement getProperty( Property p, String lang );