Checkstyle.
--- a/src/com/beem/project/beem/service/Contact.java Tue Jun 01 21:32:39 2010 +0200
+++ b/src/com/beem/project/beem/service/Contact.java Tue Jun 01 21:48:38 2010 +0200
@@ -409,11 +409,17 @@
@Override
public boolean equals(Object other) {
- if (!(other instanceof Contact) )
+ if (!(other instanceof Contact))
return false;
if (other == this)
return true;
Contact c = (Contact) other;
return c.getJID().equals(getJID());
}
+
+ @Override
+ public int hashCode() {
+ return mJID.hashCode();
+ }
+
}
--- a/src/com/beem/project/beem/ui/Chat.java Tue Jun 01 21:32:39 2010 +0200
+++ b/src/com/beem/project/beem/ui/Chat.java Tue Jun 01 21:48:38 2010 +0200
@@ -59,7 +59,6 @@
import android.content.ServiceConnection;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
-import android.graphics.drawable.LevelListDrawable;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;