Skip to content

Commit

Permalink
Remove unused variable (attemptsToRepeat).
Browse files Browse the repository at this point in the history
  • Loading branch information
buitiin committed Aug 16, 2018
1 parent cf0fa60 commit b87a098
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ public class JobConfigData {

private String sonarInstanceName;

private int attemptsToRepeat;

private BuildStatusEnum buildStatus;

public String getProjectKey() {
Expand All @@ -28,14 +26,6 @@ public void setSonarInstanceName(String sonarInstanceName) {
this.sonarInstanceName = sonarInstanceName;
}

public int getAttemptsToRepeat() {
return attemptsToRepeat;
}

public void setAttemptsToRepeat(int attemptsToRepeat) {
this.attemptsToRepeat = attemptsToRepeat;
}

public BuildStatusEnum getBuildStatus() {
return buildStatus;
}
Expand Down Expand Up @@ -74,8 +64,7 @@ public int hashCode() {
public String toString() {
return "JobConfigData{" +
"projectKey='" + projectKey + '\'' +
", sonarInstanceName='" + sonarInstanceName + '\'' +
", attemptsToRepeat=" + attemptsToRepeat +
", sonarInstanceName='" + sonarInstanceName +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public QualityGatesStatus getAPIResultsForQualityGates(JobConfigData jobConfigDa

boolean taskAnalysisRunning = true;

int attemptsToRepeat = jobConfigData.getAttemptsToRepeat();
int timeToWait = globalConfigDataForSonarInstance.getTimeToWait();
int maxWaitTime = globalConfigDataForSonarInstance.getMaxWaitTime();

Expand Down

0 comments on commit b87a098

Please sign in to comment.