Skip to content

Instantly share code, notes, and snippets.

@dcbriccetti
Created August 31, 2009 07:36
Show Gist options
  • Save dcbriccetti/178343 to your computer and use it in GitHub Desktop.
Save dcbriccetti/178343 to your computer and use it in GitHub Desktop.
val isMentions = tweetsProvider.isInstanceOf[MentionsProvider] // TODO do without this test
val model = if (isMentions)
new StatusTableModel(sto, tweetsProvider, usersTableModel, fs, service, user.user, tagUsers) with Mentions
else
new StatusTableModel(sto, tweetsProvider, usersTableModel, fs, service, user.user, tagUsers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment