修复bug

This commit is contained in:
ascrutae 2016-01-29 11:18:50 +08:00
parent 40d514ed1c
commit 2cf914b721
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class UsersChangedDetectionThread extends Thread {
private boolean checkUserNumber() throws SQLException {
String currentUserIdsEncryptedStr = MD5Encryption.getEncryption(AlarmMessageDao.selectAllUserIds().toString());
if (userIdsEncryptedStr == currentUserIdsEncryptedStr) {
if (userIdsEncryptedStr.equals(currentUserIdsEncryptedStr)) {
return false;
}
userIdsEncryptedStr = currentUserIdsEncryptedStr;