Remove uneeded boxing/unboxing (#70)

http://findbugs.sourceforge.net/bugDescriptions.html#DM_BOXED_PRIMITIVE_FOR_PARSING

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
This commit is contained in:
champtar 2016-04-20 22:12:53 +02:00 committed by Ingo Bauersachs
parent 08f6ee8c64
commit caa313739a

View File

@ -100,7 +100,7 @@ public class StunMappingCandidateHarvester
StunCandidateHarvester stunHarv = new StunCandidateHarvester(
new TransportAddress(
addressAndPort[0],
Integer.valueOf(addressAndPort[1]),
Integer.parseInt(addressAndPort[1]),
Transport.UDP));
Agent agent = new Agent();