diff --git a/pom.xml b/pom.xml index ab51b8e..022da02 100644 --- a/pom.xml +++ b/pom.xml @@ -145,6 +145,18 @@ + + maven-clean-plugin + 3.1.0 + + + + src/generated/java + false + + + + org.apache.maven.plugins maven-enforcer-plugin diff --git a/src/generated/java/de/kosit/validationtool/model/daemon/ObjectFactory.java b/src/generated/java/de/kosit/validationtool/model/daemon/ObjectFactory.java index 548fd2d..b5a58c5 100644 --- a/src/generated/java/de/kosit/validationtool/model/daemon/ObjectFactory.java +++ b/src/generated/java/de/kosit/validationtool/model/daemon/ObjectFactory.java @@ -2,7 +2,7 @@ // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 generiert // Siehe https://javaee.github.io/jaxb-v2/ // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. -// Generiert: 2020.04.29 um 03:45:08 PM CEST +// Generiert: 2020.04.29 um 05:05:04 PM CEST // @@ -15,17 +15,13 @@ import javax.xml.namespace.QName; /** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the de.xoev.de.validator.framework._1.daemon package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. + * This object contains factory methods for each Java content interface and Java element interface generated in the + * de.kosit.validationtool.model.daemon package. + *

+ * An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. + * The Java representation of XML content can consist of schema derived interfaces and classes representing the binding + * of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in + * this class. * */ @XmlRegistry @@ -34,7 +30,8 @@ public class ObjectFactory { private final static QName _Health_QNAME = new QName("http://www.xoev.de/de/validator/framework/1/daemon", "health"); /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: de.xoev.de.validator.framework._1.daemon + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: + * de.kosit.validationtool.model.daemon * */ public ObjectFactory() { @@ -44,7 +41,7 @@ public class ObjectFactory { * Create an instance of {@link HealthType } * */ - public static HealthType createHealthType() { + public HealthType createHealthType() { return new HealthType(); } @@ -52,7 +49,7 @@ public class ObjectFactory { * Create an instance of {@link ApplicationType } * */ - public static ApplicationType createApplicationType() { + public ApplicationType createApplicationType() { return new ApplicationType(); } @@ -60,7 +57,7 @@ public class ObjectFactory { * Create an instance of {@link MemoryType } * */ - public static MemoryType createMemoryType() { + public MemoryType createMemoryType() { return new MemoryType(); } @@ -73,7 +70,7 @@ public class ObjectFactory { * the new instance of {@link JAXBElement }{@code <}{@link HealthType }{@code >} */ @XmlElementDecl(namespace = "http://www.xoev.de/de/validator/framework/1/daemon", name = "health") - public static JAXBElement createHealth(final HealthType value) { + public JAXBElement createHealth(HealthType value) { return new JAXBElement(_Health_QNAME, HealthType.class, null, value); } diff --git a/src/main/java/de/kosit/validationtool/config/DefaultConfiguration.java b/src/main/java/de/kosit/validationtool/config/DefaultConfiguration.java index 1af8820..830f86b 100644 --- a/src/main/java/de/kosit/validationtool/config/DefaultConfiguration.java +++ b/src/main/java/de/kosit/validationtool/config/DefaultConfiguration.java @@ -36,5 +36,5 @@ public class DefaultConfiguration implements Configuration { private String date; - public Map additionalParameters; + private Map additionalParameters; } diff --git a/src/main/java/de/kosit/validationtool/impl/input/SourceInput.java b/src/main/java/de/kosit/validationtool/impl/input/SourceInput.java index 8cc4a3d..f11e65f 100644 --- a/src/main/java/de/kosit/validationtool/impl/input/SourceInput.java +++ b/src/main/java/de/kosit/validationtool/impl/input/SourceInput.java @@ -75,6 +75,7 @@ public class SourceInput extends AbstractInput { return (ss.getInputStream() != null && ss.getInputStream().available() == 0) || (ss.getReader() != null && !ss.getReader().ready()); } catch (final IOException e) { + log.error("Error checking consumed state", e); return true; } }