commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject incubator-commonsrdf git commit: COMMONSRDF-38 internallyMap on .remove()
Date Thu, 27 Oct 2016 09:57:56 GMT
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 <stain@apache.org>
Authored: Thu Oct 27 10:01:54 2016 +0100
Committer: Stian Soiland-Reyes <stain@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


Mime
View raw message