Эх сурвалжийг харах

remove default constructors (generated by the compiler) and simplify if-statements of equals-methods

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 жил өмнө
parent
commit
b350a4c86e
100 өөрчлөгдсөн 208 нэмэгдсэн , 676 устгасан
  1. 2 7
      app/src/main/java/com/nextcloud/talk/components/filebrowser/models/BrowserFile.java
  2. 2 7
      app/src/main/java/com/nextcloud/talk/components/filebrowser/models/DavResponse.java
  3. 2 4
      app/src/main/java/com/nextcloud/talk/events/BottomSheetLockEvent.java
  4. 3 9
      app/src/main/java/com/nextcloud/talk/events/ConfigurationChangeEvent.java
  5. 2 4
      app/src/main/java/com/nextcloud/talk/events/EventStatus.java
  6. 2 4
      app/src/main/java/com/nextcloud/talk/events/MediaStreamEvent.java
  7. 2 4
      app/src/main/java/com/nextcloud/talk/events/MoreMenuClickEvent.java
  8. 8 10
      app/src/main/java/com/nextcloud/talk/events/NetworkEvent.java
  9. 2 4
      app/src/main/java/com/nextcloud/talk/events/PeerConnectionEvent.java
  10. 2 4
      app/src/main/java/com/nextcloud/talk/events/SessionDescriptionSendEvent.java
  11. 2 4
      app/src/main/java/com/nextcloud/talk/events/UserMentionClickEvent.java
  12. 2 4
      app/src/main/java/com/nextcloud/talk/events/WebSocketCommunicationEvent.java
  13. 2 7
      app/src/main/java/com/nextcloud/talk/models/ExternalSignalingServer.java
  14. 2 4
      app/src/main/java/com/nextcloud/talk/models/ImportAccount.java
  15. 2 7
      app/src/main/java/com/nextcloud/talk/models/LoginData.java
  16. 2 7
      app/src/main/java/com/nextcloud/talk/models/RetrofitBucket.java
  17. 2 7
      app/src/main/java/com/nextcloud/talk/models/RingtoneSettings.java
  18. 2 7
      app/src/main/java/com/nextcloud/talk/models/SignatureVerification.java
  19. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/autocomplete/AutocompleteOCS.java
  20. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/autocomplete/AutocompleteOverall.java
  21. 1 7
      app/src/main/java/com/nextcloud/talk/models/json/autocomplete/AutocompleteUser.java
  22. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/Capabilities.java
  23. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/CapabilitiesList.java
  24. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/CapabilitiesOCS.java
  25. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/CapabilitiesOverall.java
  26. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/NotificationsCapability.java
  27. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/ProvisioningCapability.java
  28. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/SpreedCapability.java
  29. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/capabilities/ThemingCapability.java
  30. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/chat/ChatMessage.java
  31. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCS.java
  32. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCSSingleMessage.java
  33. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverall.java
  34. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverallSingleMessage.java
  35. 4 10
      app/src/main/java/com/nextcloud/talk/models/json/conversations/Conversation.java
  36. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomOCS.java
  37. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomOverall.java
  38. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomsOCS.java
  39. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomsOverall.java
  40. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/generic/GenericMeta.java
  41. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/generic/GenericOCS.java
  42. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/generic/GenericOverall.java
  43. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/generic/Status.java
  44. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/mention/Mention.java
  45. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/mention/MentionOCS.java
  46. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/mention/MentionOverall.java
  47. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/Notification.java
  48. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationAction.java
  49. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationOCS.java
  50. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationOverall.java
  51. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationRichObject.java
  52. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationsOCS.java
  53. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationsOverall.java
  54. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/participants/AddParticipantOverall.java
  55. 2 8
      app/src/main/java/com/nextcloud/talk/models/json/participants/Participant.java
  56. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/participants/ParticipantsOCS.java
  57. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/participants/ParticipantsOverall.java
  58. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/push/DecryptedPushMessage.java
  59. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/push/NotificationUser.java
  60. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/push/PushConfigurationState.java
  61. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/push/PushRegistration.java
  62. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/push/PushRegistrationOCS.java
  63. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/push/PushRegistrationOverall.java
  64. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOCS.java
  65. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOverall.java
  66. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/sharees/ExactSharees.java
  67. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/sharees/Sharee.java
  68. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/sharees/ShareesOCS.java
  69. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/sharees/ShareesOverall.java
  70. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/sharees/SharesData.java
  71. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/sharees/Value.java
  72. 2 4
      app/src/main/java/com/nextcloud/talk/models/json/signaling/DataChannelMessage.java
  73. 2 4
      app/src/main/java/com/nextcloud/talk/models/json/signaling/DataChannelMessageNick.java
  74. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/NCIceCandidate.java
  75. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/NCMessagePayload.java
  76. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/NCMessageWrapper.java
  77. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/NCSignalingMessage.java
  78. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/Signaling.java
  79. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/SignalingOCS.java
  80. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/SignalingOverall.java
  81. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/IceServer.java
  82. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/Settings.java
  83. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/SignalingSettingsOcs.java
  84. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/SignalingSettingsOverall.java
  85. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileData.java
  86. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOCS.java
  87. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOverall.java
  88. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileOCS.java
  89. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileOverall.java
  90. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/ActorWebSocketMessage.java
  91. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/AuthParametersWebSocketMessage.java
  92. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/AuthWebSocketMessage.java
  93. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/BaseWebSocketMessage.java
  94. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/ByeWebSocketMessage.java
  95. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/CallOverallWebSocketMessage.java
  96. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/CallWebSocketMessage.java
  97. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/ErrorOverallWebSocketMessage.java
  98. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/ErrorWebSocketMessage.java
  99. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/EventOverallWebSocketMessage.java
  100. 2 7
      app/src/main/java/com/nextcloud/talk/models/json/websocket/HelloOverallWebSocketMessage.java

+ 2 - 7
app/src/main/java/com/nextcloud/talk/components/filebrowser/models/BrowserFile.java

