# HG changeset patch # User Da Risk # Date 1275421718 -7200 # Node ID 6c83317a3c8420930bd81add5cc11b97cc45dbfe # Parent 97451b0f4f0922f85427dc3d8f30ae8adcf965da Checkstyle. diff -r 97451b0f4f09 -r 6c83317a3c84 src/com/beem/project/beem/service/Contact.java --- 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(); + } + } diff -r 97451b0f4f09 -r 6c83317a3c84 src/com/beem/project/beem/ui/Chat.java --- 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;