Skip to content

Commit

Permalink
Remove Yoda style we must
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy authored and timrae committed Sep 8, 2018
1 parent 55a2253 commit aa5c547
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void onReceive(Context context, Intent intent) {

final long deckId = intent.getLongExtra(EXTRA_DECK_ID, 0);

if (null == CollectionHelper.getInstance().getCol(context).getDecks().get(deckId, false)) {
if (CollectionHelper.getInstance().getCol(context).getDecks().get(deckId, false) == null) {
final AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);

final PendingIntent reminderIntent = PendingIntent.getBroadcast(
Expand Down

0 comments on commit aa5c547

Please sign in to comment.