@@ -60,9 +60,6 @@ public class BrowserFile {
     public String permissions;
     private boolean isAllowedToReShare = false;
 
-    public BrowserFile() {
-    }
-
     public static BrowserFile getModelFromResponse(Response response, String remotePath) {
         BrowserFile browserFile = new BrowserFile();
         browserFile.setPath(Uri.decode(remotePath));
@@ -273,10 +270,8 @@ public class BrowserFile {
         if (this$permissions == null ? other$permissions != null : !this$permissions.equals(other$permissions)) {
             return false;
         }
-        if (this.isAllowedToReShare() != other.isAllowedToReShare()) {
-            return false;
-        }
-        return true;
+
+        return this.isAllowedToReShare() == other.isAllowedToReShare();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/components/filebrowser/models/DavResponse.java

@@ -26,9 +26,6 @@ public class DavResponse {
     public Response response;
     public Object data;
 
-    public DavResponse() {
-    }
-
     public Response getResponse() {
         return this.response;
     }
@@ -63,10 +60,8 @@ public class DavResponse {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/BottomSheetLockEvent.java

@@ -91,10 +91,8 @@ public class BottomSheetLockEvent {
         if (this.isCancel() != other.isCancel()) {
             return false;
         }
-        if (this.isDismissView() != other.isDismissView()) {
-            return false;
-        }
-        return true;
+
+        return this.isDismissView() == other.isDismissView();
     }
 
     protected boolean canEqual(final Object other) {

+ 3 - 9
app/src/main/java/com/nextcloud/talk/events/ConfigurationChangeEvent.java

@@ -21,9 +21,6 @@
 package com.nextcloud.talk.events;
 
 public class ConfigurationChangeEvent {
-    public ConfigurationChangeEvent() {
-    }
-
     public boolean equals(final Object o) {
         if (o == this) {
             return true;
@@ -32,10 +29,8 @@ public class ConfigurationChangeEvent {
             return false;
         }
         final ConfigurationChangeEvent other = (ConfigurationChangeEvent) o;
-        if (!other.canEqual((Object) this)) {
-            return false;
-        }
-        return true;
+
+        return other.canEqual((Object) this);
     }
 
     protected boolean canEqual(final Object other) {
@@ -43,8 +38,7 @@ public class ConfigurationChangeEvent {
     }
 
     public int hashCode() {
-        int result = 1;
-        return result;
+        return 1;
     }
 
     public String toString() {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/EventStatus.java

@@ -74,10 +74,8 @@ public class EventStatus {
         if (this$eventType == null ? other$eventType != null : !this$eventType.equals(other$eventType)) {
             return false;
         }
-        if (this.isAllGood() != other.isAllGood()) {
-            return false;
-        }
-        return true;
+
+        return this.isAllGood() == other.isAllGood();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/MediaStreamEvent.java

@@ -70,10 +70,8 @@ public class MediaStreamEvent {
         }
         final Object this$videoStreamType = this.getVideoStreamType();
         final Object other$videoStreamType = other.getVideoStreamType();
-        if (this$videoStreamType == null ? other$videoStreamType != null : !this$videoStreamType.equals(other$videoStreamType)) {
-            return false;
-        }
-        return true;
+
+        return this$videoStreamType == null ? other$videoStreamType == null : this$videoStreamType.equals(other$videoStreamType);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/MoreMenuClickEvent.java

@@ -46,10 +46,8 @@ public class MoreMenuClickEvent {
         }
         final Object this$conversation = this.getConversation();
         final Object other$conversation = other.getConversation();
-        if (this$conversation == null ? other$conversation != null : !this$conversation.equals(other$conversation)) {
-            return false;
-        }
-        return true;
+
+        return this$conversation == null ? other$conversation == null : this$conversation.equals(other$conversation);
     }
 
     protected boolean canEqual(final Object other) {

+ 8 - 10
app/src/main/java/com/nextcloud/talk/events/NetworkEvent.java

@@ -21,6 +21,12 @@
 package com.nextcloud.talk.events;
 
 public class NetworkEvent {
+    private final NetworkConnectionEvent networkConnectionEvent;
+
+    public NetworkEvent(NetworkConnectionEvent networkConnectionEvent) {
+        this.networkConnectionEvent = networkConnectionEvent;
+    }
+
     public NetworkConnectionEvent getNetworkConnectionEvent() {
         return this.networkConnectionEvent;
     }
@@ -38,10 +44,8 @@ public class NetworkEvent {
         }
         final Object this$networkConnectionEvent = this.getNetworkConnectionEvent();
         final Object other$networkConnectionEvent = other.getNetworkConnectionEvent();
-        if (this$networkConnectionEvent == null ? other$networkConnectionEvent != null : !this$networkConnectionEvent.equals(other$networkConnectionEvent)) {
-            return false;
-        }
-        return true;
+
+        return this$networkConnectionEvent == null ? other$networkConnectionEvent == null : this$networkConnectionEvent.equals(other$networkConnectionEvent);
     }
 
     protected boolean canEqual(final Object other) {
@@ -63,10 +67,4 @@ public class NetworkEvent {
     public enum NetworkConnectionEvent {
         NETWORK_CONNECTED, NETWORK_DISCONNECTED
     }
-
-    private final NetworkConnectionEvent networkConnectionEvent;
-
-    public NetworkEvent(NetworkConnectionEvent networkConnectionEvent) {
-        this.networkConnectionEvent = networkConnectionEvent;
-    }
 }

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/PeerConnectionEvent.java

@@ -91,10 +91,8 @@ public class PeerConnectionEvent {
         }
         final Object this$videoStreamType = this.getVideoStreamType();
         final Object other$videoStreamType = other.getVideoStreamType();
-        if (this$videoStreamType == null ? other$videoStreamType != null : !this$videoStreamType.equals(other$videoStreamType)) {
-            return false;
-        }
-        return true;
+
+        return this$videoStreamType == null ? other$videoStreamType == null : this$videoStreamType.equals(other$videoStreamType);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/SessionDescriptionSendEvent.java

@@ -99,10 +99,8 @@ public class SessionDescriptionSendEvent {
         }
         final Object this$videoStreamType = this.getVideoStreamType();
         final Object other$videoStreamType = other.getVideoStreamType();
-        if (this$videoStreamType == null ? other$videoStreamType != null : !this$videoStreamType.equals(other$videoStreamType)) {
-            return false;
-        }
-        return true;
+
+        return this$videoStreamType == null ? other$videoStreamType == null : this$videoStreamType.equals(other$videoStreamType);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/UserMentionClickEvent.java

@@ -44,10 +44,8 @@ public class UserMentionClickEvent {
         }
         final Object this$userId = this.getUserId();
         final Object other$userId = other.getUserId();
-        if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) {
-            return false;
-        }
-        return true;
+
+        return this$userId == null ? other$userId == null : this$userId.equals(other$userId);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/events/WebSocketCommunicationEvent.java

@@ -61,10 +61,8 @@ public class WebSocketCommunicationEvent {
         }
         final Object this$hashMap = this.getHashMap();
         final Object other$hashMap = other.getHashMap();
-        if (this$hashMap == null ? other$hashMap != null : !this$hashMap.equals(other$hashMap)) {
-            return false;
-        }
-        return true;
+
+        return this$hashMap == null ? other$hashMap == null : this$hashMap.equals(other$hashMap);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/ExternalSignalingServer.java

@@ -33,9 +33,6 @@ public class ExternalSignalingServer {
     @JsonField(name = "externalSignalingTicket")
     String externalSignalingTicket;
 
-    public ExternalSignalingServer() {
-    }
-
     public String getExternalSignalingServer() {
         return this.externalSignalingServer;
     }
@@ -70,10 +67,8 @@ public class ExternalSignalingServer {
         }
         final Object this$externalSignalingTicket = this.getExternalSignalingTicket();
         final Object other$externalSignalingTicket = other.getExternalSignalingTicket();
-        if (this$externalSignalingTicket == null ? other$externalSignalingTicket != null : !this$externalSignalingTicket.equals(other$externalSignalingTicket)) {
-            return false;
-        }
-        return true;
+
+        return this$externalSignalingTicket == null ? other$externalSignalingTicket == null : this$externalSignalingTicket.equals(other$externalSignalingTicket);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/models/ImportAccount.java

@@ -82,10 +82,8 @@ public class ImportAccount {
         }
         final Object this$baseUrl = this.getBaseUrl();
         final Object other$baseUrl = other.getBaseUrl();
-        if (this$baseUrl == null ? other$baseUrl != null : !this$baseUrl.equals(other$baseUrl)) {
-            return false;
-        }
-        return true;
+
+        return this$baseUrl == null ? other$baseUrl == null : this$baseUrl.equals(other$baseUrl);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/LoginData.java

@@ -28,9 +28,6 @@ public class LoginData {
     String username;
     String token;
 
-    public LoginData() {
-    }
-
     public String getServerUrl() {
         return this.serverUrl;
     }
@@ -78,10 +75,8 @@ public class LoginData {
         }
         final Object this$token = this.getToken();
         final Object other$token = other.getToken();
-        if (this$token == null ? other$token != null : !this$token.equals(other$token)) {
-            return false;
-        }
-        return true;
+
+        return this$token == null ? other$token == null : this$token.equals(other$token);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/RetrofitBucket.java

@@ -28,9 +28,6 @@ public class RetrofitBucket {
     public String url;
     public Map<String, String> queryMap;
 
-    public RetrofitBucket() {
-    }
-
     public String getUrl() {
         return this.url;
     }
@@ -65,10 +62,8 @@ public class RetrofitBucket {
         }
         final Object this$queryMap = this.getQueryMap();
         final Object other$queryMap = other.getQueryMap();
-        if (this$queryMap == null ? other$queryMap != null : !this$queryMap.equals(other$queryMap)) {
-            return false;
-        }
-        return true;
+
+        return this$queryMap == null ? other$queryMap == null : this$queryMap.equals(other$queryMap);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/RingtoneSettings.java

@@ -39,9 +39,6 @@ public class RingtoneSettings {
     @JsonField(name = "ringtoneName")
     public String ringtoneName;
 
-    public RingtoneSettings() {
-    }
-
     @Nullable
     public Uri getRingtoneUri() {
         return this.ringtoneUri;
@@ -77,10 +74,8 @@ public class RingtoneSettings {
         }
         final Object this$ringtoneName = this.getRingtoneName();
         final Object other$ringtoneName = other.getRingtoneName();
-        if (this$ringtoneName == null ? other$ringtoneName != null : !this$ringtoneName.equals(other$ringtoneName)) {
-            return false;
-        }
-        return true;
+
+        return this$ringtoneName == null ? other$ringtoneName == null : this$ringtoneName.equals(other$ringtoneName);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/SignatureVerification.java

@@ -30,9 +30,6 @@ public class SignatureVerification {
     public boolean signatureValid;
     public UserEntity userEntity;
 
-    public SignatureVerification() {
-    }
-
     public boolean isSignatureValid() {
         return this.signatureValid;
     }
@@ -65,10 +62,8 @@ public class SignatureVerification {
         }
         final Object this$userEntity = this.getUserEntity();
         final Object other$userEntity = other.getUserEntity();
-        if (this$userEntity == null ? other$userEntity != null : !this$userEntity.equals(other$userEntity)) {
-            return false;
-        }
-        return true;
+
+        return this$userEntity == null ? other$userEntity == null : this$userEntity.equals(other$userEntity);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/autocomplete/AutocompleteOCS.java

@@ -34,9 +34,6 @@ public class AutocompleteOCS extends GenericOCS {
     @JsonField(name = "data")
     List<AutocompleteUser> data;
 
-    public AutocompleteOCS() {
-    }
-
     public List<AutocompleteUser> getData() {
         return this.data;
     }
@@ -58,10 +55,8 @@ public class AutocompleteOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/autocomplete/AutocompleteOverall.java

@@ -31,9 +31,6 @@ public class AutocompleteOverall {
     @JsonField(name = "ocs")
     AutocompleteOCS ocs;
 
-    public AutocompleteOverall() {
-    }
-
     public AutocompleteOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class AutocompleteOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 1 - 7
app/src/main/java/com/nextcloud/talk/models/json/autocomplete/AutocompleteUser.java

@@ -37,9 +37,6 @@ public class AutocompleteUser {
     @JsonField(name = "source")
     String source;
 
-    public AutocompleteUser() {
-    }
-
     public String getId() {
         return this.id;
     }
@@ -87,10 +84,7 @@ public class AutocompleteUser {
         }
         final Object this$source = this.getSource();
         final Object other$source = other.getSource();
-        if (this$source == null ? other$source != null : !this$source.equals(other$source)) {
-            return false;
-        }
-        return true;
+        return this$source == null ? other$source == null : this$source.equals(other$source);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/Capabilities.java

@@ -46,9 +46,6 @@ public class Capabilities {
     @JsonField(name = "provisioning_api")
     ProvisioningCapability provisioningCapability;
 
-    public Capabilities() {
-    }
-
     public SpreedCapability getSpreedCapability() {
         return this.spreedCapability;
     }
@@ -122,10 +119,8 @@ public class Capabilities {
         }
         final Object this$provisioningCapability = this.getProvisioningCapability();
         final Object other$provisioningCapability = other.getProvisioningCapability();
-        if (this$provisioningCapability == null ? other$provisioningCapability != null : !this$provisioningCapability.equals(other$provisioningCapability)) {
-            return false;
-        }
-        return true;
+
+        return this$provisioningCapability == null ? other$provisioningCapability == null : this$provisioningCapability.equals(other$provisioningCapability);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/CapabilitiesList.java

@@ -31,9 +31,6 @@ public class CapabilitiesList {
     @JsonField(name = "capabilities")
     Capabilities capabilities;
 
-    public CapabilitiesList() {
-    }
-
     public Capabilities getCapabilities() {
         return this.capabilities;
     }
@@ -55,10 +52,8 @@ public class CapabilitiesList {
         }
         final Object this$capabilities = this.getCapabilities();
         final Object other$capabilities = other.getCapabilities();
-        if (this$capabilities == null ? other$capabilities != null : !this$capabilities.equals(other$capabilities)) {
-            return false;
-        }
-        return true;
+
+        return this$capabilities == null ? other$capabilities == null : this$capabilities.equals(other$capabilities);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/CapabilitiesOCS.java

@@ -31,9 +31,6 @@ public class CapabilitiesOCS extends GenericOCS {
     @JsonField(name = "data")
     CapabilitiesList data;
 
-    public CapabilitiesOCS() {
-    }
-
     public CapabilitiesList getData() {
         return this.data;
     }
@@ -55,10 +52,8 @@ public class CapabilitiesOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/CapabilitiesOverall.java

@@ -30,9 +30,6 @@ public class CapabilitiesOverall {
     @JsonField(name = "ocs")
     CapabilitiesOCS ocs;
 
-    public CapabilitiesOverall() {
-    }
-
     public CapabilitiesOCS getOcs() {
         return this.ocs;
     }
@@ -54,10 +51,8 @@ public class CapabilitiesOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/NotificationsCapability.java

@@ -33,9 +33,6 @@ public class NotificationsCapability {
     @JsonField(name = "ocs-endpoints")
     List<String> features;
 
-    public NotificationsCapability() {
-    }
-
     public List<String> getFeatures() {
         return this.features;
     }
@@ -57,10 +54,8 @@ public class NotificationsCapability {
         }
         final Object this$features = this.getFeatures();
         final Object other$features = other.getFeatures();
-        if (this$features == null ? other$features != null : !this$features.equals(other$features)) {
-            return false;
-        }
-        return true;
+
+        return this$features == null ? other$features == null : this$features.equals(other$features);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/ProvisioningCapability.java

@@ -31,9 +31,6 @@ public class ProvisioningCapability {
     @JsonField(name = "AccountPropertyScopesVersion")
     Integer accountPropertyScopesVersion;
 
-    public ProvisioningCapability() {
-    }
-
     public Integer getAccountPropertyScopesVersion() {
         return this.accountPropertyScopesVersion;
     }
@@ -55,10 +52,8 @@ public class ProvisioningCapability {
         }
         final Object this$accountPropertyScopesVersion = this.getAccountPropertyScopesVersion();
         final Object other$accountPropertyScopesVersion = other.getAccountPropertyScopesVersion();
-        if (this$accountPropertyScopesVersion == null ? other$accountPropertyScopesVersion != null : !this$accountPropertyScopesVersion.equals(other$accountPropertyScopesVersion)) {
-            return false;
-        }
-        return true;
+
+        return this$accountPropertyScopesVersion == null ? other$accountPropertyScopesVersion == null : this$accountPropertyScopesVersion.equals(other$accountPropertyScopesVersion);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/SpreedCapability.java

@@ -37,9 +37,6 @@ public class SpreedCapability {
     @JsonField(name = "config")
     HashMap<String, HashMap<String, String>> config;
 
-    public SpreedCapability() {
-    }
-
     public List<String> getFeatures() {
         return this.features;
     }
@@ -74,10 +71,8 @@ public class SpreedCapability {
         }
         final Object this$config = this.getConfig();
         final Object other$config = other.getConfig();
-        if (this$config == null ? other$config != null : !this$config.equals(other$config)) {
-            return false;
-        }
-        return true;
+
+        return this$config == null ? other$config == null : this$config.equals(other$config);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/capabilities/ThemingCapability.java

@@ -58,9 +58,6 @@ public class ThemingCapability {
     @JsonField(name = "background-default")
     boolean backgroundDefault;
 
-    public ThemingCapability() {
-    }
-
     public String getName() {
         return this.name;
     }
@@ -195,10 +192,8 @@ public class ThemingCapability {
         if (this.isBackgroundPlain() != other.isBackgroundPlain()) {
             return false;
         }
-        if (this.isBackgroundDefault() != other.isBackgroundDefault()) {
-            return false;
-        }
-        return true;
+
+        return this.isBackgroundDefault() == other.isBackgroundDefault();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/chat/ChatMessage.java

@@ -91,9 +91,6 @@ public class ChatMessage implements IMessage, MessageContentType, MessageContent
             MessageType.SYSTEM_MESSAGE, MessageType.SINGLE_LINK_VIDEO_MESSAGE,
             MessageType.SINGLE_LINK_AUDIO_MESSAGE, MessageType.SINGLE_LINK_MESSAGE);
 
-    public ChatMessage() {
-    }
-
     private boolean hasFileAttachment() {
         if (messageParameters != null && messageParameters.size() > 0) {
             for (String key : messageParameters.keySet()) {
@@ -487,10 +484,8 @@ public class ChatMessage implements IMessage, MessageContentType, MessageContent
         }
         final Object this$messageTypesToIgnore = this.getMessageTypesToIgnore();
         final Object other$messageTypesToIgnore = other.getMessageTypesToIgnore();
-        if (this$messageTypesToIgnore == null ? other$messageTypesToIgnore != null : !this$messageTypesToIgnore.equals(other$messageTypesToIgnore)) {
-            return false;
-        }
-        return true;
+
+        return this$messageTypesToIgnore == null ? other$messageTypesToIgnore == null : this$messageTypesToIgnore.equals(other$messageTypesToIgnore);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCS.java

@@ -33,9 +33,6 @@ public class ChatOCS extends GenericOCS {
     @JsonField(name = "data")
     public List<ChatMessage> data;
 
-    public ChatOCS() {
-    }
-
     public List<ChatMessage> getData() {
         return this.data;
     }
@@ -57,10 +54,8 @@ public class ChatOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOCSSingleMessage.java

@@ -31,9 +31,6 @@ public class ChatOCSSingleMessage extends GenericOCS {
     @JsonField(name = "data")
     public ChatMessage data;
 
-    public ChatOCSSingleMessage() {
-    }
-
     public ChatMessage getData() {
         return this.data;
     }
@@ -55,10 +52,8 @@ public class ChatOCSSingleMessage extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverall.java

@@ -31,9 +31,6 @@ public class ChatOverall {
     @JsonField(name = "ocs")
     public ChatOCS ocs;
 
-    public ChatOverall() {
-    }
-
     public ChatOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class ChatOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/chat/ChatOverallSingleMessage.java

@@ -31,9 +31,6 @@ public class ChatOverallSingleMessage {
     @JsonField(name = "ocs")
     public ChatOCSSingleMessage ocs;
 
-    public ChatOverallSingleMessage() {
-    }
-
     public ChatOCSSingleMessage getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class ChatOverallSingleMessage {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 4 - 10
app/src/main/java/com/nextcloud/talk/models/json/conversations/Conversation.java

@@ -94,9 +94,6 @@ public class Conversation {
     @JsonField(name = "callFlag")
     public int callFlag;
 
-    public Conversation() {
-    }
-
     public boolean isPublic() {
         return (ConversationType.ROOM_PUBLIC_CALL.equals(type));
     }
@@ -107,7 +104,6 @@ public class Conversation {
                 Participant.ParticipantType.USER_FOLLOWING_LINK.equals(participantType));
     }
 
-
     private boolean isLockedOneToOne(UserEntity conversationUser) {
         return (getType() == ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL && conversationUser.hasSpreedFeatureCapability("locked-one-to-one-rooms"));
     }
@@ -135,8 +131,8 @@ public class Conversation {
     }
 
     public boolean canLeave(UserEntity conversationUser) {
-        return !canModerate(conversationUser) || (getType() != ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL && getParticipants().size() > 1);
-
+        return !canModerate(conversationUser) ||
+                (getType() != ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL && getParticipants().size() > 1);
     }
 
     public String getDeleteWarningMessage() {
@@ -477,10 +473,8 @@ public class Conversation {
         if (this.getLastReadMessage() != other.getLastReadMessage()) {
             return false;
         }
-        if (this.getCallFlag() != other.getCallFlag()) {
-            return false;
-        }
-        return true;
+
+        return this.getCallFlag() == other.getCallFlag();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomOCS.java

@@ -29,9 +29,6 @@ public class RoomOCS extends GenericOCS {
     @JsonField(name = "data")
     public Conversation data;
 
-    public RoomOCS() {
-    }
-
     public Conversation getData() {
         return this.data;
     }
@@ -53,10 +50,8 @@ public class RoomOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomOverall.java

@@ -28,9 +28,6 @@ public class RoomOverall {
     @JsonField(name = "ocs")
     public RoomOCS ocs;
 
-    public RoomOverall() {
-    }
-
     public RoomOCS getOcs() {
         return this.ocs;
     }
@@ -52,10 +49,8 @@ public class RoomOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomsOCS.java

@@ -34,9 +34,6 @@ public class RoomsOCS extends GenericOCS {
     @JsonField(name = "data")
     public List<Conversation> data;
 
-    public RoomsOCS() {
-    }
-
     public List<Conversation> getData() {
         return this.data;
     }
@@ -58,10 +55,8 @@ public class RoomsOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/conversations/RoomsOverall.java

@@ -31,9 +31,6 @@ public class RoomsOverall {
     @JsonField(name = "ocs")
     public RoomsOCS ocs;
 
-    public RoomsOverall() {
-    }
-
     public RoomsOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class RoomsOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/generic/GenericMeta.java

@@ -37,9 +37,6 @@ public class GenericMeta {
     @JsonField(name = "message")
     public String message;
 
-    public GenericMeta() {
-    }
-
     public String getStatus() {
         return this.status;
     }
@@ -85,10 +82,8 @@ public class GenericMeta {
         }
         final Object this$message = this.getMessage();
         final Object other$message = other.getMessage();
-        if (this$message == null ? other$message != null : !this$message.equals(other$message)) {
-            return false;
-        }
-        return true;
+
+        return this$message == null ? other$message == null : this$message.equals(other$message);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/generic/GenericOCS.java

@@ -31,9 +31,6 @@ public class GenericOCS {
     @JsonField(name = "meta")
     public GenericMeta meta;
 
-    public GenericOCS() {
-    }
-
     public GenericMeta getMeta() {
         return this.meta;
     }
@@ -55,10 +52,8 @@ public class GenericOCS {
         }
         final Object this$meta = this.getMeta();
         final Object other$meta = other.getMeta();
-        if (this$meta == null ? other$meta != null : !this$meta.equals(other$meta)) {
-            return false;
-        }
-        return true;
+
+        return this$meta == null ? other$meta == null : this$meta.equals(other$meta);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/generic/GenericOverall.java

@@ -31,9 +31,6 @@ public class GenericOverall {
     @JsonField(name = "ocs")
     public GenericOCS ocs;
 
-    public GenericOverall() {
-    }
-
     public GenericOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class GenericOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/generic/Status.java

@@ -49,9 +49,6 @@ public class Status {
     @JsonField(name = "productname")
     public String productName;
 
-    public Status() {
-    }
-
     public boolean isInstalled() {
         return this.installed;
     }
@@ -145,10 +142,8 @@ public class Status {
         }
         final Object this$productName = this.getProductName();
         final Object other$productName = other.getProductName();
-        if (this$productName == null ? other$productName != null : !this$productName.equals(other$productName)) {
-            return false;
-        }
-        return true;
+
+        return this$productName == null ? other$productName == null : this$productName.equals(other$productName);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/mention/Mention.java

@@ -37,9 +37,6 @@ public class Mention {
     @JsonField(name = "source")
     String source;
 
-    public Mention() {
-    }
-
     public String getId() {
         return this.id;
     }
@@ -87,10 +84,8 @@ public class Mention {
         }
         final Object this$source = this.getSource();
         final Object other$source = other.getSource();
-        if (this$source == null ? other$source != null : !this$source.equals(other$source)) {
-            return false;
-        }
-        return true;
+
+        return this$source == null ? other$source == null : this$source.equals(other$source);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/mention/MentionOCS.java

@@ -33,9 +33,6 @@ public class MentionOCS extends GenericOCS {
     @JsonField(name = "data")
     List<Mention> data;
 
-    public MentionOCS() {
-    }
-
     public List<Mention> getData() {
         return this.data;
     }
@@ -57,10 +54,8 @@ public class MentionOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/mention/MentionOverall.java

@@ -30,9 +30,6 @@ public class MentionOverall {
     @JsonField(name = "ocs")
     MentionOCS ocs;
 
-    public MentionOverall() {
-    }
-
     public MentionOCS getOcs() {
         return this.ocs;
     }
@@ -54,10 +51,8 @@ public class MentionOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/Notification.java

@@ -64,9 +64,6 @@ public class Notification {
     @JsonField(name = "actions")
     List<NotificationAction> actions;
 
-    public Notification() {
-    }
-
     public String getIcon() {
         return this.icon;
     }
@@ -268,10 +265,8 @@ public class Notification {
         }
         final Object this$actions = this.getActions();
         final Object other$actions = other.getActions();
-        if (this$actions == null ? other$actions != null : !this$actions.equals(other$actions)) {
-            return false;
-        }
-        return true;
+
+        return this$actions == null ? other$actions == null : this$actions.equals(other$actions);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationAction.java

@@ -40,9 +40,6 @@ public class NotificationAction {
     @JsonField(name = "primary")
     boolean primary;
 
-    public NotificationAction() {
-    }
-
     public String getLabel() {
         return this.label;
     }
@@ -101,10 +98,8 @@ public class NotificationAction {
         if (this$type == null ? other$type != null : !this$type.equals(other$type)) {
             return false;
         }
-        if (this.isPrimary() != other.isPrimary()) {
-            return false;
-        }
-        return true;
+
+        return this.isPrimary() == other.isPrimary();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationOCS.java

@@ -32,9 +32,6 @@ public class NotificationOCS extends GenericOCS {
     @JsonField(name = "data")
     Notification notification;
 
-    public NotificationOCS() {
-    }
-
     public Notification getNotification() {
         return this.notification;
     }
@@ -56,10 +53,8 @@ public class NotificationOCS extends GenericOCS {
         }
         final Object this$notification = this.getNotification();
         final Object other$notification = other.getNotification();
-        if (this$notification == null ? other$notification != null : !this$notification.equals(other$notification)) {
-            return false;
-        }
-        return true;
+
+        return this$notification == null ? other$notification == null : this$notification.equals(other$notification);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationOverall.java

@@ -27,9 +27,6 @@ public class NotificationOverall {
     @JsonField(name = "ocs")
     NotificationOCS ocs;
 
-    public NotificationOverall() {
-    }
-
     public NotificationOCS getOcs() {
         return this.ocs;
     }
@@ -51,10 +48,8 @@ public class NotificationOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationRichObject.java

@@ -37,9 +37,6 @@ public class NotificationRichObject {
     @JsonField(name = "name")
     String name;
 
-    public NotificationRichObject() {
-    }
-
     public String getLabel() {
         return this.label;
     }
@@ -87,10 +84,8 @@ public class NotificationRichObject {
         }
         final Object this$name = this.getName();
         final Object other$name = other.getName();
-        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
-            return false;
-        }
-        return true;
+
+        return this$name == null ? other$name == null : this$name.equals(other$name);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationsOCS.java

@@ -34,9 +34,6 @@ public class NotificationsOCS extends GenericOCS {
     @JsonField(name = "data")
     List<Notification> notificationsList;
 
-    public NotificationsOCS() {
-    }
-
     public List<Notification> getNotificationsList() {
         return this.notificationsList;
     }
@@ -58,10 +55,8 @@ public class NotificationsOCS extends GenericOCS {
         }
         final Object this$notificationsList = this.getNotificationsList();
         final Object other$notificationsList = other.getNotificationsList();
-        if (this$notificationsList == null ? other$notificationsList != null : !this$notificationsList.equals(other$notificationsList)) {
-            return false;
-        }
-        return true;
+
+        return this$notificationsList == null ? other$notificationsList == null : this$notificationsList.equals(other$notificationsList);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/notifications/NotificationsOverall.java

@@ -27,9 +27,6 @@ public class NotificationsOverall {
     @JsonField(name = "ocs")
     NotificationsOCS ocs;
 
-    public NotificationsOverall() {
-    }
-
     public NotificationsOCS getOcs() {
         return this.ocs;
     }
@@ -51,10 +48,8 @@ public class NotificationsOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/participants/AddParticipantOverall.java

@@ -29,9 +29,6 @@ public class AddParticipantOverall {
     @JsonField(name = "ocs")
     RoomsOCS ocs;
 
-    public AddParticipantOverall() {
-    }
-
     public RoomsOCS getOcs() {
         return this.ocs;
     }
@@ -53,10 +50,8 @@ public class AddParticipantOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 8
app/src/main/java/com/nextcloud/talk/models/json/participants/Participant.java

@@ -59,10 +59,6 @@ public class Participant {
 
     public boolean selected;
 
-    public Participant() {
-    }
-
-
     public ParticipantFlags getParticipantFlags() {
         ParticipantFlags participantFlags = ParticipantFlags.NOT_IN_CALL;
         if (inCall != null) {
@@ -212,10 +208,8 @@ public class Participant {
         if (this$source == null ? other$source != null : !this$source.equals(other$source)) {
             return false;
         }
-        if (this.isSelected() != other.isSelected()) {
-            return false;
-        }
-        return true;
+
+        return this.isSelected() == other.isSelected();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/participants/ParticipantsOCS.java

@@ -34,9 +34,6 @@ public class ParticipantsOCS extends GenericOCS {
     @JsonField(name = "data")
     public List<Participant> data;
 
-    public ParticipantsOCS() {
-    }
-
     public List<Participant> getData() {
         return this.data;
     }
@@ -58,10 +55,8 @@ public class ParticipantsOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/participants/ParticipantsOverall.java

@@ -31,9 +31,6 @@ public class ParticipantsOverall {
     @JsonField(name = "ocs")
     public ParticipantsOCS ocs;
 
-    public ParticipantsOverall() {
-    }
-
     public ParticipantsOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class ParticipantsOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/push/DecryptedPushMessage.java

@@ -59,9 +59,6 @@ public class DecryptedPushMessage {
     @JsonIgnore
     public long timestamp;
 
-    public DecryptedPushMessage() {
-    }
-
     public String getApp() {
         return this.app;
     }
@@ -192,10 +189,8 @@ public class DecryptedPushMessage {
         if (this$text == null ? other$text != null : !this$text.equals(other$text)) {
             return false;
         }
-        if (this.getTimestamp() != other.getTimestamp()) {
-            return false;
-        }
-        return true;
+
+        return this.getTimestamp() == other.getTimestamp();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/push/NotificationUser.java

@@ -37,9 +37,6 @@ public class NotificationUser {
     @JsonField(name = "name")
     String name;
 
-    public NotificationUser() {
-    }
-
     public String getType() {
         return this.type;
     }
@@ -87,10 +84,8 @@ public class NotificationUser {
         }
         final Object this$name = this.getName();
         final Object other$name = other.getName();
-        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
-            return false;
-        }
-        return true;
+
+        return this$name == null ? other$name == null : this$name.equals(other$name);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/push/PushConfigurationState.java

@@ -43,9 +43,6 @@ public class PushConfigurationState {
     @JsonField(name = "usesRegularPass")
     public boolean usesRegularPass;
 
-    public PushConfigurationState() {
-    }
-
     public String getPushToken() {
         return this.pushToken;
     }
@@ -117,10 +114,8 @@ public class PushConfigurationState {
         if (this$userPublicKey == null ? other$userPublicKey != null : !this$userPublicKey.equals(other$userPublicKey)) {
             return false;
         }
-        if (this.isUsesRegularPass() != other.isUsesRegularPass()) {
-            return false;
-        }
-        return true;
+
+        return this.isUsesRegularPass() == other.isUsesRegularPass();
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/push/PushRegistration.java

@@ -38,9 +38,6 @@ public class PushRegistration {
     @JsonField(name = "signature")
     String signature;
 
-    public PushRegistration() {
-    }
-
     public String getPublicKey() {
         return this.publicKey;
     }
@@ -88,10 +85,8 @@ public class PushRegistration {
         }
         final Object this$signature = this.getSignature();
         final Object other$signature = other.getSignature();
-        if (this$signature == null ? other$signature != null : !this$signature.equals(other$signature)) {
-            return false;
-        }
-        return true;
+
+        return this$signature == null ? other$signature == null : this$signature.equals(other$signature);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/push/PushRegistrationOCS.java

@@ -32,9 +32,6 @@ public class PushRegistrationOCS extends GenericOCS {
     @JsonField(name = "data")
     PushRegistration data;
 
-    public PushRegistrationOCS() {
-    }
-
     public PushRegistration getData() {
         return this.data;
     }
@@ -56,10 +53,8 @@ public class PushRegistrationOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/push/PushRegistrationOverall.java

@@ -31,9 +31,6 @@ public class PushRegistrationOverall {
     @JsonField(name = "ocs")
     PushRegistrationOCS ocs;
 
-    public PushRegistrationOverall() {
-    }
-
     public PushRegistrationOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class PushRegistrationOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOCS.java

@@ -35,9 +35,6 @@ public class ContactsByNumberOCS extends GenericOCS {
     @JsonField(name = "data")
     public Map<String, String> map = new HashMap();
 
-    public ContactsByNumberOCS() {
-    }
-
     public Map<String, String> getMap() {
         return this.map;
     }
@@ -59,10 +56,8 @@ public class ContactsByNumberOCS extends GenericOCS {
         }
         final Object this$map = this.getMap();
         final Object other$map = other.getMap();
-        if (this$map == null ? other$map != null : !this$map.equals(other$map)) {
-            return false;
-        }
-        return true;
+
+        return this$map == null ? other$map == null : this$map.equals(other$map);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/search/ContactsByNumberOverall.java

@@ -31,9 +31,6 @@ public class ContactsByNumberOverall {
     @JsonField(name = "ocs")
     public ContactsByNumberOCS ocs;
 
-    public ContactsByNumberOverall() {
-    }
-
     public ContactsByNumberOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class ContactsByNumberOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/sharees/ExactSharees.java

@@ -33,9 +33,6 @@ public class ExactSharees {
     @JsonField(name = "users")
     List<Sharee> exactSharees;
 
-    public ExactSharees() {
-    }
-
     public List<Sharee> getExactSharees() {
         return this.exactSharees;
     }
@@ -57,10 +54,8 @@ public class ExactSharees {
         }
         final Object this$exactSharees = this.getExactSharees();
         final Object other$exactSharees = other.getExactSharees();
-        if (this$exactSharees == null ? other$exactSharees != null : !this$exactSharees.equals(other$exactSharees)) {
-            return false;
-        }
-        return true;
+
+        return this$exactSharees == null ? other$exactSharees == null : this$exactSharees.equals(other$exactSharees);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/sharees/Sharee.java

@@ -37,9 +37,6 @@ public class Sharee {
     @JsonField(name = "label")
     String label;
 
-    public Sharee() {
-    }
-
     public String getId() {
         return this.id;
     }
@@ -87,10 +84,8 @@ public class Sharee {
         }
         final Object this$label = this.getLabel();
         final Object other$label = other.getLabel();
-        if (this$label == null ? other$label != null : !this$label.equals(other$label)) {
-            return false;
-        }
-        return true;
+
+        return this$label == null ? other$label == null : this$label.equals(other$label);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/sharees/ShareesOCS.java

@@ -32,9 +32,6 @@ public class ShareesOCS extends GenericOCS {
     @JsonField(name = "data")
     SharesData data;
 
-    public ShareesOCS() {
-    }
-
     public SharesData getData() {
         return this.data;
     }
@@ -56,10 +53,8 @@ public class ShareesOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/sharees/ShareesOverall.java

@@ -31,9 +31,6 @@ public class ShareesOverall {
     @JsonField(name = "ocs")
     ShareesOCS ocs;
 
-    public ShareesOverall() {
-    }
-
     public ShareesOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class ShareesOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/sharees/SharesData.java

@@ -36,9 +36,6 @@ public class SharesData {
     @JsonField(name = "exact")
     ExactSharees exactUsers;
 
-    public SharesData() {
-    }
-
     public List<Sharee> getUsers() {
         return this.users;
     }
@@ -73,10 +70,8 @@ public class SharesData {
         }
         final Object this$exactUsers = this.getExactUsers();
         final Object other$exactUsers = other.getExactUsers();
-        if (this$exactUsers == null ? other$exactUsers != null : !this$exactUsers.equals(other$exactUsers)) {
-            return false;
-        }
-        return true;
+
+        return this$exactUsers == null ? other$exactUsers == null : this$exactUsers.equals(other$exactUsers);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/sharees/Value.java

@@ -31,9 +31,6 @@ public class Value {
     @JsonField(name = "shareWith")
     String shareWith;
 
-    public Value() {
-    }
-
     public String getShareWith() {
         return this.shareWith;
     }
@@ -55,10 +52,8 @@ public class Value {
         }
         final Object this$shareWith = this.getShareWith();
         final Object other$shareWith = other.getShareWith();
-        if (this$shareWith == null ? other$shareWith != null : !this$shareWith.equals(other$shareWith)) {
-            return false;
-        }
-        return true;
+
+        return this$shareWith == null ? other$shareWith == null : this$shareWith.equals(other$shareWith);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/models/json/signaling/DataChannelMessage.java

@@ -76,10 +76,8 @@ public class DataChannelMessage {
         }
         final Object this$payload = this.getPayload();
         final Object other$payload = other.getPayload();
-        if (this$payload == null ? other$payload != null : !this$payload.equals(other$payload)) {
-            return false;
-        }
-        return true;
+
+        return this$payload == null ? other$payload == null : this$payload.equals(other$payload);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 4
app/src/main/java/com/nextcloud/talk/models/json/signaling/DataChannelMessageNick.java

@@ -78,10 +78,8 @@ public class DataChannelMessageNick {
         }
         final Object this$payload = this.getPayload();
         final Object other$payload = other.getPayload();
-        if (this$payload == null ? other$payload != null : !this$payload.equals(other$payload)) {
-            return false;
-        }
-        return true;
+
+        return this$payload == null ? other$payload == null : this$payload.equals(other$payload);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/NCIceCandidate.java

@@ -37,9 +37,6 @@ public class NCIceCandidate {
     @JsonField(name = "candidate")
     String candidate;
 
-    public NCIceCandidate() {
-    }
-
     public int getSdpMLineIndex() {
         return this.sdpMLineIndex;
     }
@@ -85,10 +82,8 @@ public class NCIceCandidate {
         }
         final Object this$candidate = this.getCandidate();
         final Object other$candidate = other.getCandidate();
-        if (this$candidate == null ? other$candidate != null : !this$candidate.equals(other$candidate)) {
-            return false;
-        }
-        return true;
+
+        return this$candidate == null ? other$candidate == null : this$candidate.equals(other$candidate);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/NCMessagePayload.java

@@ -43,9 +43,6 @@ public class NCMessagePayload {
     @JsonField(name = "name")
     String name;
 
-    public NCMessagePayload() {
-    }
-
     public String getType() {
         return this.type;
     }
@@ -119,10 +116,8 @@ public class NCMessagePayload {
         }
         final Object this$name = this.getName();
         final Object other$name = other.getName();
-        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
-            return false;
-        }
-        return true;
+
+        return this$name == null ? other$name == null : this$name.equals(other$name);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/NCMessageWrapper.java

@@ -38,9 +38,6 @@ public class NCMessageWrapper {
     @JsonField(name = "sessionId")
     String sessionId;
 
-    public NCMessageWrapper() {
-    }
-
     public NCSignalingMessage getSignalingMessage() {
         return this.signalingMessage;
     }
@@ -88,10 +85,8 @@ public class NCMessageWrapper {
         }
         final Object this$sessionId = this.getSessionId();
         final Object other$sessionId = other.getSessionId();
-        if (this$sessionId == null ? other$sessionId != null : !this$sessionId.equals(other$sessionId)) {
-            return false;
-        }
-        return true;
+
+        return this$sessionId == null ? other$sessionId == null : this$sessionId.equals(other$sessionId);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/NCSignalingMessage.java

@@ -43,9 +43,6 @@ public class NCSignalingMessage {
     @JsonField(name = "prefix")
     String prefix;
 
-    public NCSignalingMessage() {
-    }
-
     public String getFrom() {
         return this.from;
     }
@@ -145,10 +142,8 @@ public class NCSignalingMessage {
         }
         final Object this$prefix = this.getPrefix();
         final Object other$prefix = other.getPrefix();
-        if (this$prefix == null ? other$prefix != null : !this$prefix.equals(other$prefix)) {
-            return false;
-        }
-        return true;
+
+        return this$prefix == null ? other$prefix == null : this$prefix.equals(other$prefix);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/Signaling.java

@@ -35,9 +35,6 @@ public class Signaling {
     @JsonField(name = "data")
     Object messageWrapper;
 
-    public Signaling() {
-    }
-
     public String getType() {
         return this.type;
     }
@@ -72,10 +69,8 @@ public class Signaling {
         }
         final Object this$messageWrapper = this.getMessageWrapper();
         final Object other$messageWrapper = other.getMessageWrapper();
-        if (this$messageWrapper == null ? other$messageWrapper != null : !this$messageWrapper.equals(other$messageWrapper)) {
-            return false;
-        }
-        return true;
+
+        return this$messageWrapper == null ? other$messageWrapper == null : this$messageWrapper.equals(other$messageWrapper);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/SignalingOCS.java

@@ -31,9 +31,6 @@ public class SignalingOCS extends GenericOCS {
     @JsonField(name = "data")
     List<Signaling> signalings;
 
-    public SignalingOCS() {
-    }
-
     public List<Signaling> getSignalings() {
         return this.signalings;
     }
@@ -55,10 +52,8 @@ public class SignalingOCS extends GenericOCS {
         }
         final Object this$signalings = this.getSignalings();
         final Object other$signalings = other.getSignalings();
-        if (this$signalings == null ? other$signalings != null : !this$signalings.equals(other$signalings)) {
-            return false;
-        }
-        return true;
+
+        return this$signalings == null ? other$signalings == null : this$signalings.equals(other$signalings);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/SignalingOverall.java

@@ -28,9 +28,6 @@ public class SignalingOverall {
     @JsonField(name = "ocs")
     SignalingOCS ocs;
 
-    public SignalingOverall() {
-    }
-
     public SignalingOCS getOcs() {
         return this.ocs;
     }
@@ -52,10 +49,8 @@ public class SignalingOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/IceServer.java

@@ -39,9 +39,6 @@ public class IceServer {
     @JsonField(name = "credential")
     String credential;
 
-    public IceServer() {
-    }
-
     public String getUrl() {
         return this.url;
     }
@@ -102,10 +99,8 @@ public class IceServer {
         }
         final Object this$credential = this.getCredential();
         final Object other$credential = other.getCredential();
-        if (this$credential == null ? other$credential != null : !this$credential.equals(other$credential)) {
-            return false;
-        }
-        return true;
+
+        return this$credential == null ? other$credential == null : this$credential.equals(other$credential);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/Settings.java

@@ -39,9 +39,6 @@ public class Settings {
     @JsonField(name = "ticket")
     String externalSignalingTicket;
 
-    public Settings() {
-    }
-
     public List<IceServer> getStunServers() {
         return this.stunServers;
     }
@@ -102,10 +99,8 @@ public class Settings {
         }
         final Object this$externalSignalingTicket = this.getExternalSignalingTicket();
         final Object other$externalSignalingTicket = other.getExternalSignalingTicket();
-        if (this$externalSignalingTicket == null ? other$externalSignalingTicket != null : !this$externalSignalingTicket.equals(other$externalSignalingTicket)) {
-            return false;
-        }
-        return true;
+
+        return this$externalSignalingTicket == null ? other$externalSignalingTicket == null : this$externalSignalingTicket.equals(other$externalSignalingTicket);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/SignalingSettingsOcs.java

@@ -29,9 +29,6 @@ public class SignalingSettingsOcs extends GenericOCS {
     @JsonField(name = "data")
     Settings settings;
 
-    public SignalingSettingsOcs() {
-    }
-
     public Settings getSettings() {
         return this.settings;
     }
@@ -53,10 +50,8 @@ public class SignalingSettingsOcs extends GenericOCS {
         }
         final Object this$settings = this.getSettings();
         final Object other$settings = other.getSettings();
-        if (this$settings == null ? other$settings != null : !this$settings.equals(other$settings)) {
-            return false;
-        }
-        return true;
+
+        return this$settings == null ? other$settings == null : this$settings.equals(other$settings);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/signaling/settings/SignalingSettingsOverall.java

@@ -28,9 +28,6 @@ public class SignalingSettingsOverall {
     @JsonField(name = "ocs")
     SignalingSettingsOcs ocs;
 
-    public SignalingSettingsOverall() {
-    }
-
     public SignalingSettingsOcs getOcs() {
         return this.ocs;
     }
@@ -52,10 +49,8 @@ public class SignalingSettingsOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileData.java

@@ -72,9 +72,6 @@ public class UserProfileData {
     @JsonField(name = "websiteScope", typeConverter = ScopeConverter.class)
     Scope websiteScope;
 
-    public UserProfileData() {
-    }
-
     public String getValueByField(ProfileController.Field field) {
         switch (field) {
             case EMAIL:
@@ -303,10 +300,8 @@ public class UserProfileData {
         }
         final Object this$websiteScope = this.getWebsiteScope();
         final Object other$websiteScope = other.getWebsiteScope();
-        if (this$websiteScope == null ? other$websiteScope != null : !this$websiteScope.equals(other$websiteScope)) {
-            return false;
-        }
-        return true;
+
+        return this$websiteScope == null ? other$websiteScope == null : this$websiteScope.equals(other$websiteScope);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOCS.java

@@ -34,9 +34,6 @@ public class UserProfileFieldsOCS extends GenericOCS {
     @JsonField(name = "data")
     ArrayList<String> data;
 
-    public UserProfileFieldsOCS() {
-    }
-
     public ArrayList<String> getData() {
         return this.data;
     }
@@ -65,10 +62,8 @@ public class UserProfileFieldsOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileFieldsOverall.java

@@ -31,9 +31,6 @@ public class UserProfileFieldsOverall {
     @JsonField(name = "ocs")
     UserProfileFieldsOCS ocs;
 
-    public UserProfileFieldsOverall() {
-    }
-
     public UserProfileFieldsOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class UserProfileFieldsOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileOCS.java

@@ -32,9 +32,6 @@ public class UserProfileOCS extends GenericOCS {
     @JsonField(name = "data")
     UserProfileData data;
 
-    public UserProfileOCS() {
-    }
-
     public UserProfileData getData() {
         return this.data;
     }
@@ -56,10 +53,8 @@ public class UserProfileOCS extends GenericOCS {
         }
         final Object this$data = this.getData();
         final Object other$data = other.getData();
-        if (this$data == null ? other$data != null : !this$data.equals(other$data)) {
-            return false;
-        }
-        return true;
+
+        return this$data == null ? other$data == null : this$data.equals(other$data);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/userprofile/UserProfileOverall.java

@@ -31,9 +31,6 @@ public class UserProfileOverall {
     @JsonField(name = "ocs")
     UserProfileOCS ocs;
 
-    public UserProfileOverall() {
-    }
-
     public UserProfileOCS getOcs() {
         return this.ocs;
     }
@@ -55,10 +52,8 @@ public class UserProfileOverall {
         }
         final Object this$ocs = this.getOcs();
         final Object other$ocs = other.getOcs();
-        if (this$ocs == null ? other$ocs != null : !this$ocs.equals(other$ocs)) {
-            return false;
-        }
-        return true;
+
+        return this$ocs == null ? other$ocs == null : this$ocs.equals(other$ocs);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/ActorWebSocketMessage.java

@@ -37,9 +37,6 @@ public class ActorWebSocketMessage {
     @JsonField(name = "userid")
     String userid;
 
-    public ActorWebSocketMessage() {
-    }
-
     public String getType() {
         return this.type;
     }
@@ -87,10 +84,8 @@ public class ActorWebSocketMessage {
         }
         final Object this$userid = this.getUserid();
         final Object other$userid = other.getUserid();
-        if (this$userid == null ? other$userid != null : !this$userid.equals(other$userid)) {
-            return false;
-        }
-        return true;
+
+        return this$userid == null ? other$userid == null : this$userid.equals(other$userid);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/AuthParametersWebSocketMessage.java

@@ -34,9 +34,6 @@ public class AuthParametersWebSocketMessage {
     @JsonField(name = "ticket")
     String ticket;
 
-    public AuthParametersWebSocketMessage() {
-    }
-
     public String getUserid() {
         return this.userid;
     }
@@ -71,10 +68,8 @@ public class AuthParametersWebSocketMessage {
         }
         final Object this$ticket = this.getTicket();
         final Object other$ticket = other.getTicket();
-        if (this$ticket == null ? other$ticket != null : !this$ticket.equals(other$ticket)) {
-            return false;
-        }
-        return true;
+
+        return this$ticket == null ? other$ticket == null : this$ticket.equals(other$ticket);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/AuthWebSocketMessage.java

@@ -34,9 +34,6 @@ public class AuthWebSocketMessage {
     @JsonField(name = "params")
     AuthParametersWebSocketMessage authParametersWebSocketMessage;
 
-    public AuthWebSocketMessage() {
-    }
-
     public String getUrl() {
         return this.url;
     }
@@ -71,10 +68,8 @@ public class AuthWebSocketMessage {
         }
         final Object this$authParametersWebSocketMessage = this.getAuthParametersWebSocketMessage();
         final Object other$authParametersWebSocketMessage = other.getAuthParametersWebSocketMessage();
-        if (this$authParametersWebSocketMessage == null ? other$authParametersWebSocketMessage != null : !this$authParametersWebSocketMessage.equals(other$authParametersWebSocketMessage)) {
-            return false;
-        }
-        return true;
+
+        return this$authParametersWebSocketMessage == null ? other$authParametersWebSocketMessage == null : this$authParametersWebSocketMessage.equals(other$authParametersWebSocketMessage);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/BaseWebSocketMessage.java

@@ -31,9 +31,6 @@ public class BaseWebSocketMessage {
     @JsonField(name = "type")
     String type;
 
-    public BaseWebSocketMessage() {
-    }
-
     public String getType() {
         return this.type;
     }
@@ -55,10 +52,8 @@ public class BaseWebSocketMessage {
         }
         final Object this$type = this.getType();
         final Object other$type = other.getType();
-        if (this$type == null ? other$type != null : !this$type.equals(other$type)) {
-            return false;
-        }
-        return true;
+
+        return this$type == null ? other$type == null : this$type.equals(other$type);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/ByeWebSocketMessage.java

@@ -33,9 +33,6 @@ public class ByeWebSocketMessage extends BaseWebSocketMessage {
     @JsonField(name = "bye")
     HashMap<String, Object> bye;
 
-    public ByeWebSocketMessage() {
-    }
-
     public HashMap<String, Object> getBye() {
         return this.bye;
     }
@@ -57,10 +54,8 @@ public class ByeWebSocketMessage extends BaseWebSocketMessage {
         }
         final Object this$bye = this.getBye();
         final Object other$bye = other.getBye();
-        if (this$bye == null ? other$bye != null : !this$bye.equals(other$bye)) {
-            return false;
-        }
-        return true;
+
+        return this$bye == null ? other$bye == null : this$bye.equals(other$bye);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/CallOverallWebSocketMessage.java

@@ -31,9 +31,6 @@ public class CallOverallWebSocketMessage extends BaseWebSocketMessage {
     @JsonField(name = "message")
     CallWebSocketMessage callWebSocketMessage;
 
-    public CallOverallWebSocketMessage() {
-    }
-
     public CallWebSocketMessage getCallWebSocketMessage() {
         return this.callWebSocketMessage;
     }
@@ -55,10 +52,8 @@ public class CallOverallWebSocketMessage extends BaseWebSocketMessage {
         }
         final Object this$callWebSocketMessage = this.getCallWebSocketMessage();
         final Object other$callWebSocketMessage = other.getCallWebSocketMessage();
-        if (this$callWebSocketMessage == null ? other$callWebSocketMessage != null : !this$callWebSocketMessage.equals(other$callWebSocketMessage)) {
-            return false;
-        }
-        return true;
+
+        return this$callWebSocketMessage == null ? other$callWebSocketMessage == null : this$callWebSocketMessage.equals(other$callWebSocketMessage);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/CallWebSocketMessage.java

@@ -38,9 +38,6 @@ public class CallWebSocketMessage {
     @JsonField(name = "data")
     NCSignalingMessage ncSignalingMessage;
 
-    public CallWebSocketMessage() {
-    }
-
     public ActorWebSocketMessage getRecipientWebSocketMessage() {
         return this.recipientWebSocketMessage;
     }
@@ -88,10 +85,8 @@ public class CallWebSocketMessage {
         }
         final Object this$ncSignalingMessage = this.getNcSignalingMessage();
         final Object other$ncSignalingMessage = other.getNcSignalingMessage();
-        if (this$ncSignalingMessage == null ? other$ncSignalingMessage != null : !this$ncSignalingMessage.equals(other$ncSignalingMessage)) {
-            return false;
-        }
-        return true;
+
+        return this$ncSignalingMessage == null ? other$ncSignalingMessage == null : this$ncSignalingMessage.equals(other$ncSignalingMessage);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/ErrorOverallWebSocketMessage.java

@@ -31,9 +31,6 @@ public class ErrorOverallWebSocketMessage extends BaseWebSocketMessage {
     @JsonField(name = "error")
     ErrorWebSocketMessage errorWebSocketMessage;
 
-    public ErrorOverallWebSocketMessage() {
-    }
-
     public ErrorWebSocketMessage getErrorWebSocketMessage() {
         return this.errorWebSocketMessage;
     }
@@ -55,10 +52,8 @@ public class ErrorOverallWebSocketMessage extends BaseWebSocketMessage {
         }
         final Object this$errorWebSocketMessage = this.getErrorWebSocketMessage();
         final Object other$errorWebSocketMessage = other.getErrorWebSocketMessage();
-        if (this$errorWebSocketMessage == null ? other$errorWebSocketMessage != null : !this$errorWebSocketMessage.equals(other$errorWebSocketMessage)) {
-            return false;
-        }
-        return true;
+
+        return this$errorWebSocketMessage == null ? other$errorWebSocketMessage == null : this$errorWebSocketMessage.equals(other$errorWebSocketMessage);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/ErrorWebSocketMessage.java

@@ -34,9 +34,6 @@ public class ErrorWebSocketMessage {
     @JsonField(name = "message")
     String message;
 
-    public ErrorWebSocketMessage() {
-    }
-
     public String getCode() {
         return this.code;
     }
@@ -71,10 +68,8 @@ public class ErrorWebSocketMessage {
         }
         final Object this$message = this.getMessage();
         final Object other$message = other.getMessage();
-        if (this$message == null ? other$message != null : !this$message.equals(other$message)) {
-            return false;
-        }
-        return true;
+
+        return this$message == null ? other$message == null : this$message.equals(other$message);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/EventOverallWebSocketMessage.java

@@ -35,9 +35,6 @@ public class EventOverallWebSocketMessage extends BaseWebSocketMessage {
     @JsonField(name = "event")
     HashMap<String, Object> eventMap;
 
-    public EventOverallWebSocketMessage() {
-    }
-
     public String getType() {
         return this.type;
     }
@@ -72,10 +69,8 @@ public class EventOverallWebSocketMessage extends BaseWebSocketMessage {
         }
         final Object this$eventMap = this.getEventMap();
         final Object other$eventMap = other.getEventMap();
-        if (this$eventMap == null ? other$eventMap != null : !this$eventMap.equals(other$eventMap)) {
-            return false;
-        }
-        return true;
+
+        return this$eventMap == null ? other$eventMap == null : this$eventMap.equals(other$eventMap);
     }
 
     protected boolean canEqual(final Object other) {

+ 2 - 7
app/src/main/java/com/nextcloud/talk/models/json/websocket/HelloOverallWebSocketMessage.java

@@ -31,9 +31,6 @@ public class HelloOverallWebSocketMessage extends BaseWebSocketMessage {
     @JsonField(name = "hello")
     HelloWebSocketMessage helloWebSocketMessage;
 
-    public HelloOverallWebSocketMessage() {
-    }
-
     public HelloWebSocketMessage getHelloWebSocketMessage() {
         return this.helloWebSocketMessage;
     }
@@ -55,10 +52,8 @@ public class HelloOverallWebSocketMessage extends BaseWebSocketMessage {
         }
         final Object this$helloWebSocketMessage = this.getHelloWebSocketMessage();
         final Object other$helloWebSocketMessage = other.getHelloWebSocketMessage();
-        if (this$helloWebSocketMessage == null ? other$helloWebSocketMessage != null : !this$helloWebSocketMessage.equals(other$helloWebSocketMessage)) {
-            return false;
-        }
-        return true;
+
+        return this$helloWebSocketMessage == null ? other$helloWebSocketMessage == null : this$helloWebSocketMessage.equals(other$helloWebSocketMessage);
     }
 
     protected boolean canEqual(final Object other) {

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно