[HUDSON-3687] return hudson.model.Environment from setUp so subclasses are not

required to extend the Environment inner class.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20569 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
mindless committed 2009-08-09 17:14:09 +00:00
1 parent 574b3d4961
commit d7442cd4f6
1 file changed
+1 -1
@@ -125,7 +125,7 @@ public abstract class BuildWrapper implements ExtensionPoint, Describable<BuildW
* and reports a nice error message.
* @since 1.150
*/
public Environment setUp( AbstractBuild build, Launcher launcher, BuildListener listener ) throws IOException, InterruptedException {
public hudson.model.Environment setUp( AbstractBuild build, Launcher launcher, BuildListener listener ) throws IOException, InterruptedException {
if (build instanceof Build)
return setUp((Build)build,launcher,listener);
else