checkstyle fixes
Change-Id: I15af1a85632dc4907988f2503c327cd3ec31bc72
Showing
2 changed files
with
4 additions
and
3 deletions
... | @@ -35,7 +35,8 @@ public class InternalDeviceEventSerializer extends Serializer<InternalDeviceEven | ... | @@ -35,7 +35,8 @@ public class InternalDeviceEventSerializer extends Serializer<InternalDeviceEven |
35 | Class<InternalDeviceEvent> type) { | 35 | Class<InternalDeviceEvent> type) { |
36 | ProviderId providerId = (ProviderId) kryo.readClassAndObject(input); | 36 | ProviderId providerId = (ProviderId) kryo.readClassAndObject(input); |
37 | DeviceId deviceId = (DeviceId) kryo.readClassAndObject(input); | 37 | DeviceId deviceId = (DeviceId) kryo.readClassAndObject(input); |
38 | - Timestamped<DeviceDescription> deviceDescription = (Timestamped<DeviceDescription>) kryo.readClassAndObject(input); | 38 | + Timestamped<DeviceDescription> deviceDescription |
39 | + = (Timestamped<DeviceDescription>) kryo.readClassAndObject(input); | ||
39 | 40 | ||
40 | return new InternalDeviceEvent(providerId, deviceId, deviceDescription); | 41 | return new InternalDeviceEvent(providerId, deviceId, deviceDescription); |
41 | } | 42 | } | ... | ... |
... | @@ -3,7 +3,6 @@ package org.onlab.onos.store.device.impl; | ... | @@ -3,7 +3,6 @@ package org.onlab.onos.store.device.impl; |
3 | import java.util.List; | 3 | import java.util.List; |
4 | 4 | ||
5 | import org.onlab.onos.net.DeviceId; | 5 | import org.onlab.onos.net.DeviceId; |
6 | -import org.onlab.onos.net.device.DeviceDescription; | ||
7 | import org.onlab.onos.net.device.PortDescription; | 6 | import org.onlab.onos.net.device.PortDescription; |
8 | import org.onlab.onos.net.provider.ProviderId; | 7 | import org.onlab.onos.net.provider.ProviderId; |
9 | import org.onlab.onos.store.common.impl.Timestamped; | 8 | import org.onlab.onos.store.common.impl.Timestamped; |
... | @@ -38,7 +37,8 @@ public class InternalPortEventSerializer extends Serializer<InternalPortEvent> { | ... | @@ -38,7 +37,8 @@ public class InternalPortEventSerializer extends Serializer<InternalPortEvent> { |
38 | Class<InternalPortEvent> type) { | 37 | Class<InternalPortEvent> type) { |
39 | ProviderId providerId = (ProviderId) kryo.readClassAndObject(input); | 38 | ProviderId providerId = (ProviderId) kryo.readClassAndObject(input); |
40 | DeviceId deviceId = (DeviceId) kryo.readClassAndObject(input); | 39 | DeviceId deviceId = (DeviceId) kryo.readClassAndObject(input); |
41 | - Timestamped<List<PortDescription>> portDescriptions = (Timestamped<List<PortDescription>>) kryo.readClassAndObject(input); | 40 | + Timestamped<List<PortDescription>> portDescriptions |
41 | + = (Timestamped<List<PortDescription>>) kryo.readClassAndObject(input); | ||
42 | 42 | ||
43 | return new InternalPortEvent(providerId, deviceId, portDescriptions); | 43 | return new InternalPortEvent(providerId, deviceId, portDescriptions); |
44 | } | 44 | } | ... | ... |
-
Please register or login to post a comment