Commit 4cd1a173 authored by Tiago Cunha's avatar Tiago Cunha

Solved PMD warnings

parent 09780fe3
...@@ -3,6 +3,7 @@ package chat.rocket.android.model.ddp; ...@@ -3,6 +3,7 @@ package chat.rocket.android.model.ddp;
import io.realm.RealmObject; import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey; import io.realm.annotations.PrimaryKey;
@SuppressWarnings({"PMD.ShortVariable"})
public class Preferences extends RealmObject { public class Preferences extends RealmObject {
@PrimaryKey private String id; @PrimaryKey private String id;
......
...@@ -3,6 +3,7 @@ package chat.rocket.android.model.ddp; ...@@ -3,6 +3,7 @@ package chat.rocket.android.model.ddp;
import io.realm.RealmObject; import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey; import io.realm.annotations.PrimaryKey;
@SuppressWarnings({"PMD.ShortVariable"})
public class Settings extends RealmObject { public class Settings extends RealmObject {
@PrimaryKey private String id; @PrimaryKey private String id;
......
...@@ -14,6 +14,7 @@ public class LoadMessageProcedure extends RealmObject { ...@@ -14,6 +14,7 @@ public class LoadMessageProcedure extends RealmObject {
private long timestamp; private long timestamp;
private int count; private int count;
@SuppressWarnings({"PMD.AvoidFieldNameMatchingMethodName"})
private boolean hasNext; private boolean hasNext;
public String getRoomId() { public String getRoomId() {
......
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