[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/protocol/yahoo/OperationSetPersistentPresenceYahooImpl.java

damencho at dev.java.net damencho at dev.java.net
Mon Apr 16 12:28:19 CEST 2007


User: damencho
Date: 2007-04-16 10:28:19+0000
Log:
 add some tracing when changing contact status.

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/protocol/yahoo/
===============================================================================

File [changed]: OperationSetPersistentPresenceYahooImpl.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/protocol/yahoo/OperationSetPersistentPresenceYahooImpl.java?r1=1.5&r2=1.6
Delta lines:  +3 -0
-------------------
--- OperationSetPersistentPresenceYahooImpl.java	2007-01-25 15:28:01+0000	1.5
+++ OperationSetPersistentPresenceYahooImpl.java	2007-04-16 10:28:16+0000	1.6
@@ -1057,7 +1057,10 @@
 
         // when old and new status are the same do nothing - no change
         if(oldStatus.equals(newStatus))
+        {
+            logger.debug("old(" + oldStatus + ") and new("+ newStatus + ") statuses are the same!");
             return;
+        }
 
         sourceContact.updatePresenceStatus(newStatus);
 




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list