Skip to content

Commit

Permalink
[FIXED JENKINS-18930] Missing TestResultColumn() constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
fredg02 committed Jul 25, 2013
1 parent 16cea97 commit 15c3a25
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
Expand Up @@ -37,6 +37,7 @@ public class ConfigureProjectColumn extends ListViewColumn {

@DataBoundConstructor
public ConfigureProjectColumn() {
super();
}

public boolean isVersion1430(){
Expand Down
Expand Up @@ -35,7 +35,7 @@ public class DescriptionColumn extends ListViewColumn {

private boolean displayName;
private boolean trim;
private int displayLength;
private int displayLength; //numbers of lines to display

private final static String SEPARATOR = "<br/>";
private final static String SEPARATORS_REGEX = "(?i)<br\\s*/>|<br>";
Expand All @@ -48,6 +48,10 @@ public DescriptionColumn(boolean displayName, boolean trim, int displayLength) {
this.displayLength = displayLength;
}

public DescriptionColumn() {
this(false, false, 1);
}

public boolean isDisplayName() {
return displayName;
}
Expand Down
Expand Up @@ -40,6 +40,10 @@ public DisableProjectColumn(boolean useIcon) {
this.useIcon = useIcon;
}

public DisableProjectColumn() {
this(false);
}

public boolean useIcon(){
return useIcon;
}
Expand Down
Expand Up @@ -34,6 +34,7 @@ public class LastBuildConsoleColumn extends ListViewColumn {

@DataBoundConstructor
public LastBuildConsoleColumn() {
super();
}


Expand Down
Expand Up @@ -32,14 +32,18 @@

public class TestResultColumn extends ListViewColumn {

private int testResultFormat;
private int testResultFormat = 0;

@DataBoundConstructor
public TestResultColumn(int testResultFormat) {
super();
this.testResultFormat = testResultFormat;
}


public TestResultColumn() {
this(0);
}

public int getTestResultFormat(){
return testResultFormat;
}
Expand Down

0 comments on commit 15c3a25

Please sign in to comment.