Skip to content

Commit

Permalink
Merge pull request #17 from Saxonica/iss-16
Browse files Browse the repository at this point in the history
"Improve" the type equality test for method parameter types
  • Loading branch information
ndw authored Oct 3, 2024
2 parents d6e87c2 + bf65589 commit d5d3e39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ incomplete or incorrect, please [open an issue](https://github.com/Saxonica/xmld

## Change log

* **0.11.0** Improve type equality comparison when looking for overrides

The solution here is a fairly awful hack. Will have to come back to this and try to do better.

* **0.10.0** Fix superclass interfaces; output information about type parameters

Moved the interface information about a superclass into the superclass
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docletVersion=0.10.0
schemaVersion=0.10.0
docletVersion=0.11.0
schemaVersion=0.11.0
docletTitle=XmlDoclet
docletName=xmldoclet
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ private ExecutableElement findImplements(List<? extends TypeMirror> ifaces) {
}

private boolean sameType(TypeMirror t1, TypeMirror t2) {
return t1.equals(t2);
// Cheap and cheerful test
return t1.toString().equals(t2.toString());
}

}

0 comments on commit d5d3e39

Please sign in to comment.