CST-12144 checkstyle!

This commit is contained in:
frabacche
2023-10-11 16:08:38 +02:00
parent 9b4fc38b61
commit 2383266633
3 changed files with 7 additions and 7 deletions

View File

@@ -7,10 +7,7 @@
*/
package org.dspace.app.ldn.action;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.Set;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@@ -51,7 +48,7 @@ public class LDNCorrectionAction implements LDNAction {
return result;
}
public String getQaEventTopic() {
return qaEventTopic;
}

View File

@@ -457,7 +457,8 @@ public class QAEventServiceImpl implements QAEventService {
}
private String[] getSupportedSources() {
return configurationService.getArrayProperty("qaevent.sources", new String[] { QAEvent.OPENAIRE_SOURCE, QAEvent.COAR_NOTIFY });
return configurationService.getArrayProperty("qaevent.sources",
new String[] { QAEvent.OPENAIRE_SOURCE, QAEvent.COAR_NOTIFY });
}
}

View File

@@ -49,7 +49,8 @@ public final class NotifyServicePatchUtils {
try {
if (operation.getValue() != null) {
if (operation.getValue() instanceof JsonValueEvaluator) {
inboundPattern = objectMapper.readValue(((JsonValueEvaluator) operation.getValue()).getValueNode().toString(),
inboundPattern = objectMapper.readValue(
((JsonValueEvaluator) operation.getValue()).getValueNode().toString(),
NotifyServiceInboundPattern.class);
}
}
@@ -75,7 +76,8 @@ public final class NotifyServicePatchUtils {
try {
if (operation.getValue() != null) {
if (operation.getValue() instanceof JsonValueEvaluator) {
outboundPattern = objectMapper.readValue(((JsonValueEvaluator) operation.getValue()).getValueNode().toString(),
outboundPattern = objectMapper.readValue(
((JsonValueEvaluator) operation.getValue()).getValueNode().toString(),
NotifyServiceOutboundPattern.class);
}
}