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/09/02 14:31:55 UTC
jena git commit: better javadoc
Repository: jena
Updated Branches:
refs/heads/master 1d5f0dc68 -> 5e7c47604
better javadoc
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/5e7c4760
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/5e7c4760
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/5e7c4760
Branch: refs/heads/master
Commit: 5e7c476047a26bba32607aba1954273c83e15ba2
Parents: 1d5f0dc
Author: Andy Seaborne <an...@apache.org>
Authored: Fri Sep 2 15:31:42 2016 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Fri Sep 2 15:31:42 2016 +0100
----------------------------------------------------------------------
jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/5e7c4760/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java b/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java
index 8b3da79..149e932 100644
--- a/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java
+++ b/jena-core/src/main/java/org/apache/jena/graph/GraphUtil.java
@@ -226,10 +226,12 @@ public class GraphUtil
}
private static final int sliceSize = 1000 ;
- /** A safe and cautious remve() function.
+ /** A safe and cautious remove() function that converts the remove to
+ * a number of {@link Graph#delete(Triple)} operations.
+ * <p>
* To avoid any possible ConcurrentModificationExceptions,
* it finds batches of triples, deletes them and tries again until
- * no change occurs.
+ * no more triples matching the input can be found.
*/
public static void remove(Graph g, Node s, Node p, Node o) {
// Beware of ConcurrentModificationExceptions.