From 2737285bf9dd37d501884a3aadce1d4ab118e8f3 Mon Sep 17 00:00:00 2001 From: Marian Adamjak Date: Thu, 23 Oct 2014 14:31:50 +0200 Subject: [PATCH] BUG 2245 Fixed Local Variable Names Change-Id: Iae8a14c08d5a2d902a0be56bb0a1752132e0e3ab Signed-off-by: Marian Adamjak --- .../factories/FlowRemovedMessageFactory.java | 12 +++++----- .../OF10FlowRemovedMessageFactory.java | 12 +++++----- .../WriteMetadataInstructionDeserializer.java | 6 ++--- .../impl/util/OF10MatchDeserializer.java | 24 +++++++++---------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/FlowRemovedMessageFactory.java b/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/FlowRemovedMessageFactory.java index 86a2d085..97a4390f 100644 --- a/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/FlowRemovedMessageFactory.java +++ b/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/FlowRemovedMessageFactory.java @@ -48,12 +48,12 @@ public class FlowRemovedMessageFactory implements OFDeserializer matchDeserializer = registry.getDeserializer(new MessageCodeKey( EncodeConstants.OF13_VERSION_ID, EncodeConstants.EMPTY_VALUE, Match.class)); builder.setMatch(matchDeserializer.deserialize(rawMessage)); diff --git a/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/OF10FlowRemovedMessageFactory.java b/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/OF10FlowRemovedMessageFactory.java index e048092d..18573f1b 100644 --- a/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/OF10FlowRemovedMessageFactory.java +++ b/openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/deserialization/factories/OF10FlowRemovedMessageFactory.java @@ -51,12 +51,12 @@ public class OF10FlowRemovedMessageFactory implements OFDeserializer { * @return decoded FlowWildcardsV10 */ public static FlowWildcardsV10 createWildcards(final long input) { - boolean _iNPORT = (input & (1 << 0)) != 0; - boolean _dLVLAN = (input & (1 << 1)) != 0; - boolean _dLSRC = (input & (1 << 2)) != 0; - boolean _dLDST = (input & (1 << 3)) != 0; - boolean _dLTYPE = (input & (1 << 4)) != 0; - boolean _nWPROTO = (input & (1 << 5)) != 0; - boolean _tPSRC = (input & (1 << 6)) != 0; - boolean _tPDST = (input & (1 << 7)) != 0; - boolean _dLVLANPCP = (input & (1 << 20)) != 0; - boolean _nWTOS = (input & (1 << 21)) != 0; - return new FlowWildcardsV10(_dLDST, _dLSRC, _dLTYPE, _dLVLAN, - _dLVLANPCP, _iNPORT, _nWPROTO, _nWTOS, _tPDST, _tPSRC); + boolean inPort = (input & (1 << 0)) != 0; + boolean dlVLAN = (input & (1 << 1)) != 0; + boolean dlSrc = (input & (1 << 2)) != 0; + boolean dlDst = (input & (1 << 3)) != 0; + boolean dLType = (input & (1 << 4)) != 0; + boolean nwProto = (input & (1 << 5)) != 0; + boolean tpSrc = (input & (1 << 6)) != 0; + boolean tpDst = (input & (1 << 7)) != 0; + boolean dlVLANpcp = (input & (1 << 20)) != 0; + boolean nwTos = (input & (1 << 21)) != 0; + return new FlowWildcardsV10(dlDst, dlSrc, dLType, dlVLAN, + dlVLANpcp, inPort, nwProto, nwTos, tpDst, tpSrc); } /** -- 2.36.6