r7239 - dumbhippo/trunk/server/src/com/dumbhippo/server/impl
- From: commits mugshot org
- To: online-desktop-list gnome org
- Subject: r7239 - dumbhippo/trunk/server/src/com/dumbhippo/server/impl
- Date: Mon, 21 Jan 2008 14:32:03 -0600 (CST)
Author: marinaz
Date: 2008-01-21 14:31:55 -0600 (Mon, 21 Jan 2008)
New Revision: 7239
Modified:
dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java
Log:
isApplicationEnabled can be null, so we need to check for that first
Modified: dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java 2008-01-21 18:04:16 UTC (rev 7238)
+++ dumbhippo/trunk/server/src/com/dumbhippo/server/impl/FacebookTrackerBean.java 2008-01-21 20:31:55 UTC (rev 7239)
@@ -303,7 +303,7 @@
}
}
});
- if (facebookAccount != null && facebookAccount.isApplicationEnabled()) {
+ if (facebookAccount != null && facebookAccount.isApplicationEnabled() != null && facebookAccount.isApplicationEnabled()) {
Pair<Account, Set<ExternalAccountView>> accountsPair = TxUtils.runInTransaction(new Callable<Pair<Account, Set<ExternalAccountView>>>() {
public Pair<Account, Set<ExternalAccountView>> call() {
Account account = accounts.lookupAccountByUser(user);
@@ -336,7 +336,7 @@
}
}
});
- if (facebookAccount != null && facebookAccount.isApplicationEnabled()) {
+ if (facebookAccount != null && facebookAccount.isApplicationEnabled() != null && facebookAccount.isApplicationEnabled()) {
BlockView blockView = TxUtils.runInTransaction(new Callable<BlockView>() {
public BlockView call() {
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]