package hudson.plugins.groovy;

import hudson.Extension;
import hudson.tools.DownloadFromUrlInstaller;
import hudson.tools.ToolInstallation;

import org.kohsuke.stapler.DataBoundConstructor;

public class GroovyInstaller extends DownloadFromUrlInstaller {                                                                                
    @DataBoundConstructor                                                                                                                      
    public GroovyInstaller(String id) {                                                                                                        
        super(id);                                                                                                                             
    }                                                                                                                                          
                                                                                                                                               
    @Extension                                                                                                                                 
    public static final class DescriptorImpl extends DownloadFromUrlInstaller.DescriptorImpl<GroovyInstaller> {                                
        public String getDisplayName() {                                                                                                       
            return "Install from http://groovy.codehaus.org";                                                                                                  
        }                                                                                                                                      
                                                                                                                                               
        @Override                                                                                                                              
        public boolean isApplicable(Class<? extends ToolInstallation> toolType) {                                                              
            return toolType == GroovyInstallation.class;                                                                                       
        }                                                                                                                                      
    }                                                                                                                                          
}    
@@ -1518,34 +1518,22 @@
 rom 
-http://groovy.codehaus.org
+Groovy website
 %22;  
@@ -2638,12 +2638,13 @@
       %0A%7D    
+%0A

Fix installer display name