mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
21-FixVerboseOrRedundantCodeConstructs#1
This commit is contained in:
parent
12905e116b
commit
852f69f748
5 changed files with 11 additions and 21 deletions
|
|
@ -46,6 +46,7 @@ import static org.apache.commons.lang3.StringUtils.isNotEmpty;
|
|||
*
|
||||
* @author Andreas Penski
|
||||
*/
|
||||
@Getter
|
||||
@Slf4j
|
||||
public class InputFactory {
|
||||
|
||||
|
|
@ -58,7 +59,6 @@ public class InputFactory {
|
|||
|
||||
private static final String MESSAGE_OPEN_STREAM_ERROR = "Can not open stream from";
|
||||
|
||||
@Getter
|
||||
private final String algorithm;
|
||||
|
||||
InputFactory() {
|
||||
|
|
|
|||
|
|
@ -68,8 +68,14 @@ public class ContentRepository {
|
|||
|
||||
private final URI repository;
|
||||
|
||||
/**
|
||||
* -- GETTER -- Returns the to use for resolving xml artifacts.
|
||||
*
|
||||
*/
|
||||
@Getter
|
||||
private final URIResolver resolver;
|
||||
|
||||
@Getter
|
||||
private final UnparsedTextURIResolver unparsedTextURIResolver;
|
||||
|
||||
private final SchemaFactory schemaFactory;
|
||||
|
|
@ -216,19 +222,6 @@ public class ContentRepository {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the {@link URIResolver} to use for resolving xml artifacts.
|
||||
*
|
||||
* @return the resolver
|
||||
*/
|
||||
public URIResolver getResolver() {
|
||||
return this.resolver;
|
||||
}
|
||||
|
||||
public UnparsedTextURIResolver getUnparsedTextURIResolver() {
|
||||
return this.unparsedTextURIResolver;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gibt eine Transformation zurück.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -55,19 +55,16 @@ import static de.kosit.validationtool.impl.DateFactory.createTimestamp;
|
|||
*
|
||||
* @author Andreas Penski
|
||||
*/
|
||||
@Getter
|
||||
@Slf4j
|
||||
public class DefaultCheck implements Check {
|
||||
|
||||
@Getter
|
||||
private final ConversionService conversionService;
|
||||
|
||||
@Getter
|
||||
private final List<Configuration> configuration;
|
||||
|
||||
@Getter
|
||||
private final List<CheckAction> checkSteps;
|
||||
|
||||
@Getter
|
||||
private final Processor processor;
|
||||
|
||||
public DefaultCheck(final Configuration... configuration) {
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ import lombok.RequiredArgsConstructor;
|
|||
*
|
||||
* @author Andreas Penski
|
||||
*/
|
||||
@Getter
|
||||
@RequiredArgsConstructor
|
||||
public enum ResolvingMode {
|
||||
|
||||
|
|
@ -46,7 +47,6 @@ public enum ResolvingMode {
|
|||
@SuppressWarnings("unused")
|
||||
CUSTOM(null);
|
||||
|
||||
@Getter
|
||||
private final ResolvingConfigurationStrategy strategy;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@ public class CommandLine {
|
|||
*
|
||||
* @param <O> Typ des eigentlichen {@link OutputStream}
|
||||
*/
|
||||
@Setter
|
||||
@Getter
|
||||
private static class ReplaceableOutputStream<O extends OutputStream> extends OutputStream {
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private O out;
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue