style: Checks the log level before logging a FINE message.
This commit is contained in:
parent
a7ff3b8dca
commit
3e01bff25e
@ -237,8 +237,11 @@ public class StunCandidateHarvester
|
||||
@Override
|
||||
public Collection<LocalCandidate> harvest(Component component)
|
||||
{
|
||||
logger.fine("starting " + component.toShortString()
|
||||
+ " harvest for: " + toString() );
|
||||
if (logger.isLoggable(Level.FINE))
|
||||
{
|
||||
logger.fine("starting " + component.toShortString()
|
||||
+ " harvest for: " + toString());
|
||||
}
|
||||
stunStack = component.getParentStream().getParentAgent().getStunStack();
|
||||
|
||||
for (Candidate<?> cand : component.getLocalCandidates())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user