Skip to content

Commit

Permalink
src: java: show axis in table format even if there's only one value
Browse files Browse the repository at this point in the history
User-defined Axis的配置,总是显示为表格的形式,就算只有一组值也显示为一个表格。
from jenkinsci#29
  • Loading branch information
Mamh-Linux authored and Mamh-linux committed Jul 18, 2020
1 parent f88877b commit 50cce83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/matrix/Layouter.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Layouter(AxisList axisList) {

List<Axis> nonTrivialAxes = new ArrayList<Axis>();
for (Axis a : axisList) {
if(a.size()>1)
if(a.size()>=1)
nonTrivialAxes.add(a);
else
trivial.add(a);
Expand Down

0 comments on commit 50cce83

Please sign in to comment.