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
b022e68b
Commit
b022e68b
authored
Dec 10, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove MessageUrl model.
parent
0882622c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
Message.java
app/src/main/java/chat/rocket/android/model/ddp/Message.java
+3
-4
MessageUrl.java
...c/main/java/chat/rocket/android/model/ddp/MessageUrl.java
+0
-14
No files found.
app/src/main/java/chat/rocket/android/model/ddp/Message.java
View file @
b022e68b
package
chat
.
rocket
.
android
.
model
.
ddp
;
import
chat.rocket.android.model.SyncState
;
import
io.realm.RealmList
;
import
io.realm.RealmObject
;
import
io.realm.annotations.PrimaryKey
;
import
org.json.JSONException
;
...
...
@@ -24,7 +23,7 @@ public class Message extends RealmObject {
private
User
u
;
private
boolean
groupable
;
private
String
attachments
;
//JSONArray.
private
RealmList
<
MessageUrl
>
urls
;
private
String
urls
;
//JSONArray.
public
String
get_id
()
{
return
_id
;
...
...
@@ -98,11 +97,11 @@ public class Message extends RealmObject {
this
.
attachments
=
attachments
;
}
public
RealmList
<
MessageUrl
>
getUrls
()
{
public
String
getUrls
()
{
return
urls
;
}
public
void
setUrls
(
RealmList
<
MessageUrl
>
urls
)
{
public
void
setUrls
(
String
urls
)
{
this
.
urls
=
urls
;
}
...
...
app/src/main/java/chat/rocket/android/model/ddp/MessageUrl.java
deleted
100644 → 0
View file @
0882622c
package
chat
.
rocket
.
android
.
model
.
ddp
;
import
io.realm.RealmObject
;
import
io.realm.annotations.PrimaryKey
;
/**
* Url.
*/
@SuppressWarnings
({
"PMD.ShortClassName"
,
"PMD.ShortVariable"
,
"PMD.MethodNamingConventions"
,
"PMD.VariableNamingConventions"
})
public
class
MessageUrl
extends
RealmObject
{
@PrimaryKey
private
String
url
;
private
String
parsedUrl
;
}
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