Fixes types.
This commit is contained in:
parent
8862d9cc5a
commit
1ba6076431
@ -212,11 +212,11 @@ class ConnectivityCheckServer
|
|||||||
{
|
{
|
||||||
if(logger.isLoggable(Level.FINE))
|
if(logger.isLoggable(Level.FINE))
|
||||||
{
|
{
|
||||||
logger.log(Level.FINE, "Received a connectivity ckeck with"
|
logger.log(Level.FINE, "Received a connectivity check with"
|
||||||
+ "no PRIORITY attribute. Discarding.");
|
+ "no PRIORITY attribute. Discarding.");
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new IllegalArgumentException("Missing PRIORITY attribtue!");
|
throw new IllegalArgumentException("Missing PRIORITY attribute!");
|
||||||
}
|
}
|
||||||
|
|
||||||
return priorityAttr.getPriority();
|
return priorityAttr.getPriority();
|
||||||
@ -307,7 +307,7 @@ class ConnectivityCheckServer
|
|||||||
if(ourTieBreaker >= theirTieBreaker)
|
if(ourTieBreaker >= theirTieBreaker)
|
||||||
{
|
{
|
||||||
logger.finer(
|
logger.finer(
|
||||||
"Swithing to controlling because theirTieBreaker="
|
"Switching to controlling because theirTieBreaker="
|
||||||
+ theirTieBreaker + " and ourTieBreaker="
|
+ theirTieBreaker + " and ourTieBreaker="
|
||||||
+ ourTieBreaker);
|
+ ourTieBreaker);
|
||||||
parentAgent.setControlling(true);
|
parentAgent.setControlling(true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user