X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fvamsas%2Fobjects%2Fsimple%2FObject.java;h=5dbfc985b2cfa6803f13e35cffd9b3d072e5504d;hb=e894eb87d40be6e8452d19032ddffe80dad5f804;hp=ae1b515dde8544d2b035831160fb66e46347502b;hpb=588042b69abf8e60bcc950b24c283933c7dd422f;p=jalview.git diff --git a/src/vamsas/objects/simple/Object.java b/src/vamsas/objects/simple/Object.java index ae1b515..5dbfc98 100755 --- a/src/vamsas/objects/simple/Object.java +++ b/src/vamsas/objects/simple/Object.java @@ -3,11 +3,11 @@ * * This file was auto-generated from WSDL * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter. - */ - + */ + /* * Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle +* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -22,54 +22,54 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -*/ -package vamsas.objects.simple; - -public abstract class Object implements java.io.Serializable { - private java.lang.Object __equalsCalc = null; - private boolean __hashCodeCalc = false; - - public Object() { - } - - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Object)) { - return false; - } - - Object other = (Object) obj; - - if (obj == null) { - return false; - } - - if (this == obj) { - return true; - } - - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - - __equalsCalc = obj; - - boolean _equals; - _equals = true; - __equalsCalc = null; - - return _equals; - } - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - - __hashCodeCalc = true; - - int _hashCode = 1; - __hashCodeCalc = false; - - return _hashCode; - } -} +*/ +package vamsas.objects.simple; + +public abstract class Object implements java.io.Serializable { + private java.lang.Object __equalsCalc = null; + private boolean __hashCodeCalc = false; + + public Object() { + } + + public synchronized boolean equals(java.lang.Object obj) { + if (!(obj instanceof Object)) { + return false; + } + + //Object other = (Object) obj; + + if (obj == null) { + return false; + } + + if (this == obj) { + return true; + } + + if (__equalsCalc != null) { + return (__equalsCalc == obj); + } + + __equalsCalc = obj; + + boolean _equals; + _equals = true; + __equalsCalc = null; + + return _equals; + } + + public synchronized int hashCode() { + if (__hashCodeCalc) { + return 0; + } + + __hashCodeCalc = true; + + int _hashCode = 1; + __hashCodeCalc = false; + + return _hashCode; + } +}