提交 abef8b52 编写于 作者: H huybrechts

[FIXED HUDSON-3014] case-insensitive sorting for node names

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15513 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e73b940f
......@@ -1012,7 +1012,7 @@ public final class Hudson extends Node implements ItemGroup<TopLevelItem>, Stapl
public int compare(Computer lhs, Computer rhs) {
if(lhs.getNode()==Hudson.this) return -1;
if(rhs.getNode()==Hudson.this) return 1;
return lhs.getDisplayName().compareTo(rhs.getDisplayName());
return lhs.getDisplayName().toUpperCase().compareTo(rhs.getDisplayName().toUpperCase());
}
});
return r;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册