--- a/src/com/beem/project/beem/ui/CreateAccount.java Mon Aug 10 05:58:46 2009 +0200
+++ b/src/com/beem/project/beem/ui/CreateAccount.java Mon Aug 10 06:08:46 2009 +0200
@@ -168,7 +168,7 @@
* @return Registered proxy username
*/
private String getRegisteredProxyUsername() {
- return (Settings.getString(getString(R.string.settings_key_proxy_username), DEFAULT_STRING_VALUE);
+ return Settings.getString(getString(R.string.settings_key_proxy_username), DEFAULT_STRING_VALUE);
}
/**
--- a/src/com/beem/project/beem/ui/SendIM.java Mon Aug 10 05:58:46 2009 +0200
+++ b/src/com/beem/project/beem/ui/SendIM.java Mon Aug 10 06:08:46 2009 +0200
@@ -258,10 +258,10 @@
/**
* The service connection used to connect with the BeemService.
*/
- private class BeemServiceConnection implements ServiceConnection {
+ private final class BeemServiceConnection implements ServiceConnection {
private BeemRosterListener mBeemRosterListener = new BeemRosterListener();
- private BeemServiceConnection() {}
+ private BeemServiceConnection() { }
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
@@ -367,10 +367,16 @@
}
/**
- * Listener for chat creation. (maybe not necessary)
+ * Listener for chat creation. (maybe not necessary).
* @author darisk
*/
private class OnChatListener extends IChatManagerListener.Stub {
+
+ /**
+ * Constructor.
+ */
+ public OnChatListener() {}
+
/**
* {@inheritDoc}
*/
@@ -381,8 +387,16 @@
}
+ /**
+ * Listener use to change the status displayed.
+ */
private class BeemRosterListener extends IBeemRosterListener.Stub {
+ /**
+ * Constructor.
+ */
+ public BeemRosterListener() {}
+
@Override
public void onEntriesAdded(List<String> addresses) throws RemoteException {
// TODO Auto-generated method stub
@@ -409,7 +423,16 @@
}
}
+ /**
+ * Runnable to change the status displayed.
+ */
private class RunnableChange implements Runnable {
+
+ /**
+ * Constructor.
+ */
+ public RunnableChange() {}
+
@Override
public void run() {
mStatusText.setText(mContact.getMsgState());
@@ -430,6 +453,11 @@
* @author darisk
*/
private class OnMessageListener extends IMessageListener.Stub {
+
+ /**
+ * Constructor.
+ */
+ public OnMessageListener() {}
/**
* {@inheritDoc}
--- a/src/com/beem/project/beem/utils/package-info.java Mon Aug 10 05:58:46 2009 +0200
+++ b/src/com/beem/project/beem/utils/package-info.java Mon Aug 10 06:08:46 2009 +0200
@@ -1,4 +1,4 @@
/**
- * This package contains utility class used by the Beem project
+ * This package contains utility class used by the Beem project.
*/
package com.beem.project.beem.utils;