Skip to content

Commit

Permalink
RAP-121 Address sonar feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
QuyenLy87 committed Jan 10, 2025
1 parent f75c875 commit 972c4f1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.ihtsdo.buildcloud.core.service.build.compare.DefaultComponentComparisonReport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.ihtsdo.buildcloud.core.service.build.compare.DefaultComponentComparisonReport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ public class RVFReportComparison extends ComponentComparison {

public static final String REPORTS = "reports";

private final String releaseValidationFrameworkUrl;

public RVFReportComparison() {
this.releaseValidationFrameworkUrl = null;
}
private String releaseValidationFrameworkUrl;

public RVFReportComparison(String releaseValidationFrameworkUrl) {
public RVFReportComparison(@Value("${rvf.url}") String releaseValidationFrameworkUrl) {
this.releaseValidationFrameworkUrl = releaseValidationFrameworkUrl;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.ihtsdo.otf.rest.exception.ResourceNotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StreamUtils;

Expand Down

0 comments on commit 972c4f1

Please sign in to comment.