Clean code.
This commit is contained in:
parent
6f764e7a29
commit
569c316648
1 changed files with 1 additions and 5 deletions
|
@ -20,15 +20,12 @@ import org.w3c.dom.Node;
|
||||||
import org.w3c.dom.NodeList;
|
import org.w3c.dom.NodeList;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
import fr.devinsy.xidyn.presenters.DomPresenterCore;
|
|
||||||
import fr.devinsy.xidyn.presenters.ParserErrorHandler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class XidynUtils
|
public class XidynUtils
|
||||||
{
|
{
|
||||||
static private final Logger logger = LoggerFactory.getLogger(DomPresenterCore.class);
|
static private final Logger logger = LoggerFactory.getLogger(XidynUtils.class);
|
||||||
private static final Pattern BODY_PATTERN = Pattern.compile("^.*<[bB][oO][dD][yY]>\\s*(.*\\S)\\s*</[bB][oO][dD][yY]>.*$");
|
private static final Pattern BODY_PATTERN = Pattern.compile("^.*<[bB][oO][dD][yY]>\\s*(.*\\S)\\s*</[bB][oO][dD][yY]>.*$");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -85,7 +82,6 @@ public class XidynUtils
|
||||||
db.setErrorHandler(errorHandler);
|
db.setErrorHandler(errorHandler);
|
||||||
|
|
||||||
Schema schema = db.getSchema();
|
Schema schema = db.getSchema();
|
||||||
|
|
||||||
logger.debug("schema=" + schema);
|
logger.debug("schema=" + schema);
|
||||||
|
|
||||||
// Parse the input file.
|
// Parse the input file.
|
||||||
|
|
Loading…
Reference in a new issue