From 8aedfcbbd40d1fed815e48530643d198bea5d20d Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 21 Nov 2006 15:11:20 +0000 Subject: [PATCH] d'oh! git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1217 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/model/Slave.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/model/Slave.java b/core/src/main/java/hudson/model/Slave.java index 8dccabb42c..b863680ab6 100644 --- a/core/src/main/java/hudson/model/Slave.java +++ b/core/src/main/java/hudson/model/Slave.java @@ -66,7 +66,7 @@ public final class Slave implements Node { this.numExecutors = numExecutors; this.mode = mode; - if (!name.equals("")) + if (name.equals("")) throw new FormException("Invalid slave configuration. Name is empty", null); if (!localFS.exists()) throw new FormException("Invalid slave configuration for " + name + ". No such directory exists: " + localFS, null);