This method can return null.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13274 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-11-16 17:02:07 +00:00
1 parent 8a0e161274
commit 0cfcb49225
1 file changed
+3
@@ -114,6 +114,9 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
/**
* Returns a {@link Slave} on which this build was done.
*
* @return
* null, for example if the slave that this build run no logner exists.
*/
public Node getBuiltOn() {
if(builtOn==null || builtOn.equals(""))