Clean code.

This commit is contained in:
Christian P. MOMON 2013-08-02 16:32:31 +02:00
parent 6f764e7a29
commit 569c316648

View file

@ -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.