From a9be16e25ef6b1e4de66dab84689dfb1ea3d3e20 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Tue, 15 Nov 2011 21:18:55 -0800 Subject: [PATCH] Cosmetic change --- core/src/main/java/hudson/ExtensionFinder.java | 12 ++++++------ .../java/hudson/cli/declarative/CLIRegisterer.java | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/hudson/ExtensionFinder.java b/core/src/main/java/hudson/ExtensionFinder.java index 9ac27f9892f7..b91b5c01f85a 100644 --- a/core/src/main/java/hudson/ExtensionFinder.java +++ b/core/src/main/java/hudson/ExtensionFinder.java @@ -108,7 +108,7 @@ public boolean isRefreshable() { *

* The behaviour is undefined if {@link #isRefreshable()} is returning false. * - * @since 1.DynamicExtensionFinder. + * @since 1.DynamicExtensionFinder * @see #isRefreshable() * @return never null */ @@ -130,14 +130,14 @@ public boolean isRefreshable() { * The type of the extension points. This is not bound to {@link ExtensionPoint} because * of {@link Descriptor}, which by itself doesn't implement {@link ExtensionPoint} for * a historical reason. - * @param hudson - * Hudson whose behalf this extension finder is performing lookup. + * @param jenkins + * Jenkins whose behalf this extension finder is performing lookup. * @return * Can be empty but never null. * @since 1.356 * Older implementations provide {@link #findExtensions(Class,Hudson)} */ - public abstract Collection> find(Class type, Hudson hudson); + public abstract Collection> find(Class type, Hudson jenkins); /** * A pointless function to work around what appears to be a HotSpot problem. See JENKINS-5756 and bug 6933067 @@ -320,7 +320,7 @@ private Object instantiate(IndexItem item) { return null; } - public Collection> find(Class type, Hudson hudson) { + public Collection> find(Class type, Hudson jenkins) { // the find method contract requires us to traverse all known components List> result = new ArrayList>(); for (Injector i=container; i!=null; i=i.getParent()) { @@ -532,7 +532,7 @@ static List> listDelta(Class anno return delta; } - public Collection> find(Class type, Hudson hudson) { + public Collection> find(Class type, Hudson jenkins) { return _find(type,getIndices()); } diff --git a/core/src/main/java/hudson/cli/declarative/CLIRegisterer.java b/core/src/main/java/hudson/cli/declarative/CLIRegisterer.java index fde6c095eb1d..c7908ea199c2 100644 --- a/core/src/main/java/hudson/cli/declarative/CLIRegisterer.java +++ b/core/src/main/java/hudson/cli/declarative/CLIRegisterer.java @@ -72,9 +72,9 @@ public ExtensionComponentSet refresh() throws ExtensionRefreshException { return ExtensionComponentSet.EMPTY; } - public Collection> find(Class type, Hudson hudson) { + public Collection> find(Class type, Hudson jenkins) { if (type==CLICommand.class) - return (List)discover(hudson); + return (List)discover(jenkins); else return Collections.emptyList(); }