Optimize ActorContext a bit 24/14424/1
authorRobert Varga <rovarga@cisco.com>
Fri, 23 Jan 2015 10:14:26 +0000 (11:14 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 23 Jan 2015 11:13:51 +0000 (12:13 +0100)
commitfb6de938db4849cecc235eb274045d0ac45d7254
tree72e889909d47d5980be130b3f6f78257a63b9e43
parent7fcaf37fb411e26859ad761b329af1df9dd46c13
Optimize ActorContext a bit

Do not perform .toString() on objects passed to loggers -- it will be
invoked automatically if the message is not filtered.

Use a simple character lookup instead of a string.

Change-Id: I262298c767a1363daf3c8f7e83f994e70e0cf6bf
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ActorContext.java