提交 434a1091 编写于 作者: D dty

PluginWrapper.getLongName() was using the wrong property name to get the plugin

long name from the manifest file. Change "Long-PluginName" to "Long-Name" to
match manifest contents.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13658 71c3de6d-444a-0410-be80-ed276b4c234a
上级 5ce67c3b
......@@ -210,7 +210,7 @@ public final class PluginWrapper {
* Returns a one-line descriptive name of this plugin.
*/
public String getLongName() {
String name = manifest.getMainAttributes().getValue("Long-PluginName");
String name = manifest.getMainAttributes().getValue("Long-Name");
if(name!=null) return name;
return shortName;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册