-
Notifications
You must be signed in to change notification settings - Fork 102
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
Automate formatting #183
Automate formatting #183
Conversation
} | ||
|
||
@POST | ||
public FormValidation doCheckFailedFails(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check
} | ||
|
||
@POST | ||
public FormValidation doCheckFailedSkips(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check
} | ||
|
||
@POST | ||
public FormValidation doCheckUnstableFails(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check
} | ||
|
||
@POST | ||
public FormValidation doCheckUnstableSkips(@QueryParameter String value) { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check
if (newGraphNotNeeded(req, rsp)) { | ||
return; | ||
} | ||
public void doGraphMap(final StaplerRequest req, StaplerResponse rsp) throws IOException { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check
* @throws IOException - | ||
*/ | ||
// @org.kohsuke.stapler.verb.POST // POST blocks graph rendering in groovy web page | ||
public void doGraph(final StaplerRequest req, StaplerResponse rsp) throws IOException { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing permission check
if (newGraphNotNeeded(req, rsp)) { | ||
return; | ||
} | ||
public void doGraphMap(final StaplerRequest req, StaplerResponse rsp) throws IOException { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing POST/RequirePOST annotation
* @throws IOException - | ||
*/ | ||
// @org.kohsuke.stapler.verb.POST // POST blocks graph rendering in groovy web page | ||
public void doGraph(final StaplerRequest req, StaplerResponse rsp) throws IOException { |
Check warning
Code scanning / Jenkins Security Scan
Stapler: Missing POST/RequirePOST annotation
Automate formatting
Simplify maintenance by automating code formatting and and pom formatting.
Format with
mvn spotless:apply
.