Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
JENKINS-8833: Removed final from validation methods to allow extension.
  • Loading branch information
uhafner committed Jul 6, 2011
1 parent b665e52 commit 771e176893563f7575508fd63ded3144ffa43ffe
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/java/hudson/plugins/analysis/core/PluginDescriptor.java
@@ -79,7 +79,7 @@ public final String getPluginResultUrlName() {
* the character encoding
* @return the validation result
*/
public final FormValidation doCheckDefaultEncoding(@QueryParameter final String defaultEncoding) {
public FormValidation doCheckDefaultEncoding(@QueryParameter final String defaultEncoding) {
try {
return new EncodingValidator().check(defaultEncoding);
}
@@ -99,7 +99,7 @@ public final FormValidation doCheckDefaultEncoding(@QueryParameter final String
* @throws IOException
* if the encoding is not valid
*/
public final FormValidation doCheckPattern(@AncestorInPath final AbstractProject<?, ?> project,
public FormValidation doCheckPattern(@AncestorInPath final AbstractProject<?, ?> project,
@QueryParameter final String pattern) throws IOException {
return FilePath.validateFileMask(project.getSomeWorkspace(), pattern);
}
@@ -111,7 +111,7 @@ public final FormValidation doCheckPattern(@AncestorInPath final AbstractProject
* the character encoding
* @return the validation result
*/
public final FormValidation doCheckThreshold(@QueryParameter final String threshold) {
public FormValidation doCheckThreshold(@QueryParameter final String threshold) {
try {
return new ThresholdValidator().check(threshold);
}

0 comments on commit 771e176

Please sign in to comment.