RED-7834: fixes for migration
* remove color * fix manualChangeOverwrite * fix checkstyle * fix pmd
This commit is contained in:
parent
9d876a32ce
commit
d6a73a7285
@ -15,6 +15,7 @@ import com.iqser.red.service.persistence.service.v1.api.shared.model.redactionlo
|
||||
import lombok.SneakyThrows;
|
||||
|
||||
@Service
|
||||
@SuppressWarnings("PMD")
|
||||
public class LegacyVersion0MigrationService {
|
||||
|
||||
public RedactionLog mergeDuplicateAnnotationIds(RedactionLog redactionLog) {
|
||||
|
||||
@ -26,6 +26,7 @@ import com.knecon.fforesight.utility.rules.management.utils.RuleFileIO;
|
||||
|
||||
import lombok.SneakyThrows;
|
||||
|
||||
@SuppressWarnings("PMD")
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
@ -150,6 +151,7 @@ public class Main {
|
||||
.collect(Collectors.toMap(file -> getRelativizedPath(inputDirectory, file), RuleFileParser::parseRuleIdentifiersFromFile));
|
||||
}
|
||||
|
||||
|
||||
private static ApplicationType getApplicationType(final CommandLine cmd) {
|
||||
|
||||
String application = cmd.hasOption("a") ? cmd.getOptionValue("a") : "RM";
|
||||
|
||||
@ -9,6 +9,7 @@ import com.knecon.fforesight.utility.rules.management.models.ApplicationType;
|
||||
|
||||
import lombok.SneakyThrows;
|
||||
|
||||
@SuppressWarnings("PMD")
|
||||
public class RuleManagementResources {
|
||||
|
||||
public static InputStream getAllRulesInputStream(ApplicationType applicationType) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user