JAL-1645 Version-Rel Version 2.9 Year-Rel 2015 Licensing glob
[jalview.git] / src / vamsas / objects / simple / Secstructpred.java
index 9ec9294..ad7d67c 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
+ * Copyright (C) 2015 The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -57,15 +57,15 @@ public class Secstructpred implements java.io.Serializable
 
   public synchronized boolean equals(java.lang.Object obj)
   {
-    if (!(obj instanceof Secstructpred))
+    if (obj == null)
     {
       return false;
     }
-    Secstructpred other = (Secstructpred) obj;
-    if (obj == null)
+    if (!(obj instanceof Secstructpred))
     {
       return false;
     }
+    Secstructpred other = (Secstructpred) obj;
     if (this == obj)
     {
       return true;