commit | dcb59da7a1d15d35fd409c7de23e4eb466ddc853 | [log] [tgz] |
---|---|---|
author | Andreas Wundsam <andreas.wundsam@bigswitch.com> | Tue Sep 24 13:01:15 2013 -0700 |
committer | Andreas Wundsam <andreas.wundsam@bigswitch.com> | Tue Sep 24 13:01:15 2013 -0700 |
tree | 26949778f0ed6ee9ee31584ad071bc111bac21b2 | |
parent | aebe5186dccdec8df68b537c27560d36b896830d [diff] |
prerequisite: declare safe OFValueType utilization
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/Prerequisite.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/Prerequisite.java index 4e667e7..96cf8e9 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/Prerequisite.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/protocol/match/Prerequisite.java
@@ -10,7 +10,7 @@ private final Set<OFValueType<T>> values; private boolean any; - public Prerequisite(MatchField<T> field, OFValueType<T>... values) { + public Prerequisite(MatchField<T> field, @SuppressWarnings("unchecked") OFValueType<T>... values) { this.values = new HashSet<OFValueType<T>>(); this.field = field; if (values == null || values.length == 0) {