Skip to content

Commit

Permalink
387: The attribute type in JApiCompatibilityChange should have a @Xml…
Browse files Browse the repository at this point in the history
…Attribute annotation.
  • Loading branch information
siom79 committed Mar 3, 2024
1 parent bb52179 commit c385ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public JApiCompatibilityChange(JApiCompatibilityChangeType type) {
this.sourceCompatible = type.isSourceCompatible();
}

@XmlAttribute(name = "type")
public JApiCompatibilityChangeType getType() {
return type;
}
Expand Down
2 changes: 1 addition & 1 deletion japicmp/src/main/resources/html.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@
<tbody>
<xsl:for-each select="compatibilityChanges/compatibilityChange">
<tr>
<td><xsl:value-of select="text()"/></td>
<td><xsl:value-of select="@type"/></td>
</tr>
</xsl:for-each>
</tbody>
Expand Down

0 comments on commit c385ebe

Please sign in to comment.