StringBuffer cleanup 63/57063/4
authorStephen Kitt <skitt@redhat.com>
Mon, 15 May 2017 13:15:08 +0000 (15:15 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 17 May 2017 09:07:44 +0000 (09:07 +0000)
This patch cleans up StringBuffer use, mostly replacing StringBuffer
with StringBuilder or plain String concatenation for short sequences
(or constants).

* HexEncode: additionally, avoid using a separate return variable,
  drop the useless ":" handling in bytesToHexString(), and add the
  test class from l2switch.
* HardcodedModuleFactoriesResolver: rework the conflicting module
  handling.

Change-Id: Id76e91bba9ce40bd8ed5947c2d40e3a7baf0a949
Signed-off-by: Stephen Kitt <skitt@redhat.com>

No differences found