Commit 146c5f9c authored by Tiago Cunha's avatar Tiago Cunha

WIP: pmd stuff

parent 1d1b6004
......@@ -67,9 +67,7 @@ import chat.rocket.android.widget.message.autocomplete.user.UserSource;
import chat.rocket.core.interactors.AutocompleteChannelInteractor;
import chat.rocket.core.interactors.AutocompleteUserInteractor;
import chat.rocket.core.interactors.MessageInteractor;
import chat.rocket.core.interactors.RoomInteractor;
import chat.rocket.core.interactors.SessionInteractor;
import chat.rocket.core.interactors.UserInteractor;
import chat.rocket.core.models.Message;
import chat.rocket.core.models.Room;
import chat.rocket.core.repositories.UserRepository;
......
......@@ -8,17 +8,17 @@ import chat.rocket.core.models.User;
public class RocketChatUserStatusProvider implements UserStatusProvider {
private static RocketChatUserStatusProvider INSTANCE;
private static RocketChatUserStatusProvider instance;
private RocketChatUserStatusProvider() {
}
public static RocketChatUserStatusProvider getInstance() {
if (INSTANCE == null) {
INSTANCE = new RocketChatUserStatusProvider();
if (instance == null) {
instance = new RocketChatUserStatusProvider();
}
return INSTANCE;
return instance;
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment