diff options
author | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-05-05 15:29:01 +0000 |
---|---|---|
committer | mcentner <mcentner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-05-05 15:29:01 +0000 |
commit | b1c8641a63a67e3c64d948f9e8dce5c01e11e2dd (patch) | |
tree | 0883f08a408f89f758e9a1be629232e3dd055c3a /BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml | |
parent | 83a9b613836910f7edc370c2fe60fa2268dc4461 (diff) | |
download | mocca-b1c8641a63a67e3c64d948f9e8dce5c01e11e2dd.tar.gz mocca-b1c8641a63a67e3c64d948f9e8dce5c01e11e2dd.tar.bz2 mocca-b1c8641a63a67e3c64d948f9e8dce5c01e11e2dd.zip |
Merged feature branch mocca-1.2.13-id@r724 back to trunk.
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@725 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml')
-rw-r--r-- | BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml/SLXHTMLValidator.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml/SLXHTMLValidator.java b/BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml/SLXHTMLValidator.java index a230afa6..0ed34d07 100644 --- a/BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml/SLXHTMLValidator.java +++ b/BKUViewer/src/main/java/at/gv/egiz/bku/slxhtml/SLXHTMLValidator.java @@ -34,8 +34,8 @@ import javax.xml.validation.Schema; import javax.xml.validation.SchemaFactory; import javax.xml.validation.ValidatorHandler; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import org.xml.sax.Attributes; import org.xml.sax.ContentHandler; import org.xml.sax.InputSource; @@ -78,7 +78,7 @@ public class SLXHTMLValidator implements at.gv.egiz.bku.viewer.Validator { /** * Logging facility. */ - private static Log log = LogFactory.getLog(SLXHTMLValidator.class); + private static Logger log = LoggerFactory.getLogger(SLXHTMLValidator.class); private static Schema slSchema; @@ -91,11 +91,11 @@ public class SLXHTMLValidator implements at.gv.egiz.bku.viewer.Validator { SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI); ClassLoader cl = SLXHTMLValidator.class.getClassLoader(); URL schemaURL = cl.getResource(SLXHTML_SCHEMA_FILE); - log.debug("Trying to create SLXHTML schema from URL '" + schemaURL + "'."); + log.debug("Trying to create SLXHTML schema from URL '{}'.", schemaURL); long t0 = System.currentTimeMillis(); slSchema = schemaFactory.newSchema(schemaURL); long t1 = System.currentTimeMillis(); - log.debug("SLXHTML schema successfully created in " + (t1 - t0) + "ms."); + log.debug("SLXHTML schema successfully created in {}ms.", (t1 - t0)); } catch (SAXException e) { log.error("Failed to load security layer XHTML schema.", e); throw new RuntimeException("Failed to load security layer XHTML schema.", e); |