mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
Fixed a JavaScript bug in slave configuration page when locale is French.
(<a href="http://www.nabble.com/Javascript-problem-for-french-version-td21875477.html">report</a>) git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15084 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
ee7fd53b52
commit
3db545859b
3 files changed
+14
-4
No files matched your search
@@ -23,10 +23,14 @@
|
||||
*/
|
||||
package hudson.slaves;
|
||||
|
||||
import hudson.model.Slave;
|
||||
import hudson.model.Descriptor.FormException;
|
||||
import hudson.model.Slave;
|
||||
import hudson.util.FormFieldValidator.NonNegativeInteger;
|
||||
import org.kohsuke.stapler.DataBoundConstructor;
|
||||
|
||||
import javax.servlet.ServletException;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Default {@link Slave} implementation for computers that do not belong to a higher level structure,
|
||||
* like grid or cloud.
|
||||
@@ -49,6 +53,10 @@ public final class DumbSlave extends Slave {
|
||||
public String getDisplayName() {
|
||||
return Messages.DumbSlave_displayName();
|
||||
}
|
||||
|
||||
public void doCheckNumExecutors() throws IOException, ServletException {
|
||||
new NonNegativeInteger().process();
|
||||
}
|
||||
}
|
||||
|
||||
static {
|
||||
|
||||
Reference in new issue
Block a user