clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [1/4] git commit: replaced deprecated annotation
Date Tue, 31 Dec 2013 09:35:04 GMT
Updated Branches:
  refs/heads/master 0627f04a6 -> 12f839d90


replaced deprecated annotation

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

Branch: refs/heads/master
Commit: bb353f21280ff5e376a960f3da4802d99d869736
Parents: 3a9b5fa
Author: retobg <reto@apache.org>
Authored: Wed Dec 18 14:48:49 2013 +0100
Committer: retobg <reto@apache.org>
Committed: Wed Dec 18 14:48:49 2013 +0100

----------------------------------------------------------------------
 .../org/apache/clerezza/rdf/web/core/GraphManagement.java     | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/bb353f21/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/GraphManagement.java
----------------------------------------------------------------------
diff --git a/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/GraphManagement.java
b/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/GraphManagement.java
index 3e70c2c..9ded021 100644
--- a/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/GraphManagement.java
+++ b/rdf.web/rdf.web.core/src/main/java/org/apache/clerezza/rdf/web/core/GraphManagement.java
@@ -43,7 +43,6 @@ import org.apache.felix.scr.annotations.Reference;
 import org.apache.felix.scr.annotations.Service;
 import org.apache.clerezza.rdf.core.UriRef;
 import org.apache.clerezza.rdf.core.access.TcManager;
-import org.apache.clerezza.rdf.core.access.security.TcPermission;
 import org.apache.clerezza.rdf.core.impl.SimpleMGraph;
 import org.apache.clerezza.rdf.core.impl.TripleImpl;
 import org.apache.clerezza.rdf.ontologies.PLATFORM;
@@ -51,7 +50,6 @@ import org.apache.clerezza.rdf.ontologies.RDF;
 import org.apache.clerezza.rdf.ontologies.TCPROVIDER;
 import org.apache.clerezza.rdf.utils.GraphNode;
 import org.apache.clerezza.rdf.web.ontologies.GRAPHMANAGEMENT;
-import org.apache.felix.scr.annotations.Services;
 import org.osgi.service.component.ComponentContext;
 
 /**
@@ -62,10 +60,7 @@ import org.osgi.service.component.ComponentContext;
  * @author reto
  */
 @Component
-@Services({
-    @Service(value = Object.class),
-    @Service(value = GlobalMenuItemsProvider.class)
-})
+@Service({Object.class, GlobalMenuItemsProvider.class})
 @Property(name="javax.ws.rs", boolValue=true)
 @Path("/admin/graphs")
 public class GraphManagement implements GlobalMenuItemsProvider {


Mime
View raw message