提交 2390f683 编写于 作者: K kohsuke

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
上级 ad24b7e0
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册