Cleaning comments

This commit is contained in:
Katerina 2024-06-28 13:17:55 +03:00
parent 54251e0124
commit 78831f387d
4 changed files with 8 additions and 43 deletions

View File

@ -68,14 +68,6 @@ public class ReportController {
public List<SummaryResult> getSummaryFromDB(@RequestParam(name = "jobId") int jobId,
@RequestParam(name= "guidelines", required = false) Optional<String> guidelines) {
List<SummaryResult> srlist = summaryValidationJobRepository.findByValidationJobIdOrderByRuleName(jobId);
/* SummaryResult sr = new SummaryResult();
sr.setValidationJobId(jobId);
sr.setRule_name("Access Rights");
System.out.println("\n>>" + summaryValidationJobRepository.findAll());*/
/* for (SummaryResult sr:srlist) {
System.out.println(sr);
}*/
return srlist;
}

View File

@ -1,35 +0,0 @@
package eu.dnetlib.validatorapi.utils;
import org.apache.camel.AggregationStrategy;
import org.apache.camel.Exchange;
public class ListSetAggregationStrategy implements AggregationStrategy {
public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
if (oldExchange == null) {
return newExchange;
}
String oldBody = oldExchange.getIn().getBody(String.class);
String newBody = newExchange.getIn().getBody(String.class);
oldExchange.getIn().setBody(oldBody + newBody);
return oldExchange;
}
/* public Exchange aggregate(Exchange oldExchange, Exchange newExchange) {
if (oldExchange == null) {
newExchange.getIn().setBody("skata", String.class);
return newExchange;
}
oldExchange.getIn().setBody("skatakia", String.class);
String oldBody = oldExchange.getIn().getBody(String.class);
String newBody = newExchange.getIn().getBody(String.class);
oldExchange.getIn().setBody(oldBody + newBody);
return oldExchange;
}*/
}

View File

@ -0,0 +1,4 @@
package eu.dnetlib.validatorapi.utils;
public class PrefixInitializer {
}

View File

@ -0,0 +1,4 @@
package eu.dnetlib.validatorapi.utils;
public class ProfileInitializer {
}