[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/contactlist/MetaContactImpl.java

emcho at dev.java.net emcho at dev.java.net
Fri May 18 19:17:23 CEST 2007


User: emcho   
Date: 2007-05-18 17:17:23+0000
Log:
 fixed a bug comparing non-latin display names

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/contactlist/
============================================================================

File [changed]: MetaContactImpl.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/contactlist/MetaContactImpl.java?r1=1.24&r2=1.25
Delta lines:  +1 -1
-------------------
--- MetaContactImpl.java	2007-03-02 21:41:34+0000	1.24
+++ MetaContactImpl.java	2007-05-18 17:17:19+0000	1.25
@@ -316,7 +316,7 @@
             ? 1
             : 0;
 
-        return ( (10 - isOnline) - (10 - targetIsOnline)) * 1000000
+        return ( (10 - isOnline) - (10 - targetIsOnline)) * 100000000
             + getDisplayName().compareToIgnoreCase(target.getDisplayName())
             * 10000
             + getMetaUID().compareTo(target.getMetaUID());




---------------------------------------------------------------------
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