Skip to content
Permalink
Browse files
[JENKINS-30885] Removed a couple of unused imports
  • Loading branch information
MadsNielsen committed Oct 12, 2015
1 parent f3a2cac commit e24b7704e93014b81347e416223c0e1f878940f3
@@ -1,7 +1,5 @@
package org.jenkinsci.plugins.pretestedintegration;

import hudson.plugins.git.Branch;
import hudson.plugins.git.util.BuildData;
import org.jenkinsci.plugins.pretestedintegration.exceptions.EstablishWorkspaceException;
import org.jenkinsci.plugins.pretestedintegration.exceptions.IntegationFailedExeception;
import org.jenkinsci.plugins.pretestedintegration.exceptions.NextCommitFailureException;
@@ -22,7 +20,6 @@
import hudson.model.AbstractProject;
import hudson.model.Descriptor;
import hudson.model.Result;
import hudson.model.TaskListener;
import org.jenkinsci.plugins.pretestedintegration.exceptions.CommitChangesFailureException;
import org.jenkinsci.plugins.pretestedintegration.exceptions.DeleteIntegratedBranchException;
import org.jenkinsci.plugins.pretestedintegration.exceptions.UnsupportedConfigurationException;
@@ -21,8 +21,7 @@
public class PretestedIntegrationPostCheckout extends Publisher {

@DataBoundConstructor
public PretestedIntegrationPostCheckout() {
}
public PretestedIntegrationPostCheckout() { }

/**
* This should ensure that we only run, when the build result can no longer be changes (is final).
@@ -76,17 +75,17 @@ public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListene
return result;
}

@Override
public BuildStepMonitor getRequiredMonitorService() {
return BuildStepMonitor.BUILD;
}

@Extension
public static final class DescriptorImpl extends Descriptor<Publisher> {

public static final class DescriptorImpl extends Descriptor<Publisher> {
@Override
public String getDisplayName() {
return "Pretested Integration post-build";
}

}
}

private static final Logger logger = Logger.getLogger(PretestedIntegrationPostCheckout.class.getName());
@@ -1,13 +1,11 @@
package org.jenkinsci.plugins.pretestedintegration.scm.git;

import edu.umd.cs.findbugs.annotations.CheckForNull;
import hudson.EnvVars;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.Launcher.ProcStarter;
import hudson.model.BuildListener;
import hudson.model.TaskListener;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Result;
@@ -26,7 +24,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.*;

import java.util.logging.Level;
import java.util.logging.Logger;

0 comments on commit e24b770

Please sign in to comment.