summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Lynggaard Hansen2012-06-29 13:06:19 (EDT)
committer Henrik Lynggaard Hansen2012-06-29 13:06:19 (EDT)
commited23d25916d80169b70a7f0982154c0f17f80de5 (patch)
treec07eeb650fa2c2565a0407f0c5f3d889d58cb54c
parentff36d0a9fed35303352ac7716fb2418a6fe6fc1d (diff)
downloadorg.eclipse.hudson.core-ed23d25916d80169b70a7f0982154c0f17f80de5.zip
org.eclipse.hudson.core-ed23d25916d80169b70a7f0982154c0f17f80de5.tar.gz
org.eclipse.hudson.core-ed23d25916d80169b70a7f0982154c0f17f80de5.tar.bz2
Remove unused imports to clean up sonar warnings.refs/changes/53/6553/1
-rw-r--r--hudson-core/src/main/java/hudson/model/CheckPoint.java6
-rw-r--r--hudson-core/src/main/java/hudson/security/CliAuthenticator.java8
-rw-r--r--hudson-core/src/main/java/hudson/tasks/BuildStep.java14
3 files changed, 4 insertions, 24 deletions
diff --git a/hudson-core/src/main/java/hudson/model/CheckPoint.java b/hudson-core/src/main/java/hudson/model/CheckPoint.java
index 2d026ae..9ae9ecd 100644
--- a/hudson-core/src/main/java/hudson/model/CheckPoint.java
+++ b/hudson-core/src/main/java/hudson/model/CheckPoint.java
@@ -16,12 +16,6 @@
package hudson.model;
-import hudson.tasks.BuildStep;
-import hudson.tasks.Recorder;
-import hudson.tasks.Builder;
-import hudson.tasks.junit.JUnitResultArchiver;
-import hudson.scm.SCM;
-
/**
* Provides a mechanism for synchronizing build executions in the face of concurrent builds.
*
diff --git a/hudson-core/src/main/java/hudson/security/CliAuthenticator.java b/hudson-core/src/main/java/hudson/security/CliAuthenticator.java
index 677896a..6144cf8 100644
--- a/hudson-core/src/main/java/hudson/security/CliAuthenticator.java
+++ b/hudson-core/src/main/java/hudson/security/CliAuthenticator.java
@@ -16,15 +16,9 @@
package hudson.security;
-import hudson.cli.CLICommand;
-import hudson.model.Hudson;
+import java.io.IOException;
import org.springframework.security.Authentication;
import org.springframework.security.AuthenticationException;
-import org.kohsuke.args4j.Argument;
-import org.kohsuke.args4j.CmdLineParser;
-import org.kohsuke.args4j.Option;
-
-import java.io.IOException;
/**
* Handles authentication for CLI commands.
diff --git a/hudson-core/src/main/java/hudson/tasks/BuildStep.java b/hudson-core/src/main/java/hudson/tasks/BuildStep.java
index be91dd8..28b0495 100644
--- a/hudson-core/src/main/java/hudson/tasks/BuildStep.java
+++ b/hudson-core/src/main/java/hudson/tasks/BuildStep.java
@@ -17,25 +17,17 @@
package hudson.tasks;
import hudson.Launcher;
-import hudson.Extension;
-import hudson.ExtensionList;
-import hudson.util.DescriptorList;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Action;
-import hudson.model.Build;
import hudson.model.BuildListener;
import hudson.model.Descriptor;
-import hudson.model.Project;
-import hudson.model.Hudson;
-import hudson.model.CheckPoint;
-import hudson.model.Run;
-
+import hudson.util.DescriptorList;
import java.io.IOException;
-import java.util.Collection;
-import java.util.List;
import java.util.AbstractList;
+import java.util.Collection;
import java.util.Iterator;
+import java.util.List;
import java.util.WeakHashMap;
/**