mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-06 00:25:58 +00:00
don't let the local variable hide the field.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19739 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
ad24b7e072
commit
2390f683b4
1 file changed
+2
-2
@@ -187,8 +187,8 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
|
||||
private void fix(Attributes atts, List<PluginWrapper.Dependency> optionalDependencies) {
|
||||
// don't fix the dependency for yourself, or else we'll have a cycle
|
||||
String shortName = atts.getValue("Short-Name");
|
||||
if (this.shortName.equals(shortName)) return;
|
||||
String yourName = atts.getValue("Short-Name");
|
||||
if (shortName.equals(yourName)) return;
|
||||
|
||||
// some earlier versions of maven-hpi-plugin apparently puts "null" as a literal in Hudson-Version. watch out for them.
|
||||
String hudsonVersion = atts.getValue("Hudson-Version");
|
||||
|
||||
Reference in new issue
Block a user