Conversation
add missing "<?jelly escape-by-default='true'?>" to jelly files
|
As mentioned in #76, I now have permission to process pull requests on this plugin. As a result, I've been reviewing lots of outstanding pull requests. I've not merged #67 because I don't see these FindBugs warnings in either my IDE (I use Eclipse) or in the Jenkins build (findbugs doesn't seem to be being called) and I'm wary of making changes where I can't see the impact. If you can walk me through how to verify these changes - where findbugs reports should show up, where the build should fail if there are issues found etc - and how to ensure that they're run every build, and update the PR so it can be merged, then I'll give it a shot. |
jenkinsci#67 fixes a number of findbugs warnings but then failed to build and failed to merge. This change includes a number of the "safer" changes from that pull request: - Remove unnecessary imports. - Add missing @OverRide annotations. - Add "final" keyword when appropriate. - Use jenkins.model.Jenkins instead of Hudson - Update org.jenkins-ci.plugins/plugin version from 2.6 to 2.22
Add the line <?jelly escape-by-default='true'?> where it's absent. Plus some whitespace changes where we had previously a mix of tabs and spaces.
Removed unnecessary cast. Removed unnecessary import.
Refactored excessively long if/elseif...else clauses as a switch.
Change version of org.jenkins-ci.plugins/plugin from 2.22 to 2.29, which is the last version that works with a Java7 JDK. PR jenkinsci#67 upgraded to 2.30 which is Java8-only, and I'm hoping to avoid that at present.
|
Thanks @pjdarton ! |
No description provided.