--- a/src/com/beem/project/beem/ui/SendIM.java Mon Aug 10 05:32:45 2009 +0200
+++ b/src/com/beem/project/beem/ui/SendIM.java Mon Aug 10 05:58:07 2009 +0200
@@ -255,9 +255,14 @@
}
+ /**
+ * The service connection used to connect with the BeemService.
+ */
private class BeemServiceConnection implements ServiceConnection {
private BeemRosterListener mBeemRosterListener = new BeemRosterListener();
+ private BeemServiceConnection() {}
+
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
mXmppFacade = IXmppFacade.Stub.asInterface(service);
@@ -298,7 +303,7 @@
*/
private void sendText() {
String text = mToSend.getText().toString();
- if (!"".equals(text)){
+ if (!"".equals(text)) {
Message msg = new Message(mContact.getJID(), Message.MSG_TYPE_CHAT);
msg.setBody(text);
try {
--- a/src/com/beem/project/beem/utils/PresenceType.java Mon Aug 10 05:32:45 2009 +0200
+++ b/src/com/beem/project/beem/utils/PresenceType.java Mon Aug 10 05:58:07 2009 +0200
@@ -6,6 +6,7 @@
import org.jivesoftware.smack.packet.Presence;
/**
+ * Utility class to deal with Presence type.
* @author nikita
*/
public final class PresenceType {
--- a/src/com/beem/project/beem/utils/Status.java Mon Aug 10 05:32:45 2009 +0200
+++ b/src/com/beem/project/beem/utils/Status.java Mon Aug 10 05:58:07 2009 +0200
@@ -7,6 +7,7 @@
import org.jivesoftware.smack.packet.Presence.Mode;
/**
+ * Utility class to deal with status and presence value.
* @author marseille
*/
public final class Status {