You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commonsrdf.apache.org by st...@apache.org on 2016/10/27 09:57:56 UTC
incubator-commonsrdf git commit: COMMONSRDF-38 internallyMap on
.remove()
Repository: incubator-commonsrdf
Updated Branches:
refs/heads/master 4f243b351 -> cb58d5666
COMMONSRDF-38 internallyMap on .remove()
Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/cb58d566
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/cb58d566
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/cb58d566
Branch: refs/heads/master
Commit: cb58d5666e389e4b74f99e56303436498e82c7f1
Parents: 4f243b3
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Thu Oct 27 10:01:54 2016 +0100
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Thu Oct 27 10:01:54 2016 +0100
----------------------------------------------------------------------
simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/cb58d566/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
----------------------------------------------------------------------
diff --git a/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java b/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
index 779b1ad..c268f45 100644
--- a/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
+++ b/simple/src/main/java/org/apache/commons/rdf/simple/GraphImpl.java
@@ -165,7 +165,7 @@ final class GraphImpl implements Graph {
@Override
public void remove(Triple triple) {
- triples.remove(Objects.requireNonNull(triple));
+ triples.remove(internallyMap(triple));
}
@Override