Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
e8549364
Commit
e8549364
authored
Aug 14, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Spotlight.java
parent
5ac503cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
Spotlight.java
...core/src/main/java/chat/rocket/core/models/Spotlight.java
+0
-27
No files found.
rocket-chat-core/src/main/java/chat/rocket/core/models/Spotlight.java
View file @
e8549364
package
chat
.
rocket
.
core
.
models
;
import
com.google.auto.value.AutoValue
;
import
javax.annotation.Nullable
;
@AutoValue
public
abstract
class
Spotlight
{
...
...
@@ -10,30 +9,8 @@ public abstract class Spotlight {
public
abstract
String
getName
();
@Nullable
public
abstract
String
getUsername
();
@Nullable
public
abstract
String
getStatus
();
@Nullable
public
abstract
String
getType
();
@Nullable
public
boolean
isChannel
()
{
return
Room
.
TYPE_CHANNEL
.
equals
(
getType
());
}
@Nullable
public
boolean
isPrivate
()
{
return
Room
.
TYPE_PRIVATE
.
equals
(
getType
());
}
@Nullable
public
boolean
isDirectMessage
()
{
return
Room
.
TYPE_DIRECT_MESSAGE
.
equals
(
getType
());
}
public
static
Spotlight
.
Builder
builder
()
{
return
new
AutoValue_Spotlight
.
Builder
();
}
...
...
@@ -45,10 +22,6 @@ public abstract class Spotlight {
public
abstract
Builder
setName
(
String
name
);
public
abstract
Builder
setUsername
(
String
username
);
public
abstract
Builder
setStatus
(
String
status
);
public
abstract
Builder
setType
(
String
type
);
public
abstract
Spotlight
build
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment