Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
893e5c08
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
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,发现更多精彩内容 >>
提交
893e5c08
编写于
2月 20, 2019
作者:
J
Josh Soref
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove unused imports
上级
4469f157
变更
70
隐藏空白更改
内联
并排
Showing
70 changed file
with
6 addition
and
105 deletion
+6
-105
core/src/main/java/hudson/ExtensionFinder.java
core/src/main/java/hudson/ExtensionFinder.java
+0
-1
core/src/main/java/hudson/ExtensionPoint.java
core/src/main/java/hudson/ExtensionPoint.java
+0
-1
core/src/main/java/hudson/FileSystemProvisioner.java
core/src/main/java/hudson/FileSystemProvisioner.java
+0
-1
core/src/main/java/hudson/Util.java
core/src/main/java/hudson/Util.java
+0
-1
core/src/main/java/hudson/cli/handlers/package-info.java
core/src/main/java/hudson/cli/handlers/package-info.java
+0
-1
core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
...ava/hudson/init/impl/InstallUncaughtExceptionHandler.java
+0
-4
core/src/main/java/hudson/init/package-info.java
core/src/main/java/hudson/init/package-info.java
+0
-1
core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java
.../src/main/java/hudson/lifecycle/WindowsInstallerLink.java
+0
-1
core/src/main/java/hudson/logging/LogRecorderManager.java
core/src/main/java/hudson/logging/LogRecorderManager.java
+0
-1
core/src/main/java/hudson/model/AbstractCIBase.java
core/src/main/java/hudson/model/AbstractCIBase.java
+0
-1
core/src/main/java/hudson/model/AbstractItem.java
core/src/main/java/hudson/model/AbstractItem.java
+0
-1
core/src/main/java/hudson/model/Cause.java
core/src/main/java/hudson/model/Cause.java
+0
-1
core/src/main/java/hudson/model/Computer.java
core/src/main/java/hudson/model/Computer.java
+0
-1
core/src/main/java/hudson/model/Descriptor.java
core/src/main/java/hudson/model/Descriptor.java
+0
-1
core/src/main/java/hudson/model/DownloadService.java
core/src/main/java/hudson/model/DownloadService.java
+0
-1
core/src/main/java/hudson/model/JDK.java
core/src/main/java/hudson/model/JDK.java
+0
-1
core/src/main/java/hudson/model/Job.java
core/src/main/java/hudson/model/Job.java
+0
-2
core/src/main/java/hudson/model/LargeText.java
core/src/main/java/hudson/model/LargeText.java
+0
-1
core/src/main/java/hudson/model/MyViewsProperty.java
core/src/main/java/hudson/model/MyViewsProperty.java
+0
-2
core/src/main/java/hudson/model/Node.java
core/src/main/java/hudson/model/Node.java
+0
-1
core/src/main/java/hudson/model/Run.java
core/src/main/java/hudson/model/Run.java
+0
-2
core/src/main/java/hudson/model/RunParameterDefinition.java
core/src/main/java/hudson/model/RunParameterDefinition.java
+0
-3
core/src/main/java/hudson/model/TransientUserActionFactory.java
...rc/main/java/hudson/model/TransientUserActionFactory.java
+1
-1
core/src/main/java/hudson/model/UpdateCenter.java
core/src/main/java/hudson/model/UpdateCenter.java
+0
-1
core/src/main/java/hudson/model/User.java
core/src/main/java/hudson/model/User.java
+0
-4
core/src/main/java/hudson/model/UserIdMigrator.java
core/src/main/java/hudson/model/UserIdMigrator.java
+0
-1
core/src/main/java/hudson/model/ViewDescriptor.java
core/src/main/java/hudson/model/ViewDescriptor.java
+1
-3
core/src/main/java/hudson/model/ViewGroupMixIn.java
core/src/main/java/hudson/model/ViewGroupMixIn.java
+1
-1
core/src/main/java/hudson/model/listeners/ItemListener.java
core/src/main/java/hudson/model/listeners/ItemListener.java
+0
-2
core/src/main/java/hudson/model/listeners/RunListener.java
core/src/main/java/hudson/model/listeners/RunListener.java
+0
-2
core/src/main/java/hudson/security/ACLContext.java
core/src/main/java/hudson/security/ACLContext.java
+0
-1
core/src/main/java/hudson/security/AuthorizationStrategy.java
.../src/main/java/hudson/security/AuthorizationStrategy.java
+0
-1
core/src/main/java/hudson/security/BasicAuthenticationFilter.java
.../main/java/hudson/security/BasicAuthenticationFilter.java
+0
-1
core/src/main/java/hudson/security/GlobalSecurityConfiguration.java
...ain/java/hudson/security/GlobalSecurityConfiguration.java
+0
-1
core/src/main/java/hudson/slaves/EnvironmentVariablesNodeProperty.java
.../java/hudson/slaves/EnvironmentVariablesNodeProperty.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/util/HttpResponses.java
core/src/main/java/hudson/util/HttpResponses.java
+0
-1
core/src/main/java/hudson/util/Iterators.java
core/src/main/java/hudson/util/Iterators.java
+0
-1
core/src/main/java/hudson/util/LRUStringConverter.java
core/src/main/java/hudson/util/LRUStringConverter.java
+0
-2
core/src/main/java/hudson/util/RobustReflectionConverter.java
.../src/main/java/hudson/util/RobustReflectionConverter.java
+0
-1
core/src/main/java/hudson/util/io/RewindableFileOutputStream.java
.../main/java/hudson/util/io/RewindableFileOutputStream.java
+0
-1
core/src/main/java/hudson/util/io/TarArchiver.java
core/src/main/java/hudson/util/io/TarArchiver.java
+0
-1
core/src/main/java/hudson/util/io/ZipArchiver.java
core/src/main/java/hudson/util/io/ZipArchiver.java
+0
-1
core/src/main/java/hudson/widgets/BuildHistoryWidget.java
core/src/main/java/hudson/widgets/BuildHistoryWidget.java
+0
-1
core/src/main/java/jenkins/AgentProtocol.java
core/src/main/java/jenkins/AgentProtocol.java
+1
-1
core/src/main/java/jenkins/PluginSubtypeMarker.java
core/src/main/java/jenkins/PluginSubtypeMarker.java
+0
-2
core/src/main/java/jenkins/diagnosis/HsErrPidList.java
core/src/main/java/jenkins/diagnosis/HsErrPidList.java
+2
-4
core/src/main/java/jenkins/install/InstallUtil.java
core/src/main/java/jenkins/install/InstallUtil.java
+0
-1
core/src/main/java/jenkins/management/AdministrativeMonitorsDecorator.java
...a/jenkins/management/AdministrativeMonitorsDecorator.java
+0
-4
core/src/main/java/jenkins/model/Uptime.java
core/src/main/java/jenkins/model/Uptime.java
+0
-1
core/src/main/java/jenkins/model/identity/IdentityRootAction.java
.../main/java/jenkins/model/identity/IdentityRootAction.java
+0
-1
core/src/main/java/jenkins/model/queue/AsynchronousExecution.java
.../main/java/jenkins/model/queue/AsynchronousExecution.java
+0
-1
core/src/main/java/jenkins/scm/RunWithSCM.java
core/src/main/java/jenkins/scm/RunWithSCM.java
+0
-1
core/src/main/java/jenkins/security/ApiTokenProperty.java
core/src/main/java/jenkins/security/ApiTokenProperty.java
+0
-1
core/src/main/java/jenkins/security/BasicApiTokenHelper.java
core/src/main/java/jenkins/security/BasicApiTokenHelper.java
+0
-2
core/src/main/java/jenkins/security/CryptoConfidentialKey.java
...src/main/java/jenkins/security/CryptoConfidentialKey.java
+0
-2
core/src/main/java/jenkins/security/ImpersonatingUserDetailsService.java
...ava/jenkins/security/ImpersonatingUserDetailsService.java
+0
-2
core/src/main/java/jenkins/security/MasterToSlaveCallable.java
...src/main/java/jenkins/security/MasterToSlaveCallable.java
+0
-2
core/src/main/java/jenkins/security/QueueItemAuthenticatorConfiguration.java
...jenkins/security/QueueItemAuthenticatorConfiguration.java
+0
-1
core/src/main/java/jenkins/security/SecurityListener.java
core/src/main/java/jenkins/security/SecurityListener.java
+0
-1
core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol.java
.../src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol.java
+0
-2
core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java
...src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java
+0
-6
core/src/main/java/jenkins/telemetry/impl/StaplerDispatches.java
...c/main/java/jenkins/telemetry/impl/StaplerDispatches.java
+0
-1
core/src/main/java/jenkins/util/AntClassLoader.java
core/src/main/java/jenkins/util/AntClassLoader.java
+0
-1
core/src/main/java/jenkins/util/JSONSignatureValidator.java
core/src/main/java/jenkins/util/JSONSignatureValidator.java
+0
-1
core/src/main/java/jenkins/util/ProgressiveRendering.java
core/src/main/java/jenkins/util/ProgressiveRendering.java
+0
-1
core/src/main/java/jenkins/util/VirtualFile.java
core/src/main/java/jenkins/util/VirtualFile.java
+0
-1
core/src/main/java/jenkins/util/io/FileBoolean.java
core/src/main/java/jenkins/util/io/FileBoolean.java
+0
-1
core/src/main/java/jenkins/util/xml/XMLUtils.java
core/src/main/java/jenkins/util/xml/XMLUtils.java
+0
-2
未找到文件。
core/src/main/java/hudson/ExtensionFinder.java
浏览文件 @
893e5c08
...
...
@@ -42,7 +42,6 @@ import com.google.inject.spi.ProvisionListener;
import
hudson.init.InitMilestone
;
import
hudson.model.Descriptor
;
import
hudson.model.Hudson
;
import
hudson.util.ReflectionUtils
;
import
jenkins.ExtensionComponentSet
;
import
jenkins.ExtensionFilter
;
import
jenkins.ExtensionRefreshException
;
...
...
core/src/main/java/hudson/ExtensionPoint.java
浏览文件 @
893e5c08
...
...
@@ -29,7 +29,6 @@ import static java.lang.annotation.ElementType.TYPE;
import
java.lang.annotation.Retention
;
import
static
java
.
lang
.
annotation
.
RetentionPolicy
.
RUNTIME
;
import
java.lang.annotation.Target
;
import
jenkins.util.io.OnMaster
;
/**
* Marker interface that designates extensible components
...
...
core/src/main/java/hudson/FileSystemProvisioner.java
浏览文件 @
893e5c08
...
...
@@ -40,7 +40,6 @@ import org.jenkinsci.Symbol;
import
java.io.BufferedOutputStream
;
import
java.io.File
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.io.OutputStream
;
...
...
core/src/main/java/hudson/Util.java
浏览文件 @
893e5c08
...
...
@@ -91,7 +91,6 @@ import javax.crypto.SecretKey;
import
javax.crypto.spec.SecretKeySpec
;
import
org.apache.commons.io.FileUtils
;
import
org.kohsuke.stapler.Ancestor
;
import
org.kohsuke.stapler.StaplerRequest
;
/**
...
...
core/src/main/java/hudson/cli/handlers/package-info.java
浏览文件 @
893e5c08
...
...
@@ -3,4 +3,3 @@
*/
package
hudson.cli.handlers
;
import
org.kohsuke.args4j.spi.OptionHandler
;
\ No newline at end of file
core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
浏览文件 @
893e5c08
...
...
@@ -5,12 +5,8 @@ import java.io.EOFException;
import
jenkins.model.Jenkins
;
import
org.kohsuke.stapler.WebApp
;
import
org.kohsuke.stapler.compression.CompressionFilter
;
import
org.kohsuke.stapler.compression.UncaughtExceptionHandler
;
import
javax.servlet.ServletContext
;
import
javax.servlet.ServletException
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
...
...
core/src/main/java/hudson/init/package-info.java
浏览文件 @
893e5c08
...
...
@@ -44,4 +44,3 @@
*/
package
hudson.init
;
import
org.jvnet.hudson.reactor.Task
;
\ No newline at end of file
core/src/main/java/hudson/lifecycle/WindowsInstallerLink.java
浏览文件 @
893e5c08
...
...
@@ -54,7 +54,6 @@ import org.kohsuke.stapler.interceptor.RequirePOST;
import
javax.servlet.ServletException
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.util.logging.Logger
;
import
java.util.logging.Level
;
...
...
core/src/main/java/hudson/logging/LogRecorderManager.java
浏览文件 @
893e5c08
...
...
@@ -25,7 +25,6 @@ package hudson.logging;
import
hudson.FeedAdapter
;
import
hudson.Functions
;
import
hudson.PluginManager
;
import
hudson.init.Initializer
;
import
static
hudson
.
init
.
InitMilestone
.
PLUGINS_PREPARED
;
import
hudson.model.AbstractModelObject
;
...
...
core/src/main/java/hudson/model/AbstractCIBase.java
浏览文件 @
893e5c08
...
...
@@ -39,7 +39,6 @@ import java.util.concurrent.CopyOnWriteArraySet;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
javax.annotation.CheckForNull
;
import
javax.annotation.Nonnull
;
import
jenkins.model.Configuration
;
...
...
core/src/main/java/hudson/model/AbstractItem.java
浏览文件 @
893e5c08
...
...
@@ -38,7 +38,6 @@ import hudson.model.queue.Tasks;
import
hudson.model.queue.WorkUnit
;
import
hudson.security.ACLContext
;
import
hudson.security.AccessControlled
;
import
hudson.security.Permission
;
import
hudson.security.ACL
;
import
hudson.util.AlternativeUiTextProvider
;
import
hudson.util.AlternativeUiTextProvider.Message
;
...
...
core/src/main/java/hudson/model/Cause.java
浏览文件 @
893e5c08
...
...
@@ -25,7 +25,6 @@ package hudson.model;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Collections
;
import
java.util.List
;
import
hudson.console.ModelHyperlinkNote
;
...
...
core/src/main/java/hudson/model/Computer.java
浏览文件 @
893e5c08
...
...
@@ -31,7 +31,6 @@ import hudson.Extension;
import
hudson.Launcher.ProcStarter
;
import
hudson.slaves.Cloud
;
import
jenkins.security.stapler.StaplerDispatchable
;
import
jenkins.util.SystemProperties
;
import
hudson.Util
;
import
hudson.cli.declarative.CLIResolver
;
import
hudson.console.AnnotatedLargeText
;
...
...
core/src/main/java/hudson/model/Descriptor.java
浏览文件 @
893e5c08
...
...
@@ -53,7 +53,6 @@ import org.apache.commons.io.IOUtils;
import
static
hudson
.
util
.
QuotedStringTokenizer
.*;
import
static
javax
.
servlet
.
http
.
HttpServletResponse
.
SC_NOT_FOUND
;
import
javax.annotation.PostConstruct
;
import
javax.servlet.ServletException
;
import
javax.servlet.RequestDispatcher
;
import
java.io.File
;
...
...
core/src/main/java/hudson/model/DownloadService.java
浏览文件 @
893e5c08
...
...
@@ -50,7 +50,6 @@ import java.util.logging.Level;
import
java.util.logging.Logger
;
import
jenkins.model.DownloadSettings
;
import
jenkins.model.Jenkins
;
import
jenkins.util.JSONSignatureValidator
;
import
net.sf.json.JSONException
;
import
net.sf.json.JSONObject
;
import
org.apache.commons.io.IOUtils
;
...
...
core/src/main/java/hudson/model/JDK.java
浏览文件 @
893e5c08
...
...
@@ -39,7 +39,6 @@ import hudson.util.XStream2;
import
java.io.File
;
import
java.io.IOException
;
import
java.lang.reflect.Constructor
;
import
java.lang.reflect.InvocationTargetException
;
import
java.util.Map
;
import
java.util.List
;
import
java.util.Arrays
;
...
...
core/src/main/java/hudson/model/Job.java
浏览文件 @
893e5c08
...
...
@@ -29,7 +29,6 @@ import hudson.EnvVars;
import
hudson.Extension
;
import
hudson.ExtensionPoint
;
import
hudson.FeedAdapter
;
import
hudson.FilePath
;
import
hudson.PermalinkList
;
import
hudson.Util
;
import
hudson.cli.declarative.CLIResolver
;
...
...
@@ -67,7 +66,6 @@ import java.awt.Color;
import
java.awt.Paint
;
import
java.io.File
;
import
java.io.IOException
;
import
java.nio.file.Files
;
import
java.util.ArrayList
;
import
java.util.Calendar
;
import
java.util.Collection
;
...
...
core/src/main/java/hudson/model/LargeText.java
浏览文件 @
893e5c08
...
...
@@ -26,7 +26,6 @@ package hudson.model;
import
hudson.util.ByteBuffer
;
import
hudson.util.CharSpool
;
import
hudson.util.LineEndNormalizingWriter
;
import
org.apache.commons.fileupload.util.Closeable
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.framework.io.WriterOutputStream
;
...
...
core/src/main/java/hudson/model/MyViewsProperty.java
浏览文件 @
893e5c08
...
...
@@ -27,7 +27,6 @@ import hudson.Extension;
import
hudson.Util
;
import
hudson.model.Descriptor.FormException
;
import
hudson.security.ACL
;
import
hudson.security.Permission
;
import
hudson.util.FormValidation
;
import
hudson.views.MyViewsTabBar
;
import
hudson.views.ViewsTabBar
;
...
...
@@ -45,7 +44,6 @@ import javax.servlet.ServletException;
import
jenkins.model.Jenkins
;
import
net.sf.json.JSONObject
;
import
org.acegisecurity.AccessDeniedException
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
...
...
core/src/main/java/hudson/model/Node.java
浏览文件 @
893e5c08
...
...
@@ -39,7 +39,6 @@ import hudson.remoting.Callable;
import
hudson.remoting.VirtualChannel
;
import
hudson.security.ACL
;
import
hudson.security.AccessControlled
;
import
hudson.security.Permission
;
import
hudson.slaves.Cloud
;
import
hudson.slaves.ComputerListener
;
import
hudson.slaves.NodeDescriptor
;
...
...
core/src/main/java/hudson/model/Run.java
浏览文件 @
893e5c08
...
...
@@ -95,7 +95,6 @@ import java.util.Map;
import
java.util.Set
;
import
java.util.logging.Level
;
import
static
java
.
util
.
logging
.
Level
.*;
import
static
javax
.
servlet
.
http
.
HttpServletResponse
.
SC_NOT_FOUND
;
import
java.util.logging.Logger
;
import
javax.annotation.CheckForNull
;
...
...
@@ -125,7 +124,6 @@ import org.apache.commons.lang.ArrayUtils;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.HttpResponse
;
import
org.kohsuke.stapler.HttpResponses
;
import
org.kohsuke.stapler.QueryParameter
;
import
org.kohsuke.stapler.Stapler
;
import
org.kohsuke.stapler.StaplerProxy
;
...
...
core/src/main/java/hudson/model/RunParameterDefinition.java
浏览文件 @
893e5c08
...
...
@@ -23,9 +23,6 @@
*/
package
hudson.model
;
import
static
java
.
util
.
logging
.
Level
.
WARNING
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
jenkins.model.Jenkins
;
import
net.sf.json.JSONObject
;
...
...
core/src/main/java/hudson/model/TransientUserActionFactory.java
浏览文件 @
893e5c08
...
...
@@ -26,7 +26,7 @@ package hudson.model;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
hudson.ExtensionPoint
;
import
jenkins.model.Jenkins
;
import
java.util.Collection
;
import
java.util.Collections
;
...
...
core/src/main/java/hudson/model/UpdateCenter.java
浏览文件 @
893e5c08
...
...
@@ -63,7 +63,6 @@ import jenkins.RestartRequiredException;
import
jenkins.install.InstallUtil
;
import
jenkins.model.Jenkins
;
import
jenkins.util.io.OnMaster
;
import
jenkins.util.java.JavaUtils
;
import
net.sf.json.JSONObject
;
import
org.acegisecurity.Authentication
;
...
...
core/src/main/java/hudson/model/User.java
浏览文件 @
893e5c08
...
...
@@ -87,8 +87,6 @@ import org.apache.commons.lang.StringUtils;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.HttpResponses
;
import
org.kohsuke.stapler.Stapler
;
import
org.kohsuke.stapler.StaplerProxy
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
...
...
@@ -97,8 +95,6 @@ import org.kohsuke.stapler.export.ExportedBean;
import
org.kohsuke.stapler.interceptor.RequirePOST
;
import
org.springframework.dao.DataAccessException
;
import
static
javax
.
servlet
.
http
.
HttpServletResponse
.
SC_NOT_FOUND
;
/**
* Represents a user.
*
...
...
core/src/main/java/hudson/model/UserIdMigrator.java
浏览文件 @
893e5c08
...
...
@@ -29,7 +29,6 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
import
java.io.File
;
import
java.io.IOException
;
import
java.nio.file.CopyOption
;
import
java.nio.file.Files
;
import
java.nio.file.StandardCopyOption
;
import
java.util.HashMap
;
...
...
core/src/main/java/hudson/model/ViewDescriptor.java
浏览文件 @
893e5c08
...
...
@@ -27,8 +27,7 @@ import hudson.util.FormValidation;
import
hudson.views.ListViewColumn
;
import
hudson.views.ListViewColumnDescriptor
;
import
hudson.views.ViewJobFilter
;
import
java.lang.reflect.ParameterizedType
;
import
java.lang.reflect.Type
;
import
java.util.Iterator
;
import
java.util.List
;
import
javax.annotation.CheckForNull
;
...
...
@@ -36,7 +35,6 @@ import javax.annotation.Nonnull;
import
jenkins.model.DirectlyModifiableTopLevelItemGroup
;
import
jenkins.model.Jenkins
;
import
org.apache.commons.lang.StringUtils
;
import
org.jvnet.tiger_types.Types
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
import
org.kohsuke.stapler.AncestorInPath
;
...
...
core/src/main/java/hudson/model/ViewGroupMixIn.java
浏览文件 @
893e5c08
...
...
@@ -27,7 +27,7 @@ import hudson.model.ItemGroupMixIn;
import
hudson.model.View
;
import
hudson.model.ViewGroup
;
import
java.util.Locale
;
import
java.util.logging.Level
;
import
org.kohsuke.stapler.export.Exported
;
import
java.io.IOException
;
...
...
core/src/main/java/hudson/model/listeners/ItemListener.java
浏览文件 @
893e5c08
...
...
@@ -24,7 +24,6 @@
package
hudson.model.listeners
;
import
com.google.common.base.Function
;
import
hudson.AbortException
;
import
hudson.ExtensionPoint
;
import
hudson.ExtensionList
;
import
hudson.Extension
;
...
...
@@ -35,7 +34,6 @@ import hudson.model.Items;
import
hudson.security.ACL
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
org.acegisecurity.AccessDeniedException
;
/**
* Receives notifications about CRUD operations of {@link Item}.
...
...
core/src/main/java/hudson/model/listeners/RunListener.java
浏览文件 @
893e5c08
...
...
@@ -28,12 +28,10 @@ import hudson.ExtensionListView;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
hudson.FilePath
;
import
hudson.Functions
;
import
hudson.Launcher
;
import
hudson.model.AbstractBuild
;
import
hudson.model.BuildListener
;
import
hudson.model.Environment
;
import
hudson.model.Job
;
import
hudson.model.JobProperty
;
import
hudson.model.Run
;
import
hudson.model.Run.RunnerAbortedException
;
...
...
core/src/main/java/hudson/security/ACLContext.java
浏览文件 @
893e5c08
...
...
@@ -23,7 +23,6 @@
*/
package
hudson.security
;
import
javax.annotation.CheckForNull
;
import
javax.annotation.Nonnull
;
import
org.acegisecurity.Authentication
;
import
org.acegisecurity.context.SecurityContext
;
...
...
core/src/main/java/hudson/security/AuthorizationStrategy.java
浏览文件 @
893e5c08
...
...
@@ -39,7 +39,6 @@ import jenkins.model.Jenkins;
import
jenkins.security.stapler.StaplerAccessibleType
;
import
net.sf.json.JSONObject
;
import
org.acegisecurity.Authentication
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
core/src/main/java/hudson/security/BasicAuthenticationFilter.java
浏览文件 @
893e5c08
...
...
@@ -26,7 +26,6 @@ package hudson.security;
import
hudson.model.User
;
import
jenkins.model.Jenkins
;
import
hudson.util.Scrambler
;
import
jenkins.security.ApiTokenProperty
;
import
jenkins.security.SecurityListener
;
import
org.acegisecurity.Authentication
;
import
jenkins.security.BasicApiTokenHelper
;
...
...
core/src/main/java/hudson/security/GlobalSecurityConfiguration.java
浏览文件 @
893e5c08
...
...
@@ -50,7 +50,6 @@ import net.sf.json.JSONObject;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
...
...
core/src/main/java/hudson/slaves/EnvironmentVariablesNodeProperty.java
浏览文件 @
893e5c08
...
...
@@ -40,7 +40,6 @@ import java.io.IOException;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
/**
...
...
core/src/main/java/hudson/tasks/BuildStepCompatibilityLayer.java
浏览文件 @
893e5c08
...
...
@@ -31,12 +31,10 @@ import hudson.model.Action;
import
hudson.model.Project
;
import
hudson.model.AbstractBuild
;
import
hudson.model.AbstractProject
;
import
hudson.util.ReflectionUtils
;
import
hudson.Launcher
;
import
hudson.Util
;
import
java.io.IOException
;
import
java.lang.reflect.Method
;
import
java.util.Collection
;
import
java.util.Collections
;
...
...
core/src/main/java/hudson/triggers/Trigger.java
浏览文件 @
893e5c08
...
...
@@ -60,7 +60,6 @@ import antlr.ANTLRException;
import
javax.annotation.CheckForNull
;
import
javax.annotation.Nonnull
;
import
edu.umd.cs.findbugs.annotations.SuppressFBWarnings
;
import
hudson.model.Items
;
import
jenkins.model.ParameterizedJobMixIn
;
import
org.jenkinsci.Symbol
;
...
...
core/src/main/java/hudson/util/HttpResponses.java
浏览文件 @
893e5c08
...
...
@@ -29,7 +29,6 @@ import org.kohsuke.stapler.HttpResponse;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
javax.annotation.CheckForNull
;
import
javax.annotation.Nonnull
;
import
javax.servlet.ServletException
;
import
java.io.File
;
...
...
core/src/main/java/hudson/util/Iterators.java
浏览文件 @
893e5c08
...
...
@@ -33,7 +33,6 @@ import java.util.List;
import
java.util.NoSuchElementException
;
import
java.util.ListIterator
;
import
java.util.AbstractList
;
import
java.util.Arrays
;
import
java.util.Set
;
import
java.util.HashSet
;
import
javax.annotation.Nonnull
;
...
...
core/src/main/java/hudson/util/LRUStringConverter.java
浏览文件 @
893e5c08
package
hudson.util
;
import
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
;
import
com.thoughtworks.xstream.converters.basic.StringConverter
;
import
org.apache.commons.collections.map.LRUMap
;
import
java.util.Collections
;
import
java.util.HashMap
;
import
java.util.Map
;
public
class
LRUStringConverter
extends
AbstractSingleValueConverter
{
...
...
core/src/main/java/hudson/util/RobustReflectionConverter.java
浏览文件 @
893e5c08
...
...
@@ -44,7 +44,6 @@ import hudson.model.Saveable;
import
java.lang.reflect.Field
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.HashMap
;
import
java.util.HashSet
;
import
java.util.Iterator
;
...
...
core/src/main/java/hudson/util/io/RewindableFileOutputStream.java
浏览文件 @
893e5c08
...
...
@@ -25,7 +25,6 @@ package hudson.util.io;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.io.OutputStream
;
import
java.nio.file.Files
;
...
...
core/src/main/java/hudson/util/io/TarArchiver.java
浏览文件 @
893e5c08
...
...
@@ -30,7 +30,6 @@ import hudson.util.FileVisitor;
import
hudson.util.IOUtils
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStream
;
...
...
core/src/main/java/hudson/util/io/ZipArchiver.java
浏览文件 @
893e5c08
...
...
@@ -34,7 +34,6 @@ import org.apache.tools.zip.Zip64Mode;
import
org.apache.tools.zip.ZipOutputStream
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.io.OutputStream
;
...
...
core/src/main/java/hudson/widgets/BuildHistoryWidget.java
浏览文件 @
893e5c08
...
...
@@ -28,7 +28,6 @@ import hudson.model.Queue.Item;
import
hudson.model.Queue.Task
;
import
jenkins.widgets.HistoryPageFilter
;
import
java.util.Collection
;
import
java.util.LinkedList
;
import
java.util.List
;
...
...
core/src/main/java/jenkins/AgentProtocol.java
浏览文件 @
893e5c08
...
...
@@ -9,7 +9,7 @@ import java.io.IOException;
import
java.net.Socket
;
import
java.util.Set
;
import
javax.annotation.CheckForNull
;
import
javax.annotation.Nonnull
;
import
jenkins.model.Jenkins
;
/**
...
...
core/src/main/java/jenkins/PluginSubtypeMarker.java
浏览文件 @
893e5c08
...
...
@@ -43,8 +43,6 @@ import javax.tools.FileObject;
import
javax.tools.StandardLocation
;
import
java.io.IOException
;
import
java.io.OutputStreamWriter
;
import
java.io.PrintWriter
;
import
java.io.StringWriter
;
import
java.io.Writer
;
import
java.nio.charset.StandardCharsets
;
import
java.util.Set
;
...
...
core/src/main/java/jenkins/diagnosis/HsErrPidList.java
浏览文件 @
893e5c08
...
...
@@ -6,9 +6,8 @@ import hudson.Functions;
import
hudson.Util
;
import
hudson.model.AdministrativeMonitor
;
import
hudson.util.jna.Kernel32Utils
;
import
java.nio.file.Files
;
import
java.nio.file.InvalidPathException
;
import
java.nio.file.OpenOption
;
import
java.nio.file.StandardOpenOption
;
import
jenkins.model.Jenkins
;
import
jenkins.security.stapler.StaplerDispatchable
;
...
...
@@ -18,7 +17,6 @@ import org.apache.tools.ant.types.FileSet;
import
java.io.BufferedReader
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.FileReader
;
import
java.io.IOException
;
import
java.io.Reader
;
...
...
@@ -29,7 +27,7 @@ import java.util.ArrayList;
import
java.util.List
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
import
org.apache.commons.io.IOUtils
;
import
org.jenkinsci.Symbol
;
/**
...
...
core/src/main/java/jenkins/install/InstallUtil.java
浏览文件 @
893e5c08
...
...
@@ -48,7 +48,6 @@ import com.google.common.base.Function;
import
com.thoughtworks.xstream.XStream
;
import
hudson.Functions
;
import
hudson.Main
;
import
hudson.model.UpdateCenter.DownloadJob.InstallationStatus
;
import
hudson.model.UpdateCenter.DownloadJob.Installing
;
import
hudson.model.UpdateCenter.InstallationJob
;
...
...
core/src/main/java/jenkins/management/AdministrativeMonitorsDecorator.java
浏览文件 @
893e5c08
...
...
@@ -28,17 +28,13 @@ import hudson.Functions;
import
hudson.diagnosis.ReverseProxySetupMonitor
;
import
hudson.model.AdministrativeMonitor
;
import
hudson.model.PageDecorator
;
import
hudson.util.HttpResponses
;
import
hudson.util.HudsonIsLoading
;
import
hudson.util.HudsonIsRestarting
;
import
jenkins.diagnostics.URICheckEncodingMonitor
;
import
jenkins.model.Jenkins
;
import
net.sf.json.JSON
;
import
net.sf.json.JSONObject
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.Ancestor
;
import
org.kohsuke.stapler.HttpResponse
;
import
org.kohsuke.stapler.Stapler
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
core/src/main/java/jenkins/model/Uptime.java
浏览文件 @
893e5c08
package
jenkins.model
;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
hudson.init.InitMilestone
;
import
hudson.init.Initializer
;
...
...
core/src/main/java/jenkins/model/identity/IdentityRootAction.java
浏览文件 @
893e5c08
...
...
@@ -4,7 +4,6 @@ import hudson.Extension;
import
hudson.model.UnprotectedRootAction
;
import
java.security.MessageDigest
;
import
java.security.NoSuchAlgorithmException
;
import
java.security.interfaces.RSAPrivateKey
;
import
java.security.interfaces.RSAPublicKey
;
import
org.apache.commons.codec.Charsets
;
import
org.apache.commons.codec.binary.Base64
;
...
...
core/src/main/java/jenkins/model/queue/AsynchronousExecution.java
浏览文件 @
893e5c08
...
...
@@ -39,7 +39,6 @@ import javax.annotation.Nonnull;
import
javax.annotation.concurrent.GuardedBy
;
import
jenkins.model.Jenkins
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
/**
...
...
core/src/main/java/jenkins/scm/RunWithSCM.java
浏览文件 @
893e5c08
...
...
@@ -26,7 +26,6 @@ package jenkins.scm;
import
com.google.common.collect.ImmutableSet
;
import
hudson.model.Job
;
import
hudson.model.Queue
;
import
hudson.model.Result
;
import
hudson.model.Run
;
import
hudson.model.User
;
...
...
core/src/main/java/jenkins/security/ApiTokenProperty.java
浏览文件 @
893e5c08
...
...
@@ -50,7 +50,6 @@ import org.kohsuke.stapler.StaplerResponse;
import
java.io.IOException
;
import
java.security.SecureRandom
;
import
java.text.SimpleDateFormat
;
import
java.time.ZonedDateTime
;
import
java.time.format.DateTimeFormatter
;
import
java.util.Collection
;
...
...
core/src/main/java/jenkins/security/BasicApiTokenHelper.java
浏览文件 @
893e5c08
...
...
@@ -31,8 +31,6 @@ import org.kohsuke.accmod.Restricted;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
javax.annotation.CheckForNull
;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.Method
;
import
java.nio.charset.StandardCharsets
;
import
java.security.MessageDigest
;
...
...
core/src/main/java/jenkins/security/CryptoConfidentialKey.java
浏览文件 @
893e5c08
...
...
@@ -2,9 +2,7 @@ package jenkins.security;
import
hudson.Main
;
import
hudson.util.Secret
;
import
jenkins.model.Jenkins
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
javax.crypto.Cipher
;
...
...
core/src/main/java/jenkins/security/ImpersonatingUserDetailsService.java
浏览文件 @
893e5c08
...
...
@@ -8,8 +8,6 @@ import org.acegisecurity.userdetails.UserDetailsService;
import
org.acegisecurity.userdetails.UsernameNotFoundException
;
import
org.springframework.dao.DataAccessException
;
import
static
java
.
util
.
Collections
.*;
/**
* {@link UserDetailsService} for those {@link SecurityRealm}
* that doesn't allow query of other users.
...
...
core/src/main/java/jenkins/security/MasterToSlaveCallable.java
浏览文件 @
893e5c08
...
...
@@ -5,8 +5,6 @@ import hudson.remoting.Channel;
import
hudson.remoting.ChannelClosedException
;
import
jenkins.slaves.RemotingVersionInfo
;
import
org.jenkinsci.remoting.RoleChecker
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
/**
...
...
core/src/main/java/jenkins/security/QueueItemAuthenticatorConfiguration.java
浏览文件 @
893e5c08
...
...
@@ -6,7 +6,6 @@ import hudson.model.queue.Tasks;
import
hudson.util.DescribableList
;
import
jenkins.model.GlobalConfiguration
;
import
jenkins.model.GlobalConfigurationCategory
;
import
jenkins.model.Jenkins
;
import
net.sf.json.JSONObject
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
core/src/main/java/jenkins/security/SecurityListener.java
浏览文件 @
893e5c08
...
...
@@ -26,7 +26,6 @@ package jenkins.security;
import
hudson.ExtensionList
;
import
hudson.ExtensionPoint
;
import
hudson.security.AbstractPasswordBasedSecurityRealm
;
import
hudson.security.SecurityRealm
;
import
java.util.ArrayList
;
import
java.util.List
;
...
...
core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol.java
浏览文件 @
893e5c08
...
...
@@ -2,7 +2,6 @@ package jenkins.slaves;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
hudson.Util
;
import
hudson.model.Computer
;
import
java.io.IOException
;
import
java.net.Socket
;
...
...
@@ -10,7 +9,6 @@ import java.util.Collections;
import
java.util.logging.Logger
;
import
javax.inject.Inject
;
import
jenkins.AgentProtocol
;
import
jenkins.model.Jenkins
;
import
jenkins.security.HMACConfidentialKey
;
import
org.jenkinsci.Symbol
;
import
org.jenkinsci.remoting.engine.JnlpConnectionState
;
...
...
core/src/main/java/jenkins/slaves/JnlpSlaveAgentProtocol3.java
浏览文件 @
893e5c08
package
jenkins.slaves
;
import
edu.umd.cs.findbugs.annotations.SuppressFBWarnings
;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
hudson.Util
;
import
hudson.model.Computer
;
import
java.io.IOException
;
import
java.net.Socket
;
import
java.util.Collections
;
import
javax.inject.Inject
;
import
jenkins.AgentProtocol
;
import
jenkins.model.Jenkins
;
import
jenkins.util.SystemProperties
;
import
org.jenkinsci.Symbol
;
import
org.jenkinsci.remoting.engine.JnlpConnectionState
;
import
org.jenkinsci.remoting.engine.JnlpProtocol3Handler
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
/**
* Master-side implementation for JNLP3-connect protocol.
...
...
core/src/main/java/jenkins/telemetry/impl/StaplerDispatches.java
浏览文件 @
893e5c08
...
...
@@ -25,7 +25,6 @@ package jenkins.telemetry.impl;
import
hudson.Extension
;
import
hudson.PluginWrapper
;
import
hudson.model.UsageStatistics
;
import
hudson.util.VersionNumber
;
import
jenkins.model.Jenkins
;
import
jenkins.telemetry.Telemetry
;
...
...
core/src/main/java/jenkins/util/AntClassLoader.java
浏览文件 @
893e5c08
...
...
@@ -35,7 +35,6 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
import
java.io.ByteArrayOutputStream
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.lang.reflect.Constructor
;
...
...
core/src/main/java/jenkins/util/JSONSignatureValidator.java
浏览文件 @
893e5c08
...
...
@@ -17,7 +17,6 @@ import org.jvnet.hudson.crypto.SignatureOutputStream;
import
java.io.ByteArrayInputStream
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStreamWriter
;
...
...
core/src/main/java/jenkins/util/ProgressiveRendering.java
浏览文件 @
893e5c08
...
...
@@ -24,7 +24,6 @@
package
jenkins.util
;
import
edu.umd.cs.findbugs.annotations.SuppressFBWarnings
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.InvocationHandler
;
import
java.lang.reflect.Method
;
...
...
core/src/main/java/jenkins/util/VirtualFile.java
浏览文件 @
893e5c08
...
...
@@ -44,7 +44,6 @@ import java.net.URI;
import
java.net.URL
;
import
java.nio.file.Files
;
import
java.nio.file.InvalidPathException
;
import
java.nio.file.LinkOption
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
...
...
core/src/main/java/jenkins/util/io/FileBoolean.java
浏览文件 @
893e5c08
...
...
@@ -5,7 +5,6 @@ import java.nio.file.InvalidPathException;
import
jenkins.model.Jenkins
;
import
java.io.File
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.util.logging.Level
;
import
java.util.logging.Logger
;
...
...
core/src/main/java/jenkins/util/xml/XMLUtils.java
浏览文件 @
893e5c08
...
...
@@ -4,7 +4,6 @@ import java.io.InputStream;
import
java.nio.file.Files
;
import
java.nio.file.InvalidPathException
;
import
jenkins.util.SystemProperties
;
import
org.apache.commons.io.IOUtils
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.w3c.dom.Document
;
...
...
@@ -14,7 +13,6 @@ import org.xml.sax.XMLReader;
import
org.xml.sax.helpers.XMLReaderFactory
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.io.InputStreamReader
;
import
java.io.Reader
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录