Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@@ -24,10 +24,10 @@ import com.google.gson.annotations.SerializedName;
import org.parceler.Parcel;
-@Parcel
/*
* Push data from server, https://github.com/nextcloud/notifications/blob/master/docs/push-v2.md#encrypted-subject-data
*/
+@Parcel
public class DecryptedPushMessage {
public String app;
public String type;
@@ -49,6 +49,7 @@ public class DecryptedPushMessage {
}
public DecryptedPushMessage() {
+ // empty constructor
public String getApp() {
@@ -49,6 +49,7 @@ public class FileSystemDataSet {
public FileSystemDataSet() {
public int getId() {
@@ -33,9 +33,6 @@ public class MediaFoldersModel {
this.videoMediaFolders = videoMediaFolders;
- public MediaFoldersModel() {
- }
-
public List<String> getImageMediaFolders() {
return this.imageMediaFolders;
@@ -38,6 +38,7 @@ public class PushConfigurationState {
public PushConfigurationState() {
+ // empty constructor for JSON parser
public String getPushToken() {
@@ -34,6 +34,7 @@ public class SignatureVerification {
public SignatureVerification() {
public boolean isSignatureValid() {
@@ -36,6 +36,7 @@ public class Template {
public String extension;
public Template() {
public Template(int id, String name, String thumbnailLink, Type type, String extension) {
@@ -29,7 +29,7 @@ public class StoragePoint implements Comparable<StoragePoint> {
private String path;
private StorageType storageType;
private PrivacyType privacyType;
+
public StoragePoint(String description, String path, StorageType storageType, PrivacyType privacyType) {
this.description = description;
this.path = path;
@@ -38,6 +38,7 @@ public class StoragePoint implements Comparable<StoragePoint> {
public StoragePoint() {
public String getDescription() {
@@ -85,6 +85,7 @@ public class SyncedFolderParcelable implements Parcelable {
public SyncedFolderParcelable() {
@Override
@@ -37,6 +37,7 @@ public class SearchEvent {
public SearchEvent() {
+ // empty constructor to create empty object
public String getSearchQuery() {
@@ -32,6 +32,7 @@ public class SyncEventFinished {
public SyncEventFinished() {
public Intent getIntent() {
@@ -34,6 +34,7 @@ public class SvgDecoder implements ResourceDecoder<InputStream, SVG> {
public SvgDecoder() {
public Resource<SVG> decode(InputStream source, int w, int h) throws IOException {