Fixes behavioural problems introduced by property management refactoring. Should repair the tests

This commit is contained in:
emcho 2010-04-25 16:25:49 +00:00
parent e103c4acb9
commit f85fa67bfe
3 changed files with 3 additions and 4 deletions

View File

@ -593,7 +593,7 @@ public abstract class Message
//add FINGERPRINT if there was one or if user told us to add it //add FINGERPRINT if there was one or if user told us to add it
//everywhere. //everywhere.
if (fingerprint == null if (fingerprint == null
&& Boolean.getBoolean(StackProperties.ALWAYS_SIGN)); && Boolean.getBoolean(StackProperties.ALWAYS_SIGN))
{ {
fingerprint = AttributeFactory.createFingerprintAttribute(); fingerprint = AttributeFactory.createFingerprintAttribute();
} }
@ -602,7 +602,6 @@ public abstract class Message
{ {
addAttribute(fingerprint); addAttribute(fingerprint);
} }
} }
/** /**

View File

@ -184,7 +184,7 @@ class StunClientTransaction
*/ */
public void run() public void run()
{ {
retransmissionsThread.setName("CliTran"); retransmissionsThread.setName("ice4j.ClientTransaction");
nextWaitInterval = originalWaitInterval; nextWaitInterval = originalWaitInterval;
for (retransmissionCounter = 0; for (retransmissionCounter = 0;

View File

@ -400,7 +400,7 @@ public class StunStack
"Failed to retransmit a stun response", ex); "Failed to retransmit a stun response", ex);
} }
if(Boolean.getBoolean( if(!Boolean.getBoolean(
StackProperties.PROPAGATE_RECEIVED_RETRANSMISSIONS)) StackProperties.PROPAGATE_RECEIVED_RETRANSMISSIONS))
{ {
return; return;