<commit_before>package com.thangiee.LoLHangouts.utils

import com.ruenzuo.messageslistview.models.Message
import com.thangiee.LoLHangouts.api.core.Friend
import de.greenrobot.event.EventBus
import de.keyboardsurfer.android.widget.crouton.{Configuration, Style}

object Events {
  val croutonEventBus = new EventBus()
  val niftyNotificationEventBus = new EventBus()
  case class CroutonMsg(msg: String, style: Style = Style.CONFIRM, duration: Int = Configuration.DURATION_LONG)
  case class RefreshFriendList()
  case class IncomingMessage(from: Friend, msg: Message)
  case class FriendCardClicked(friend: Friend)
  case class RefreshFriendCard(friend: Friend)
  case class ClearChatNotification()
  case class ClearLoginNotification()
  case class ClearDisConnectNotification()
  case class FinishMainActivity()
  case class ShowNiftyNotification(msg: Message)
}<commit_msg>refactor event<commit_after>package com.thangiee.LoLHangouts.utils

import com.thangiee.LoLHangouts.domain.entities.{Message, Friend}
import de.greenrobot.event.EventBus
import de.keyboardsurfer.android.widget.crouton.{Configuration, Style}

object Events {
  val croutonEventBus = new EventBus()
  val niftyNotificationEventBus = new EventBus()
  case class CroutonMsg(msg: String, style: Style = Style.CONFIRM, duration: Int = Configuration.DURATION_LONG)
  case class ReloadFriendCardList()
  case class IncomingMessage(from: Friend, msg: Message)
  case class FriendCardClicked(friend: Friend)
  case class RefreshFriendCard(friend: Friend)
  case class ClearChatNotification()
  case class ClearLoginNotification()
  case class ClearDisConnectNotification()
  case class FinishMainActivity()
  case class ShowNiftyNotification(msg: Message)
  case class SwitchScreen(drawerTitle: String)
}
{'fraction_non_alphanumeric': 0.07909604519774012, 'fraction_numerical': 0.0, 'mean_word_length': 6.472573839662447, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5661431', 'n_tokens_mistral': 528, 'n_tokens_neox': 523, 'n_words': 132}