jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cla...@apache.org
Subject [2/7] jena git commit: Removed dependency on google sets.
Date Thu, 25 May 2017 21:59:43 GMT
Removed dependency on google sets.

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

Branch: refs/heads/master
Commit: f78b8a8862e5d88fbf6540478c9cc849fa1c099b
Parents: 3238660
Author: Claude Warren <claude@apache.org>
Authored: Sat Apr 22 14:30:56 2017 +0100
Committer: Claude Warren <claude@apache.org>
Committed: Sat Apr 22 14:30:56 2017 +0100

----------------------------------------------------------------------
 .../jena/permissions/graph/SecuredGraphEventManager.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/f78b8a88/jena-permissions/src/main/java/org/apache/jena/permissions/graph/SecuredGraphEventManager.java
----------------------------------------------------------------------
diff --git a/jena-permissions/src/main/java/org/apache/jena/permissions/graph/SecuredGraphEventManager.java
b/jena-permissions/src/main/java/org/apache/jena/permissions/graph/SecuredGraphEventManager.java
index c7f3991..ea7404a 100644
--- a/jena-permissions/src/main/java/org/apache/jena/permissions/graph/SecuredGraphEventManager.java
+++ b/jena-permissions/src/main/java/org/apache/jena/permissions/graph/SecuredGraphEventManager.java
@@ -21,13 +21,13 @@ import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
 import java.util.HashMap;
+import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 import java.util.Stack;
 
-import org.apache.jena.ext.com.google.common.collect.Sets;
 import org.apache.jena.graph.Graph;
 import org.apache.jena.graph.GraphEventManager;
 import org.apache.jena.graph.GraphListener;
@@ -378,8 +378,8 @@ public class SecuredGraphEventManager implements GraphEventManager {
 	private static Set<Action> ADD;
 
 	static {
-		SecuredGraphEventManager.ADD = Sets.newHashSet(Action.Create, Action.Read);
-		SecuredGraphEventManager.DELETE = Sets.newHashSet(Action.Delete, Action.Read);
+		SecuredGraphEventManager.ADD = new HashSet<Action>( Arrays.asList(Action.Create,
Action.Read));
+		SecuredGraphEventManager.DELETE = new HashSet<Action>(Arrays.asList(Action.Delete,
Action.Read));
 	}
 
 	public SecuredGraphEventManager(final SecuredGraph securedGraph,


Mime
View raw message