Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rvema committed Apr 20, 2021
1 parent 0ec690a commit 4298784
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ protected String getAuditAPIUrl(Dashboard dashboard, AuditSettings settings, lon
} catch (URISyntaxException e) {
return null;
}
//auditURI.setPath(settings.getServers().get(0) + HYGIEIA_AUDIT_URL);
auditURI.addParameter(AUDIT_PARAMS.title.name(), dashboard.getTitle());
auditURI.addParameter(AUDIT_PARAMS.businessService.name(), dashboard.getConfigurationItemBusServName());
auditURI.addParameter(AUDIT_PARAMS.businessApplication.name(), dashboard.getConfigurationItemBusAppName());
Expand Down Expand Up @@ -790,7 +789,6 @@ private Double getAvgTracePercent(Stream stream) {
protected CollectorItem createCollectorItem(AuditType auditType){
String description = getDescription(auditType);
Pageable pageable = new PageRequest(0, 25);
// Iterable<CollectorItem> collectorItems = collectorItemRepository.findByDescription(description);
Page<CollectorItem> collectorItems = collectorItemRepository.findByCollectorIdAndSearchField(Collections.singletonList(collector.getId()),
OPT_OPT_URL, description, pageable);
Optional<CollectorItem> optCollectorItem = Optional.ofNullable(collectorItems.iterator().hasNext() ? collectorItems.iterator().next() : null);
Expand Down

0 comments on commit 4298784

Please sign in to comment.