Sho SHIMIZU
Committed by Gerrit Code Review

Remove unreferenced fields

Change-Id: Ib8122e9a70d56524ac6885ab79cab73f39a2736e
...@@ -21,7 +21,6 @@ import org.apache.felix.scr.annotations.Component; ...@@ -21,7 +21,6 @@ import org.apache.felix.scr.annotations.Component;
21 import org.apache.felix.scr.annotations.Deactivate; 21 import org.apache.felix.scr.annotations.Deactivate;
22 import org.apache.felix.scr.annotations.Reference; 22 import org.apache.felix.scr.annotations.Reference;
23 import org.apache.felix.scr.annotations.ReferenceCardinality; 23 import org.apache.felix.scr.annotations.ReferenceCardinality;
24 -import org.onlab.util.KryoNamespace;
25 import org.onosproject.cluster.ClusterService; 24 import org.onosproject.cluster.ClusterService;
26 import org.onosproject.cluster.NodeId; 25 import org.onosproject.cluster.NodeId;
27 import org.onosproject.core.ApplicationId; 26 import org.onosproject.core.ApplicationId;
...@@ -49,10 +48,6 @@ import org.onosproject.net.resource.LinkResourceService; ...@@ -49,10 +48,6 @@ import org.onosproject.net.resource.LinkResourceService;
49 import org.onosproject.net.topology.LinkWeight; 48 import org.onosproject.net.topology.LinkWeight;
50 import org.onosproject.net.topology.PathService; 49 import org.onosproject.net.topology.PathService;
51 import org.onosproject.net.topology.TopologyEdge; 50 import org.onosproject.net.topology.TopologyEdge;
52 -import org.onosproject.net.topology.TopologyService;
53 -import org.onosproject.store.serializers.KryoNamespaces;
54 -import org.onosproject.store.service.Serializer;
55 -import org.onosproject.store.service.StorageService;
56 import org.slf4j.Logger; 51 import org.slf4j.Logger;
57 import org.slf4j.LoggerFactory; 52 import org.slf4j.LoggerFactory;
58 53
...@@ -80,9 +75,6 @@ public class OpticalPathProvisioner { ...@@ -80,9 +75,6 @@ public class OpticalPathProvisioner {
80 protected static final Logger log = LoggerFactory 75 protected static final Logger log = LoggerFactory
81 .getLogger(OpticalPathProvisioner.class); 76 .getLogger(OpticalPathProvisioner.class);
82 77
83 - private static final Serializer SERIALIZER = Serializer.using(
84 - new KryoNamespace.Builder().register(KryoNamespaces.API).build());
85 -
86 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 78 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
87 private IntentService intentService; 79 private IntentService intentService;
88 80
...@@ -90,9 +82,6 @@ public class OpticalPathProvisioner { ...@@ -90,9 +82,6 @@ public class OpticalPathProvisioner {
90 protected PathService pathService; 82 protected PathService pathService;
91 83
92 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 84 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
93 - protected TopologyService topologyService;
94 -
95 - @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
96 protected CoreService coreService; 85 protected CoreService coreService;
97 86
98 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 87 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
...@@ -105,9 +94,6 @@ public class OpticalPathProvisioner { ...@@ -105,9 +94,6 @@ public class OpticalPathProvisioner {
105 protected ClusterService clusterService; 94 protected ClusterService clusterService;
106 95
107 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 96 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
108 - protected StorageService storageService;
109 -
110 - @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
111 protected DeviceService deviceService; 97 protected DeviceService deviceService;
112 98
113 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) 99 @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY)
......