-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 1025 #1112
Issue 1025 #1112
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
@@ -282,7 +282,7 @@ | |||
<xsl:copy-of select="$bugTableHeader"/> | |||
<xsl:apply-templates select="$warningSet"> | |||
<xsl:sort select="@abbrev"/> | |||
<xsl:sort select="Class/@classname"/> | |||
<xsl:sort select="Class[1]/@classname"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this still work if there is only one element?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think yes. At least I see in our build that both single / multiple matches are working now.
I have not much experience with that, but stack overflow suggests this as a viable approach:
https://stackoverflow.com/questions/16928121/how-to-select-first-node-only-in-xslt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkienenb , @paulk-asert : WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Make sure these boxes are checked before submitting your PR -- thank you!
CHANGELOG.md
if you have changed SpotBugs code