JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / uk / ac / ebi / www / InputParams.java
index 189c7f6..fe1c70c 100755 (executable)
@@ -220,17 +220,18 @@ public class InputParams implements java.io.Serializable
 
   private java.lang.Object __equalsCalc = null;
 
+  @Override
   public synchronized boolean equals(java.lang.Object obj)
   {
-    if (!(obj instanceof InputParams))
+    if (obj == null)
     {
       return false;
     }
-    InputParams other = (InputParams) obj;
-    if (obj == null)
+    if (!(obj instanceof InputParams))
     {
       return false;
     }
+    InputParams other = (InputParams) obj;
     if (this == obj)
     {
       return true;
@@ -274,6 +275,7 @@ public class InputParams implements java.io.Serializable
 
   private boolean __hashCodeCalc = false;
 
+  @Override
   public synchronized int hashCode()
   {
     if (__hashCodeCalc)