Cleaning.

This commit is contained in:
Christian P. MOMON 2010-08-07 23:56:08 +02:00
parent 78ec0b739f
commit ceff96ebc4

View file

@ -1,11 +1,25 @@
package fr.devinsy.xid; package fr.devinsy.xid;
import java.util.*;
import java.io.*; import java.io.File;
import javax.xml.parsers.*; import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.Writer;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.validation.Schema; import javax.xml.validation.Schema;
import org.xml.sax.*; import org.w3c.dom.Attr;
import org.w3c.dom.*; import org.w3c.dom.Document;
import org.w3c.dom.DocumentType;
import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
/** /**
@ -302,15 +316,7 @@ public class Presenter
{ {
IdData data = (IdData) dataCore; IdData data = (IdData) dataCore;
String theClass; String theClass = data.getAttributes ().getAttribute ("class");
if (data == null)
{
theClass = null;
}
else
{
theClass = data.getAttributes ().getAttribute ("class");
}
if ((theClass == null) || if ((theClass == null) ||
(!theClass.equals ("xid:nodisplay"))) (!theClass.equals ("xid:nodisplay")))
@ -809,7 +815,7 @@ public class Presenter
// //
return (result); return (result);//import javax.xml.parsers.*;
} }