Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
1917efdc
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1917efdc
编写于
2月 01, 2011
作者:
B
Brian Atkinson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Clean up unused imports
上级
acfa7597
变更
69
显示空白变更内容
内联
并排
Showing
69 changed file
with
4 addition
and
139 deletion
+4
-139
core/src/main/java/hudson/DescriptorExtensionList.java
core/src/main/java/hudson/DescriptorExtensionList.java
+0
-3
core/src/main/java/hudson/WebAppMain.java
core/src/main/java/hudson/WebAppMain.java
+0
-2
core/src/main/java/hudson/console/AnnotatedLargeText.java
core/src/main/java/hudson/console/AnnotatedLargeText.java
+0
-1
core/src/main/java/hudson/init/InitializerFinder.java
core/src/main/java/hudson/init/InitializerFinder.java
+0
-1
core/src/main/java/hudson/init/impl/GroovyInitScript.java
core/src/main/java/hudson/init/impl/GroovyInitScript.java
+0
-2
core/src/main/java/hudson/logging/LogRecorderManager.java
core/src/main/java/hudson/logging/LogRecorderManager.java
+0
-1
core/src/main/java/hudson/matrix/Axis.java
core/src/main/java/hudson/matrix/Axis.java
+0
-1
core/src/main/java/hudson/matrix/AxisList.java
core/src/main/java/hudson/matrix/AxisList.java
+0
-3
core/src/main/java/hudson/matrix/MatrixProject.java
core/src/main/java/hudson/matrix/MatrixProject.java
+0
-2
core/src/main/java/hudson/model/Api.java
core/src/main/java/hudson/model/Api.java
+0
-1
core/src/main/java/hudson/model/BooleanParameterValue.java
core/src/main/java/hudson/model/BooleanParameterValue.java
+0
-1
core/src/main/java/hudson/model/BuildTimelineWidget.java
core/src/main/java/hudson/model/BuildTimelineWidget.java
+0
-3
core/src/main/java/hudson/model/ChoiceParameterDefinition.java
...src/main/java/hudson/model/ChoiceParameterDefinition.java
+0
-2
core/src/main/java/hudson/model/DownloadService.java
core/src/main/java/hudson/model/DownloadService.java
+0
-1
core/src/main/java/hudson/model/Hudson.java
core/src/main/java/hudson/model/Hudson.java
+0
-1
core/src/main/java/hudson/model/ItemGroupMixIn.java
core/src/main/java/hudson/model/ItemGroupMixIn.java
+0
-2
core/src/main/java/hudson/model/Items.java
core/src/main/java/hudson/model/Items.java
+0
-3
core/src/main/java/hudson/model/Job.java
core/src/main/java/hudson/model/Job.java
+0
-2
core/src/main/java/hudson/model/JobParameterValue.java
core/src/main/java/hudson/model/JobParameterValue.java
+0
-1
core/src/main/java/hudson/model/LoadBalancer.java
core/src/main/java/hudson/model/LoadBalancer.java
+0
-1
core/src/main/java/hudson/model/ParameterValue.java
core/src/main/java/hudson/model/ParameterValue.java
+0
-1
core/src/main/java/hudson/model/Result.java
core/src/main/java/hudson/model/Result.java
+0
-3
core/src/main/java/hudson/model/RunParameterDefinition.java
core/src/main/java/hudson/model/RunParameterDefinition.java
+0
-3
core/src/main/java/hudson/model/StringParameterValue.java
core/src/main/java/hudson/model/StringParameterValue.java
+0
-1
core/src/main/java/hudson/model/View.java
core/src/main/java/hudson/model/View.java
+0
-1
core/src/main/java/hudson/model/labels/LabelAtom.java
core/src/main/java/hudson/model/labels/LabelAtom.java
+0
-1
core/src/main/java/hudson/model/labels/LabelAtomProperty.java
.../src/main/java/hudson/model/labels/LabelAtomProperty.java
+0
-2
core/src/main/java/hudson/model/listeners/RunListener.java
core/src/main/java/hudson/model/listeners/RunListener.java
+0
-3
core/src/main/java/hudson/model/listeners/SaveableListener.java
...rc/main/java/hudson/model/listeners/SaveableListener.java
+0
-2
core/src/main/java/hudson/node_monitors/AbstractNodeMonitorDescriptor.java
...a/hudson/node_monitors/AbstractNodeMonitorDescriptor.java
+0
-1
core/src/main/java/hudson/node_monitors/ArchitectureMonitor.java
...c/main/java/hudson/node_monitors/ArchitectureMonitor.java
+0
-1
core/src/main/java/hudson/node_monitors/ResponseTimeMonitor.java
...c/main/java/hudson/node_monitors/ResponseTimeMonitor.java
+0
-1
core/src/main/java/hudson/scm/RepositoryBrowsers.java
core/src/main/java/hudson/scm/RepositoryBrowsers.java
+0
-3
core/src/main/java/hudson/scm/SCMS.java
core/src/main/java/hudson/scm/SCMS.java
+0
-3
core/src/main/java/hudson/security/BasicAuthenticationFilter.java
.../main/java/hudson/security/BasicAuthenticationFilter.java
+0
-1
core/src/main/java/hudson/security/ProjectMatrixAuthorizationStrategy.java
...a/hudson/security/ProjectMatrixAuthorizationStrategy.java
+0
-1
core/src/main/java/hudson/tasks/BuildStepCompatibilityLayer.java
...c/main/java/hudson/tasks/BuildStepCompatibilityLayer.java
+0
-2
core/src/main/java/hudson/triggers/Trigger.java
core/src/main/java/hudson/triggers/Trigger.java
+0
-1
core/src/main/java/hudson/triggers/Triggers.java
core/src/main/java/hudson/triggers/Triggers.java
+0
-2
core/src/main/java/hudson/util/ClasspathBuilder.java
core/src/main/java/hudson/util/ClasspathBuilder.java
+0
-1
core/src/main/java/hudson/util/CopyOnWriteList.java
core/src/main/java/hudson/util/CopyOnWriteList.java
+0
-1
core/src/main/java/hudson/util/ReflectionUtils.java
core/src/main/java/hudson/util/ReflectionUtils.java
+0
-1
core/src/test/java/hudson/ChannelTestCase.java
core/src/test/java/hudson/ChannelTestCase.java
+0
-2
core/src/test/java/hudson/os/DCOMSandbox.java
core/src/test/java/hudson/os/DCOMSandbox.java
+0
-2
core/src/test/java/hudson/tasks/junit/TestResultTest.java
core/src/test/java/hudson/tasks/junit/TestResultTest.java
+0
-1
remoting/src/test/java/hudson/remoting/ChannelRunner.java
remoting/src/test/java/hudson/remoting/ChannelRunner.java
+0
-2
test/src/main/java/org/jvnet/hudson/test/ComputerConnectorTester.java
...n/java/org/jvnet/hudson/test/ComputerConnectorTester.java
+0
-1
test/src/test/java/hudson/ClassicPluginStrategyTest.java
test/src/test/java/hudson/ClassicPluginStrategyTest.java
+0
-1
test/src/test/java/hudson/ExtensionListTest.java
test/src/test/java/hudson/ExtensionListTest.java
+0
-2
test/src/test/java/hudson/maven/MavenBuildSurefireFailedTest.java
.../test/java/hudson/maven/MavenBuildSurefireFailedTest.java
+0
-1
test/src/test/java/hudson/maven/MavenEmptyModuleTest.java
test/src/test/java/hudson/maven/MavenEmptyModuleTest.java
+0
-3
test/src/test/java/hudson/maven/MavenJellyTest.java
test/src/test/java/hudson/maven/MavenJellyTest.java
+0
-2
test/src/test/java/hudson/maven/MavenOptsTest.java
test/src/test/java/hudson/maven/MavenOptsTest.java
+0
-7
test/src/test/java/hudson/maven/ModuleDependencyLocator.java
test/src/test/java/hudson/maven/ModuleDependencyLocator.java
+0
-3
test/src/test/java/hudson/pages/SystemConfigurationTestCase.java
...c/test/java/hudson/pages/SystemConfigurationTestCase.java
+0
-1
test/src/test/java/hudson/security/CliAuthenticationTest.java
.../src/test/java/hudson/security/CliAuthenticationTest.java
+0
-5
test/src/test/java/hudson/security/LoginTest.java
test/src/test/java/hudson/security/LoginTest.java
+0
-1
test/src/test/java/hudson/slaves/EnvironmentVariableNodePropertyTest.java
...va/hudson/slaves/EnvironmentVariableNodePropertyTest.java
+0
-6
test/src/test/java/hudson/slaves/NodeCanTakeTaskTest.java
test/src/test/java/hudson/slaves/NodeCanTakeTaskTest.java
+0
-2
test/src/test/java/hudson/tasks/EnvVarsInConfigTasksTest.java
.../src/test/java/hudson/tasks/EnvVarsInConfigTasksTest.java
+0
-5
test/src/test/java/hudson/tasks/MavenTest.java
test/src/test/java/hudson/tasks/MavenTest.java
+0
-1
test/src/test/java/hudson/tasks/_ant/AntTargetAnnotationTest.java
.../test/java/hudson/tasks/_ant/AntTargetAnnotationTest.java
+0
-1
test/src/test/java/hudson/tasks/junit/JUnitResultArchiverTest.java
...test/java/hudson/tasks/junit/JUnitResultArchiverTest.java
+0
-3
test/src/test/java/hudson/tasks/junit/TestResultLinksTest.java
...src/test/java/hudson/tasks/junit/TestResultLinksTest.java
+0
-8
test/src/test/java/hudson/tasks/junit/TestResultPublishingTest.java
...est/java/hudson/tasks/junit/TestResultPublishingTest.java
+4
-2
test/src/test/java/hudson/tasks/test/TestResultExtensionTest.java
.../test/java/hudson/tasks/test/TestResultExtensionTest.java
+0
-2
test/src/test/java/hudson/tools/ToolLocationTest.java
test/src/test/java/hudson/tools/ToolLocationTest.java
+0
-2
test/src/test/java/hudson/triggers/SCMTriggerTest.java
test/src/test/java/hudson/triggers/SCMTriggerTest.java
+0
-1
test/src/test/java/lib/form/ExpandableTextboxTest.java
test/src/test/java/lib/form/ExpandableTextboxTest.java
+0
-2
未找到文件。
core/src/main/java/hudson/DescriptorExtensionList.java
浏览文件 @
1917efdc
...
...
@@ -41,10 +41,7 @@ import java.util.Iterator;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
java.util.concurrent.CopyOnWriteArrayList
;
import
java.lang.reflect.Type
;
import
java.lang.reflect.ParameterizedType
;
import
org.jvnet.tiger_types.Types
;
import
org.kohsuke.stapler.Stapler
;
import
net.sf.json.JSONObject
;
...
...
core/src/main/java/hudson/WebAppMain.java
浏览文件 @
1917efdc
...
...
@@ -25,7 +25,6 @@ package hudson;
import
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider
;
import
com.thoughtworks.xstream.core.JVM
;
import
com.sun.jna.Native
;
import
hudson.model.Hudson
;
import
hudson.model.User
;
import
hudson.triggers.SafeTimerTask
;
...
...
@@ -41,7 +40,6 @@ import hudson.util.IncompatibleAntVersionDetected;
import
hudson.util.HudsonFailedToLoad
;
import
hudson.util.ChartUtil
;
import
hudson.util.AWTProblem
;
import
hudson.util.JNADoublyLoaded
;
import
org.jvnet.localizer.LocaleProvider
;
import
org.kohsuke.stapler.Stapler
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
core/src/main/java/hudson/console/AnnotatedLargeText.java
浏览文件 @
1917efdc
...
...
@@ -45,7 +45,6 @@ import java.io.IOException;
import
java.io.ObjectInputStream
;
import
java.io.ObjectOutputStream
;
import
java.io.OutputStream
;
import
java.io.OutputStreamWriter
;
import
java.io.Writer
;
import
java.nio.charset.Charset
;
import
java.security.GeneralSecurityException
;
...
...
core/src/main/java/hudson/init/InitializerFinder.java
浏览文件 @
1917efdc
...
...
@@ -40,7 +40,6 @@ import java.util.Collection;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
hudson.model.Hudson
;
...
...
core/src/main/java/hudson/init/impl/GroovyInitScript.java
浏览文件 @
1917efdc
...
...
@@ -31,11 +31,9 @@ import java.io.IOException;
import
java.net.URL
;
import
java.util.logging.Logger
;
import
hudson.FilePath
;
import
hudson.model.Hudson
;
import
static
hudson
.
init
.
InitMilestone
.
JOB_LOADED
;
import
hudson.init.Initializer
;
import
org.apache.commons.io.FileUtils
;
/**
* Run the initialization script, if it exists.
...
...
core/src/main/java/hudson/logging/LogRecorderManager.java
浏览文件 @
1917efdc
...
...
@@ -30,7 +30,6 @@ import static hudson.init.InitMilestone.PLUGINS_PREPARED;
import
hudson.model.AbstractModelObject
;
import
hudson.model.Hudson
;
import
hudson.model.RSS
;
import
hudson.model.Failure
;
import
hudson.tasks.Mailer
;
import
hudson.util.CopyOnWriteMap
;
import
org.apache.commons.io.filefilter.WildcardFileFilter
;
...
...
core/src/main/java/hudson/matrix/Axis.java
浏览文件 @
1917efdc
...
...
@@ -27,7 +27,6 @@ import hudson.DescriptorExtensionList;
import
hudson.ExtensionPoint
;
import
hudson.Util
;
import
hudson.model.AbstractDescribableImpl
;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
import
hudson.util.QuotedStringTokenizer
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
core/src/main/java/hudson/matrix/AxisList.java
浏览文件 @
1917efdc
...
...
@@ -25,16 +25,13 @@ package hudson.matrix;
import
com.thoughtworks.xstream.XStream
;
import
hudson.Util
;
import
hudson.model.Label
;
import
hudson.util.RobustCollectionConverter
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.HashSet
;
import
java.util.Iterator
;
import
java.util.Arrays
;
import
java.util.Set
;
/**
* List of {@link Axis}.
...
...
core/src/main/java/hudson/matrix/MatrixProject.java
浏览文件 @
1917efdc
...
...
@@ -81,8 +81,6 @@ import java.util.Set;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
static
hudson
.
Util
.*;
/**
* {@link Job} that allows you to run multiple different configurations
* from a single setting.
...
...
core/src/main/java/hudson/model/Api.java
浏览文件 @
1917efdc
...
...
@@ -44,7 +44,6 @@ import java.io.OutputStream;
import
java.io.StringReader
;
import
java.io.StringWriter
;
import
java.util.List
;
import
java.util.logging.Logger
;
/**
* Used to expose remote access API for ".../api/"
...
...
core/src/main/java/hudson/model/BooleanParameterValue.java
浏览文件 @
1917efdc
...
...
@@ -28,7 +28,6 @@ import org.kohsuke.stapler.DataBoundConstructor;
import
org.kohsuke.stapler.export.Exported
;
import
java.util.Locale
;
import
java.util.Map
;
import
hudson.util.VariableResolver
;
...
...
core/src/main/java/hudson/model/BuildTimelineWidget.java
浏览文件 @
1917efdc
...
...
@@ -24,14 +24,11 @@
package
hudson.model
;
import
hudson.util.RunList
;
import
org.kohsuke.stapler.HttpResponse
;
import
org.kohsuke.stapler.QueryParameter
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.koshuke.stapler.simile.timeline.Event
;
import
org.koshuke.stapler.simile.timeline.TimelineEventList
;
import
javax.servlet.ServletException
;
import
java.io.IOException
;
import
java.util.Date
;
...
...
core/src/main/java/hudson/model/ChoiceParameterDefinition.java
浏览文件 @
1917efdc
...
...
@@ -6,12 +6,10 @@ import org.kohsuke.stapler.export.Exported;
import
org.apache.commons.lang.StringUtils
;
import
net.sf.json.JSONObject
;
import
hudson.Extension
;
import
hudson.cli.CLICommand
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Arrays
;
import
java.io.IOException
;
/**
* @author huybrechts
...
...
core/src/main/java/hudson/model/DownloadService.java
浏览文件 @
1917efdc
...
...
@@ -30,7 +30,6 @@ import hudson.util.IOUtils;
import
hudson.util.QuotedStringTokenizer
;
import
hudson.util.TextFile
;
import
hudson.util.TimeUnit2
;
import
org.kohsuke.stapler.QueryParameter
;
import
org.kohsuke.stapler.Stapler
;
import
java.io.File
;
...
...
core/src/main/java/hudson/model/Hudson.java
浏览文件 @
1917efdc
...
...
@@ -167,7 +167,6 @@ import org.kohsuke.stapler.StaplerProxy;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.WebApp
;
import
org.kohsuke.stapler.WebMethod
;
import
org.kohsuke.stapler.export.Exported
;
import
org.kohsuke.stapler.export.ExportedBean
;
import
org.kohsuke.stapler.framework.adjunct.AdjunctManager
;
...
...
core/src/main/java/hudson/model/ItemGroupMixIn.java
浏览文件 @
1917efdc
...
...
@@ -29,7 +29,6 @@ import hudson.security.AccessControlled;
import
hudson.util.CopyOnWriteMap
;
import
hudson.util.Function1
;
import
hudson.util.IOUtils
;
import
org.kohsuke.stapler.Ancestor
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
...
...
@@ -39,7 +38,6 @@ import java.io.File;
import
java.io.FileFilter
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.util.List
;
import
java.util.Map
;
/**
...
...
core/src/main/java/hudson/model/Items.java
浏览文件 @
1917efdc
...
...
@@ -26,13 +26,10 @@ package hudson.model;
import
com.thoughtworks.xstream.XStream
;
import
hudson.DescriptorExtensionList
;
import
hudson.Extension
;
import
hudson.scm.RepositoryBrowser
;
import
hudson.matrix.MatrixProject
;
import
hudson.matrix.MatrixConfiguration
;
import
hudson.XmlFile
;
import
hudson.matrix.Axis
;
import
hudson.matrix.MatrixConfiguration
;
import
hudson.matrix.MatrixProject
;
import
hudson.util.DescriptorList
;
import
hudson.util.XStream2
;
...
...
core/src/main/java/hudson/model/Job.java
浏览文件 @
1917efdc
...
...
@@ -63,8 +63,6 @@ import java.io.IOException;
import
java.io.StringWriter
;
import
java.io.PrintWriter
;
import
java.net.URLEncoder
;
import
java.util.AbstractList
;
import
java.text.ParseException
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
...
...
core/src/main/java/hudson/model/JobParameterValue.java
浏览文件 @
1917efdc
...
...
@@ -27,7 +27,6 @@ import hudson.EnvVars;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
java.util.Locale
;
import
java.util.Map
;
public
class
JobParameterValue
extends
ParameterValue
{
public
final
Job
job
;
...
...
core/src/main/java/hudson/model/LoadBalancer.java
浏览文件 @
1917efdc
...
...
@@ -29,7 +29,6 @@ import hudson.model.queue.MappingWorksheet.ExecutorChunk;
import
hudson.model.queue.MappingWorksheet.Mapping
;
import
hudson.util.ConsistentHash
;
import
hudson.util.ConsistentHash.Hash
;
import
hudson.matrix.MatrixConfiguration
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
core/src/main/java/hudson/model/ParameterValue.java
浏览文件 @
1917efdc
...
...
@@ -26,7 +26,6 @@ package hudson.model;
import
hudson.EnvVars
;
import
hudson.Util
;
import
hudson.slaves.OfflineCause
;
import
hudson.tasks.BuildWrapper
;
import
hudson.tasks.Builder
;
import
hudson.util.VariableResolver
;
...
...
core/src/main/java/hudson/model/Result.java
浏览文件 @
1917efdc
...
...
@@ -25,7 +25,6 @@ package hudson.model;
import
com.thoughtworks.xstream.converters.SingleValueConverter
;
import
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
;
import
hudson.Extension
;
import
hudson.cli.declarative.OptionHandlerExtension
;
import
hudson.util.EditDistance
;
import
org.kohsuke.args4j.CmdLineException
;
...
...
@@ -35,8 +34,6 @@ import org.kohsuke.args4j.spi.*;
import
org.kohsuke.stapler.export.CustomExportedBean
;
import
java.io.Serializable
;
import
java.net.URI
;
import
java.net.URISyntaxException
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
core/src/main/java/hudson/model/RunParameterDefinition.java
浏览文件 @
1917efdc
...
...
@@ -29,9 +29,6 @@ import org.kohsuke.stapler.DataBoundConstructor;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.export.Exported
;
import
hudson.Extension
;
import
hudson.cli.CLICommand
;
import
java.io.IOException
;
public
class
RunParameterDefinition
extends
SimpleParameterDefinition
{
...
...
core/src/main/java/hudson/model/StringParameterValue.java
浏览文件 @
1917efdc
...
...
@@ -28,7 +28,6 @@ import org.kohsuke.stapler.DataBoundConstructor;
import
org.kohsuke.stapler.export.Exported
;
import
java.util.Locale
;
import
java.util.Map
;
import
hudson.util.VariableResolver
;
...
...
core/src/main/java/hudson/model/View.java
浏览文件 @
1917efdc
...
...
@@ -42,7 +42,6 @@ import hudson.util.RunList;
import
hudson.widgets.Widget
;
import
java.io.IOException
;
import
java.text.ParseException
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Calendar
;
...
...
core/src/main/java/hudson/model/labels/LabelAtom.java
浏览文件 @
1917efdc
...
...
@@ -35,7 +35,6 @@ import hudson.model.Descriptor.FormException;
import
hudson.model.Failure
;
import
hudson.model.Hudson
;
import
hudson.model.Label
;
import
hudson.model.Messages
;
import
hudson.model.Saveable
;
import
hudson.model.listeners.SaveableListener
;
import
hudson.util.DescribableList
;
...
...
core/src/main/java/hudson/model/labels/LabelAtomProperty.java
浏览文件 @
1917efdc
...
...
@@ -28,8 +28,6 @@ import hudson.ExtensionPoint;
import
hudson.model.AbstractDescribableImpl
;
import
hudson.model.Action
;
import
hudson.model.Hudson
;
import
hudson.slaves.NodeDescriptor
;
import
hudson.slaves.NodePropertyDescriptor
;
import
org.kohsuke.stapler.export.ExportedBean
;
import
java.util.Collection
;
...
...
core/src/main/java/hudson/model/listeners/RunListener.java
浏览文件 @
1917efdc
...
...
@@ -26,12 +26,9 @@ package hudson.model.listeners;
import
hudson.ExtensionPoint
;
import
hudson.ExtensionListView
;
import
hudson.Extension
;
import
hudson.DescriptorExtensionList
;
import
hudson.ExtensionList
;
import
hudson.scm.RepositoryBrowser
;
import
hudson.model.Run
;
import
hudson.model.TaskListener
;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
import
hudson.util.CopyOnWriteList
;
import
org.jvnet.tiger_types.Types
;
...
...
core/src/main/java/hudson/model/listeners/SaveableListener.java
浏览文件 @
1917efdc
...
...
@@ -25,13 +25,11 @@
package
hudson.model.listeners
;
import
hudson.ExtensionPoint
;
import
hudson.ExtensionListView
;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
hudson.XmlFile
;
import
hudson.model.Hudson
;
import
hudson.model.Saveable
;
import
hudson.util.CopyOnWriteList
;
/**
* Receives notifications about save actions on {@link Saveable} objects in Hudson.
...
...
core/src/main/java/hudson/node_monitors/AbstractNodeMonitorDescriptor.java
浏览文件 @
1917efdc
...
...
@@ -23,7 +23,6 @@
*/
package
hudson.node_monitors
;
import
hudson.Functions.ThreadGroupMap
;
import
hudson.model.Computer
;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
...
...
core/src/main/java/hudson/node_monitors/ArchitectureMonitor.java
浏览文件 @
1917efdc
...
...
@@ -24,7 +24,6 @@
package
hudson.node_monitors
;
import
hudson.model.Computer
;
import
hudson.model.Descriptor.FormException
;
import
hudson.remoting.Callable
;
import
hudson.Extension
;
import
net.sf.json.JSONObject
;
...
...
core/src/main/java/hudson/node_monitors/ResponseTimeMonitor.java
浏览文件 @
1917efdc
...
...
@@ -25,7 +25,6 @@ package hudson.node_monitors;
import
hudson.Util
;
import
hudson.Extension
;
import
hudson.model.Descriptor.FormException
;
import
hudson.slaves.OfflineCause
;
import
hudson.model.Computer
;
import
hudson.remoting.Callable
;
...
...
core/src/main/java/hudson/scm/RepositoryBrowsers.java
浏览文件 @
1917efdc
...
...
@@ -24,9 +24,7 @@
package
hudson.scm
;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
import
hudson.model.Descriptor.FormException
;
import
hudson.scm.browsers.*
;
import
hudson.util.DescriptorList
;
import
hudson.Extension
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
@@ -35,7 +33,6 @@ import java.util.ArrayList;
import
java.util.List
;
import
net.sf.json.JSONObject
;
import
net.sf.json.JSONArray
;
/**
* List of all installed {@link RepositoryBrowsers}.
...
...
core/src/main/java/hudson/scm/SCMS.java
浏览文件 @
1917efdc
...
...
@@ -23,12 +23,9 @@
*/
package
hudson.scm
;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
import
hudson.model.AbstractProject
;
import
hudson.model.Descriptor.FormException
;
import
hudson.util.DescriptorList
;
import
hudson.DescriptorExtensionList
;
import
hudson.Extension
;
import
java.util.List
;
...
...
core/src/main/java/hudson/security/BasicAuthenticationFilter.java
浏览文件 @
1917efdc
...
...
@@ -25,7 +25,6 @@ package hudson.security;
import
hudson.model.Hudson
;
import
hudson.util.Scrambler
;
import
org.acegisecurity.Authentication
;
import
org.acegisecurity.GrantedAuthorityImpl
;
import
org.acegisecurity.context.SecurityContextHolder
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
core/src/main/java/hudson/security/ProjectMatrixAuthorizationStrategy.java
浏览文件 @
1917efdc
...
...
@@ -26,7 +26,6 @@ package hudson.security;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
import
hudson.model.Job
;
import
hudson.model.TopLevelItem
;
import
hudson.util.RobustReflectionConverter
;
import
hudson.Extension
;
import
com.thoughtworks.xstream.io.HierarchicalStreamReader
;
...
...
core/src/main/java/hudson/tasks/BuildStepCompatibilityLayer.java
浏览文件 @
1917efdc
...
...
@@ -29,8 +29,6 @@ import hudson.model.Action;
import
hudson.model.Project
;
import
hudson.model.AbstractBuild
;
import
hudson.model.AbstractProject
;
import
hudson.model.Run
;
import
hudson.model.CheckPoint
;
import
hudson.Launcher
;
import
java.io.IOException
;
...
...
core/src/main/java/hudson/triggers/Trigger.java
浏览文件 @
1917efdc
...
...
@@ -30,7 +30,6 @@ import hudson.ExtensionPoint;
import
hudson.DescriptorExtensionList
;
import
hudson.Extension
;
import
hudson.init.Initializer
;
import
hudson.init.InitMilestone
;
import
static
hudson
.
init
.
InitMilestone
.
JOB_LOADED
;
import
hudson.model.AbstractProject
;
import
hudson.model.Action
;
...
...
core/src/main/java/hudson/triggers/Triggers.java
浏览文件 @
1917efdc
...
...
@@ -23,13 +23,11 @@
*/
package
hudson.triggers
;
import
hudson.model.Descriptor
;
import
hudson.model.Item
;
import
hudson.util.DescriptorList
;
import
hudson.Extension
;
import
java.util.List
;
import
java.util.ArrayList
;
/**
* List of all installed {@link Trigger}s.
...
...
core/src/main/java/hudson/util/ClasspathBuilder.java
浏览文件 @
1917efdc
...
...
@@ -2,7 +2,6 @@ package hudson.util;
import
hudson.FilePath
;
import
hudson.Util
;
import
hudson.remoting.Channel
;
import
hudson.remoting.Which
;
import
java.io.Serializable
;
...
...
core/src/main/java/hudson/util/CopyOnWriteList.java
浏览文件 @
1917efdc
...
...
@@ -38,7 +38,6 @@ import java.util.Collections;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.Arrays
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
static
java
.
util
.
logging
.
Level
.
WARNING
;
...
...
core/src/main/java/hudson/util/ReflectionUtils.java
浏览文件 @
1917efdc
...
...
@@ -28,7 +28,6 @@ import org.kohsuke.stapler.ClassDescriptor;
import
java.beans.PropertyDescriptor
;
import
java.lang.annotation.Annotation
;
import
java.lang.reflect.Array
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.Method
;
...
...
core/src/test/java/hudson/ChannelTestCase.java
浏览文件 @
1917efdc
...
...
@@ -2,8 +2,6 @@ package hudson;
import
junit.framework.TestCase
;
import
java.io.PipedInputStream
;
import
java.io.PipedOutputStream
;
import
java.io.IOException
;
import
java.util.concurrent.Future
;
import
java.util.concurrent.Callable
;
...
...
core/src/test/java/hudson/os/DCOMSandbox.java
浏览文件 @
1917efdc
...
...
@@ -2,12 +2,10 @@ package hudson.os;
import
ndr.NdrObject
;
import
ndr.NetworkDataRepresentation
;
import
org.jinterop.dcom.common.JISystem
;
import
org.jinterop.dcom.transport.JIComTransportFactory
;
import
rpc.Endpoint
;
import
rpc.Stub
;
import
java.io.IOException
;
import
java.util.Properties
;
/**
...
...
core/src/test/java/hudson/tasks/junit/TestResultTest.java
浏览文件 @
1917efdc
...
...
@@ -32,7 +32,6 @@ import java.net.URISyntaxException;
import
java.util.Collection
;
import
java.util.List
;
import
junit.framework.TestCase
;
import
static
org
.
junit
.
Assert
.*;
/**
*
...
...
remoting/src/test/java/hudson/remoting/ChannelRunner.java
浏览文件 @
1917efdc
...
...
@@ -27,8 +27,6 @@ import hudson.remoting.Channel.Mode;
import
junit.framework.Assert
;
import
java.io.IOException
;
import
java.io.PipedInputStream
;
import
java.io.PipedOutputStream
;
import
java.io.File
;
import
java.io.OutputStream
;
import
java.io.FileOutputStream
;
...
...
test/src/main/java/org/jvnet/hudson/test/ComputerConnectorTester.java
浏览文件 @
1917efdc
...
...
@@ -25,7 +25,6 @@ package org.jvnet.hudson.test;
import
hudson.Extension
;
import
hudson.model.AbstractDescribableImpl
;
import
hudson.model.Describable
;
import
hudson.model.Descriptor
;
import
hudson.slaves.ComputerConnector
;
import
hudson.slaves.ComputerConnectorDescriptor
;
...
...
test/src/test/java/hudson/ClassicPluginStrategyTest.java
浏览文件 @
1917efdc
...
...
@@ -28,7 +28,6 @@ import hudson.PluginWrapper;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.recipes.LocalData
;
import
java.io.File
;
import
java.net.URL
;
import
java.util.Enumeration
;
...
...
test/src/test/java/hudson/ExtensionListTest.java
浏览文件 @
1917efdc
...
...
@@ -7,8 +7,6 @@ import hudson.model.Hudson;
import
hudson.util.DescriptorList
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.HashSet
;
import
java.util.Collection
;
/**
...
...
test/src/test/java/hudson/maven/MavenBuildSurefireFailedTest.java
浏览文件 @
1917efdc
package
hudson.maven
;
import
hudson.model.Result
;
import
hudson.tasks.Maven.MavenInstallation
;
import
org.jvnet.hudson.test.Bug
;
import
org.jvnet.hudson.test.ExtractResourceSCM
;
...
...
test/src/test/java/hudson/maven/MavenEmptyModuleTest.java
浏览文件 @
1917efdc
...
...
@@ -7,11 +7,8 @@ import org.jvnet.hudson.test.ExtractResourceSCM;
import
hudson.Launcher
;
import
hudson.model.BuildListener
;
import
hudson.model.Result
;
import
java.io.IOException
;
import
java.util.List
;
import
java.util.Map
;
/**
* @author Andrew Bayer
...
...
test/src/test/java/hudson/maven/MavenJellyTest.java
浏览文件 @
1917efdc
...
...
@@ -23,12 +23,10 @@
*/
package
hudson.maven
;
import
hudson.model.Hudson
;
import
hudson.remoting.Which
;
import
junit.framework.Test
;
import
junit.framework.TestCase
;
import
org.jvnet.hudson.test.JellyTestSuiteBuilder
;
import
java.io.File
;
/**
* Runs Jelly checks on maven-plugin.
...
...
test/src/test/java/hudson/maven/MavenOptsTest.java
浏览文件 @
1917efdc
...
...
@@ -4,16 +4,9 @@ import org.jvnet.hudson.test.HudsonTestCase;
import
org.jvnet.hudson.test.Bug
;
import
org.jvnet.hudson.test.ExtractResourceSCM
;
import
hudson.EnvVars
;
import
hudson.Launcher
;
import
hudson.model.BuildListener
;
import
hudson.model.Result
;
import
hudson.util.NullStream
;
import
hudson.tasks.Maven.MavenInstallation
;
import
java.io.IOException
;
import
java.io.PrintWriter
;
/**
* @author Andrew Bayer
*/
...
...
test/src/test/java/hudson/maven/ModuleDependencyLocator.java
浏览文件 @
1917efdc
...
...
@@ -26,15 +26,12 @@ package hudson.maven;
import
hudson.ExtensionPoint
;
import
hudson.ExtensionList
;
import
hudson.Extension
;
import
hudson.scm.ChangeLogAnnotator
;
import
hudson.model.Hudson
;
import
org.apache.maven.project.MavenProject
;
import
java.util.Collection
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.concurrent.CopyOnWriteArrayList
;
/**
* Extension point in Hudson to find additional dependencies from {@link MavenProject}.
...
...
test/src/test/java/hudson/pages/SystemConfigurationTestCase.java
浏览文件 @
1917efdc
...
...
@@ -23,7 +23,6 @@
*/
package
hudson.pages
;
import
static
com
.
gargoylesoftware
.
htmlunit
.
WebAssert
.
assertElementPresent
;
import
com.gargoylesoftware.htmlunit.html.HtmlForm
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
import
hudson.model.PageDecorator
;
...
...
test/src/test/java/hudson/security/CliAuthenticationTest.java
浏览文件 @
1917efdc
...
...
@@ -2,7 +2,6 @@ package hudson.security;
import
hudson.cli.CLI
;
import
hudson.cli.CLICommand
;
import
hudson.cli.CliManagerImpl
;
import
hudson.cli.ClientAuthenticationCache
;
import
hudson.cli.LoginCommand
;
import
hudson.cli.LogoutCommand
;
...
...
@@ -13,10 +12,6 @@ import org.jvnet.hudson.test.HudsonTestCase;
import
org.jvnet.hudson.test.TestExtension
;
import
junit.framework.Assert
;
import
java.io.IOException
;
import
java.util.Arrays
;
import
java.util.Locale
;
/**
* @author Kohsuke Kawaguchi
*/
...
...
test/src/test/java/hudson/security/LoginTest.java
浏览文件 @
1917efdc
...
...
@@ -7,7 +7,6 @@ import org.jvnet.hudson.test.recipes.PresetData;
import
org.jvnet.hudson.test.recipes.PresetData.DataSet
;
import
org.xml.sax.SAXException
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.net.URL
;
...
...
test/src/test/java/hudson/slaves/EnvironmentVariableNodePropertyTest.java
浏览文件 @
1917efdc
package
hudson.slaves
;
import
hudson.model.Build
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Hudson
;
import
hudson.model.JDK
;
import
hudson.model.Node
;
import
hudson.model.ParametersDefinitionProperty
;
import
hudson.model.Result
;
import
hudson.model.StringParameterDefinition
;
import
hudson.slaves.EnvironmentVariablesNodeProperty.Entry
;
import
hudson.tasks.Maven
;
import
hudson.tasks.Maven.MavenInstallation
;
import
java.io.IOException
;
import
java.util.Collections
;
...
...
@@ -21,7 +16,6 @@ import junit.framework.Assert;
import
org.jvnet.hudson.test.CaptureEnvironmentBuilder
;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.HudsonTestCase.WebClient
;
import
com.gargoylesoftware.htmlunit.html.HtmlForm
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
...
...
test/src/test/java/hudson/slaves/NodeCanTakeTaskTest.java
浏览文件 @
1917efdc
...
...
@@ -33,8 +33,6 @@ import hudson.model.FreeStyleBuild;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Messages
;
import
hudson.model.Node
;
import
hudson.model.Node.Mode
;
import
hudson.model.Project
;
import
hudson.model.Result
;
import
hudson.model.Queue.BuildableItem
;
import
hudson.model.Queue.Task
;
...
...
test/src/test/java/hudson/tasks/EnvVarsInConfigTasksTest.java
浏览文件 @
1917efdc
...
...
@@ -2,21 +2,16 @@ package hudson.tasks;
import
hudson.EnvVars
;
import
hudson.model.labels.LabelAtom
;
import
hudson.tools.ToolProperty
;
import
hudson.maven.MavenModuleSet
;
import
hudson.maven.MavenModuleSetBuild
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.JDK
;
import
hudson.model.Label
;
import
hudson.model.Result
;
import
hudson.slaves.DumbSlave
;
import
hudson.tasks.Ant.AntInstallation
;
import
hudson.tasks.Maven.MavenInstallation
;
import
java.io.File
;
import
java.util.Collections
;
import
org.apache.tools.ant.taskdefs.condition.Os
;
import
org.jvnet.hudson.test.ExtractResourceSCM
;
import
org.jvnet.hudson.test.HudsonTestCase
;
...
...
test/src/test/java/hudson/tasks/MavenTest.java
浏览文件 @
1917efdc
...
...
@@ -52,7 +52,6 @@ import org.jvnet.hudson.test.HudsonTestCase;
import
com.gargoylesoftware.htmlunit.html.HtmlForm
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
import
com.gargoylesoftware.htmlunit.html.HtmlButton
;
import
com.gargoylesoftware.htmlunit.html.HtmlInput
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.PasswordParameterDefinition
;
import
org.jvnet.hudson.test.ExtractResourceSCM
;
...
...
test/src/test/java/hudson/tasks/_ant/AntTargetAnnotationTest.java
浏览文件 @
1917efdc
...
...
@@ -7,7 +7,6 @@ import hudson.model.FreeStyleProject;
import
hudson.tasks.Ant
;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.SingleFileSCM
;
import
org.mozilla.javascript.tools.debugger.Dim
;
/**
* @author Kohsuke Kawaguchi
...
...
test/src/test/java/hudson/tasks/junit/JUnitResultArchiverTest.java
浏览文件 @
1917efdc
...
...
@@ -26,12 +26,9 @@ package hudson.tasks.junit;
import
hudson.FilePath
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Hudson
;
import
hudson.slaves.DumbSlave
;
import
hudson.tasks.test.TestObject
;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.Method
;
import
java.util.concurrent.TimeUnit
;
import
org.jvnet.hudson.test.HudsonTestCase
;
...
...
test/src/test/java/hudson/tasks/junit/TestResultLinksTest.java
浏览文件 @
1917efdc
...
...
@@ -24,23 +24,15 @@
package
hudson.tasks.junit
;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
hudson.FilePath
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Hudson
;
import
hudson.model.Result
;
import
hudson.slaves.DumbSlave
;
import
hudson.tasks.test.TestObject
;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.Method
;
import
java.util.concurrent.TimeUnit
;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.TouchBuilder
;
import
org.jvnet.hudson.test.recipes.LocalData
;
import
com.gargoylesoftware.htmlunit.html.HtmlForm
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
import
com.gargoylesoftware.htmlunit.html.HtmlAnchor
;
import
com.gargoylesoftware.htmlunit.Page
;
...
...
test/src/test/java/hudson/tasks/junit/TestResultPublishingTest.java
浏览文件 @
1917efdc
...
...
@@ -27,8 +27,10 @@ import com.gargoylesoftware.htmlunit.Page;
import
com.gargoylesoftware.htmlunit.html.*
;
import
com.gargoylesoftware.htmlunit.xml.XmlPage
;
import
hudson.FilePath
;
import
hudson.Functions
;
import
hudson.model.*
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Project
;
import
hudson.model.Run
;
import
hudson.slaves.DumbSlave
;
import
org.jvnet.hudson.test.Bug
;
import
org.jvnet.hudson.test.HudsonTestCase
;
...
...
test/src/test/java/hudson/tasks/test/TestResultExtensionTest.java
浏览文件 @
1917efdc
...
...
@@ -31,9 +31,7 @@ import hudson.model.AbstractBuild;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.TouchBuilder
;
import
java.util.concurrent.ExecutionException
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeoutException
;
/**
...
...
test/src/test/java/hudson/tools/ToolLocationTest.java
浏览文件 @
1917efdc
...
...
@@ -7,8 +7,6 @@ import hudson.tasks.Ant;
import
hudson.model.JDK
;
import
hudson.model.Hudson
;
import
static
junit
.
framework
.
Assert
.*;
import
java.util.Arrays
;
/**
...
...
test/src/test/java/hudson/triggers/SCMTriggerTest.java
浏览文件 @
1917efdc
...
...
@@ -33,7 +33,6 @@ import hudson.model.BuildListener;
import
hudson.model.Cause
;
import
hudson.model.FreeStyleBuild
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Hudson
;
import
hudson.model.TaskListener
;
import
hudson.model.Cause.UserCause
;
import
hudson.scm.NullSCM
;
...
...
test/src/test/java/lib/form/ExpandableTextboxTest.java
浏览文件 @
1917efdc
...
...
@@ -31,8 +31,6 @@ import org.jvnet.hudson.test.Bug;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.w3c.dom.NodeList
;
import
java.net.URL
;
/**
* @author Kohsuke Kawaguchi
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录