Skip to content

Commit 29152bb

Browse files
committed
Merge pull request #10 from innokenty/master
exclude Host.count from equals() #9
2 parents 839131b + fe41926 commit 29152bb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

config/src/main/resources/xsd/bindings.xjb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
77
xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_1.xsd"
88
xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance"
9+
xmlns:equals="http://jaxb2-commons.dev.java.net/basic/equals"
10+
xmlns:hashcode="http://jaxb2-commons.dev.java.net/basic/hashCode"
911
jaxb:extensionBindingPrefixes="xjc annox"
1012
schemaLocation="config.xsd"
1113
version="2.1">
@@ -34,6 +36,11 @@
3436
<inheritance:implements>ru.qatools.gridrouter.config.WithCount</inheritance:implements>
3537
</jaxb:bindings>
3638

39+
<jaxb:bindings node="//xs:complexType[@name='Host']/xs:attribute[@name = 'count']">
40+
<equals:ignored/>
41+
<hashcode:ignored/>
42+
</jaxb:bindings>
43+
3744
<jaxb:globalBindings>
3845
<jaxb:serializable/>
3946
<xjc:simple/>

0 commit comments

Comments
 (0)