Skip to content

Commit

Permalink
[FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alph…
Browse files Browse the repository at this point in the history
…anumeric order on reload
  • Loading branch information
abayer committed Aug 6, 2012
1 parent ce35c26 commit 3bfeda4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog.html
Expand Up @@ -55,7 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
Matrix configuration axes are no longer automatically re-ordered to alphanumeric order on reload.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-14696">issue 14696</a>)
</ul>
</div><!--=TRUNK-END=-->

Expand Down
1 change: 0 additions & 1 deletion core/src/main/java/hudson/matrix/MatrixProject.java
Expand Up @@ -466,7 +466,6 @@ public void onCreatedFromScratch() {
@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
super.onLoad(parent,name);
Collections.sort(axes); // perhaps the file was edited on disk and the sort order might have been broken
builders.setOwner(this);
publishers.setOwner(this);
buildWrappers.setOwner(this);
Expand Down

0 comments on commit 3bfeda4

Please sign in to comment.