commit | 5154ec3e91b4c16f530758a829323f1105ca44ea | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@onlab.us> | Wed Oct 22 10:51:18 2014 -0700 |
committer | Ray Milkey <ray@onlab.us> | Wed Oct 22 11:05:43 2014 -0700 |
tree | be50eef99cb5c82226551ed6efb51bea736fa7cf | |
parent | 2374fc9e454aa586f77f270a856484aa4beb1bd7 [diff] [blame] |
Fix some unchecked conversion warnings Change-Id: I5cfb0fceb6ab1d200fb1d7e9849ce458a2aa8ac7
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortEventSerializer.java b/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortEventSerializer.java index 4f4a9e6..2facb7e 100644 --- a/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortEventSerializer.java +++ b/core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortEventSerializer.java
@@ -37,6 +37,8 @@ Class<InternalPortEvent> type) { ProviderId providerId = (ProviderId) kryo.readClassAndObject(input); DeviceId deviceId = (DeviceId) kryo.readClassAndObject(input); + + @SuppressWarnings("unchecked") Timestamped<List<PortDescription>> portDescriptions = (Timestamped<List<PortDescription>>) kryo.readClassAndObject(input);