Add some unit testing of the CfbSchema.
[cfb.git] / prod / net / jaekl / cfb / xml / LocalVariable.java
index 277bf2dba69bb82d15ce67fc526fa5676afbc83d..42c282acf7bdd33893f83a176d79494c719ffbd1 100644 (file)
@@ -78,6 +78,6 @@ public class LocalVariable extends ParseResult {
        @Override
        public int hashCode()
        {
-               return ( (1 + Util.objHashCode(m_name)) * (1 + Util.objHashCode(m_role)) );
+               return ( (Util.objHashCode(m_name)) ^ (Util.objHashCode(m_role)) );
        }
 }