JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / uk / ac / ebi / www / Data.java
index b12de70..5d83043 100755 (executable)
@@ -52,17 +52,18 @@ public class Data implements java.io.Serializable
 
   private java.lang.Object __equalsCalc = null;
 
+  @Override
   public synchronized boolean equals(java.lang.Object obj)
   {
-    if (!(obj instanceof Data))
+    if (obj == null)
     {
       return false;
     }
-    Data other = (Data) obj;
-    if (obj == null)
+    if (!(obj instanceof Data))
     {
       return false;
     }
+    Data other = (Data) obj;
     if (this == obj)
     {
       return true;
@@ -74,16 +75,18 @@ public class Data implements java.io.Serializable
     __equalsCalc = obj;
     boolean _equals;
     _equals = true
-            && ((type == null && other.getType() == null) || (type != null && type
-                    .equals(other.getType())))
-            && ((content == null && other.getContent() == null) || (content != null && content
-                    .equals(other.getContent())));
+            && ((type == null && other.getType() == null)
+                    || (type != null && type.equals(other.getType())))
+            && ((content == null && other.getContent() == null)
+                    || (content != null
+                            && content.equals(other.getContent())));
     __equalsCalc = null;
     return _equals;
   }
 
   private boolean __hashCodeCalc = false;
 
+  @Override
   public synchronized int hashCode()
   {
     if (__hashCodeCalc)