mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 04:25:23 +00:00
Add @Override annotations, remove unused imports,
add some copyright headers, some tab->ws git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21654 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
7c2d1e9455
commit
9fed9823f5
142 files changed
+571
-250
No files matched your search
@@ -102,14 +102,14 @@ public final class PluginWrapper {
|
||||
*/
|
||||
private final String shortName;
|
||||
|
||||
/**
|
||||
/**
|
||||
* True if this plugin is activated for this session.
|
||||
* The snapshot of <tt>disableFile.exists()</tt> as of the start up.
|
||||
*/
|
||||
private final boolean active;
|
||||
|
||||
private final List<Dependency> dependencies;
|
||||
private final List<Dependency> optionalDependencies;
|
||||
private final List<Dependency> optionalDependencies;
|
||||
|
||||
static final class Dependency {
|
||||
public final String shortName;
|
||||
@@ -202,12 +202,12 @@ public final class PluginWrapper {
|
||||
}
|
||||
|
||||
public List<Dependency> getDependencies() {
|
||||
return dependencies;
|
||||
}
|
||||
return dependencies;
|
||||
}
|
||||
|
||||
public List<Dependency> getOptionalDependencies() {
|
||||
return optionalDependencies;
|
||||
}
|
||||
public List<Dependency> getOptionalDependencies() {
|
||||
return optionalDependencies;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
@@ -326,17 +326,17 @@ public final class PluginWrapper {
|
||||
}
|
||||
|
||||
public Manifest getManifest() {
|
||||
return manifest;
|
||||
}
|
||||
return manifest;
|
||||
}
|
||||
|
||||
public void setPlugin(Plugin plugin) {
|
||||
this.plugin = plugin;
|
||||
plugin.wrapper = this;
|
||||
}
|
||||
|
||||
public String getPluginClass() {
|
||||
return manifest.getMainAttributes().getValue("Plugin-Class");
|
||||
}
|
||||
public void setPlugin(Plugin plugin) {
|
||||
this.plugin = plugin;
|
||||
plugin.wrapper = this;
|
||||
}
|
||||
|
||||
public String getPluginClass() {
|
||||
return manifest.getMainAttributes().getValue("Plugin-Class");
|
||||
}
|
||||
|
||||
/**
|
||||
* If the plugin has {@link #getUpdateInfo() an update},
|
||||
|
||||
Reference in new issue
Block a user