Pre-cache key makers 35/7635/1
authorRobert Varga <rovarga@cisco.com>
Tue, 3 Jun 2014 10:48:56 +0000 (12:48 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 3 Jun 2014 11:01:33 +0000 (13:01 +0200)
commit9494dd08315ce7c0a8d1b9d9942fea10a1d17f79
tree88bf79d97936cc058331d2546c60c57726499c91
parentc4492ffff102a6bf4b4ecc8f10f4babd95303fcb
Pre-cache key makers

These are essentially constants, so there is no need to allocate them
over and over again -- just create a single instance and reuse it. Save
CPU and GC cycles.

Change-Id: I77670f4465d8139c6f218bd6f7dab13b66a5b8fc
Signed-off-by: Robert Varga <rovarga@cisco.com>
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/serialization/factories/FlowModInputMessageFactory.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/serialization/factories/OF10FlowModInputMessageFactory.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/serialization/instruction/AbstractActionInstructionSerializer.java