Author: dbrosius
Date: Sun Sep 25 23:57:04 2011
New Revision: 1175629
URL: http://svn.apache.org/viewvc?rev=1175629&view=rev
Log:
Commons Betwixt BETWIXT-70
[patch] Fix LocalComplexType.equals typo due to copy/paste
Modified:
commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/schema/LocalComplexType.java
Modified:
commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/schema/LocalComplexType.java
URL:
http://svn.apache.org/viewvc/commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/schema/LocalComplexType.java?rev=1175629&r1=1175628&r2=1175629&view=diff
==============================================================================
---
commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/schema/LocalComplexType.java
(original)
+++
commons/proper/betwixt/trunk/src/java/org/apache/commons/betwixt/schema/LocalComplexType.java
Sun Sep 25 23:57:04 2011
@@ -39,8 +39,8 @@ public class LocalComplexType extends Co
public boolean equals(Object obj) {
boolean result = false;
- if (obj instanceof GlobalComplexType) {
- GlobalComplexType complexType = (GlobalComplexType) obj;
+ if (obj instanceof LocalComplexType) {
+ LocalComplexType complexType = (LocalComplexType) obj;
result =
equalContents(attributes, complexType.attributes) &&
equalContents(elements, complexType.elements);