Skip to content

Commit

Permalink
newer log4j version
Browse files Browse the repository at this point in the history
  • Loading branch information
anneferger committed Aug 16, 2022
1 parent ae3386e commit 2e66dc9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
10 changes: 2 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.edirom.meigarage</groupId>
<artifactId>mei-validator</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>

<name>MEI Validator</name>
<properties>
Expand Down Expand Up @@ -109,16 +109,10 @@
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>pl.psnc.dl.ege</groupId>
<artifactId>ege-api</artifactId>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>pl.psnc.dl.ege</groupId>
<artifactId>ege-framework</artifactId>
<version>0.5</version>
<version>0.5.1</version>
<scope>compile</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.thaiopensource/jing -->
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/de/edirom/meigarage/MEIValidator.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package de.edirom.meigarage;

import de.edirom.meigarage.xml.XmlValidator;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.jdom2.JDOMException;
import org.xml.sax.SAXParseException;
import pl.psnc.dl.ege.component.Validator;
Expand All @@ -25,7 +26,7 @@
*/
public class MEIValidator implements Validator {

private static final Logger LOGGER = Logger.getLogger(MEIValidator.class);
private static final Logger LOGGER = LogManager.getLogger(MEIValidator.class);

private static final XmlValidatorsProvider provider = XmlValidatorsProvider
.getInstance();
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/de/edirom/meigarage/XmlValidatorsProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

import de.edirom.meigarage.xml.RNGValidator;
import de.edirom.meigarage.xml.XmlValidator;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
Expand All @@ -25,7 +26,7 @@
*/
public class XmlValidatorsProvider extends DefaultHandler {

private static final Logger logger = Logger
private static final Logger logger = LogManager
.getLogger(XmlValidatorsProvider.class);

public static final String T_VALIDATOR = "validator";
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/de/edirom/meigarage/xml/RNGValidator.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package de.edirom.meigarage.xml;

import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;

Expand All @@ -17,7 +18,7 @@

public class RNGValidator implements XmlValidator {

private static final Logger LOGGER = Logger.getLogger(RNGValidator.class);
private static final Logger LOGGER = LogManager.getLogger(RNGValidator.class);

private final String schemeUrl;

Expand Down

0 comments on commit 2e66dc9

Please sign in to comment.