Commits

Sam Adams  committed 39c96f9

Tidying up imports

  • Participants
  • Parent commits 8668c16

Comments (0)

Files changed (4)

File chemistry-common/src/main/java/net/chempound/chemistry/CmlRdfUtils.java

 import com.hp.hpl.jena.rdf.model.RDFNode;
 import com.hp.hpl.jena.rdf.model.Resource;
 import com.hp.hpl.jena.vocabulary.RDF;
+import net.chempound.rdf.cml.CmlRdf;
 import org.joda.time.DateTime;
 import org.xmlcml.cml.base.CMLElement;
 import org.xmlcml.cml.element.CMLScalar;
 import org.xmlcml.cml.interfacex.HasDictRef;
-import net.chempound.rdf.cml.CmlRdf;
 
 /**
  * @author Sam Adams

File chemistry-importer/src/main/java/net/chempound/chemistry/CmlImporter.java

 package net.chempound.chemistry;
 
+import net.chempound.ContentImporter;
 import net.chempound.chemistry.cml.ChemicalMime;
+import net.chempound.storage.InMemoryResource;
+import net.chempound.storage.LocalResource;
+import net.chempound.util.MimeType;
 import nu.xom.Document;
 import nu.xom.Element;
 import nu.xom.ParsingException;
 import nu.xom.Serializer;
 import org.apache.commons.io.FileUtils;
-import org.apache.commons.io.IOUtils;
 import org.xmlcml.cml.base.CMLBuilder;
-import org.xmlcml.cml.element.CMLMolecule;
-import sea36.image.jmol.ImageGeneratorJmol;
-import net.chempound.ContentImporter;
-import net.chempound.storage.InMemoryResource;
-import net.chempound.storage.LocalResource;
-import net.chempound.util.MimeType;
 
-import java.io.*;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.IOException;
 
 /**
  * @author Sam Adams

File chemistry-jmol-plugin/src/main/java/net/chempound/plugins/jmol/JmolPlugin.java

 package net.chempound.plugins.jmol;
 
+import net.chempound.webapp.plugins.ChempoundWebPlugin;
 import org.restlet.Context;
 import org.restlet.Request;
 import org.restlet.Response;
 import org.restlet.data.LocalReference;
 import org.restlet.resource.Directory;
-import net.chempound.webapp.plugins.ChempoundWebPlugin;
 
 import javax.inject.Inject;
 

File chemistry-search-structure/src/main/java/net/chempound/webapp/search/chemistry/StructureSearchProvider.java

 import com.hp.hpl.jena.rdf.model.ResourceFactory;
 import com.hp.hpl.jena.vocabulary.RDF;
 import com.hp.hpl.jena.vocabulary.RDFS;
+import net.chempound.chemistry.inchi.InchiTool;
+import net.chempound.rdf.cml.CmlRdf;
+import net.chempound.webapp.search.AbstractSearchProvider;
+import net.chempound.webapp.search.SparqlQuery;
 import nu.xom.Document;
 import org.apache.commons.io.IOUtils;
 import org.apache.http.HttpResponse;
 import org.xmlcml.cml.element.CMLCml;
 import org.xmlcml.cml.element.CMLMolecule;
 import org.xmlcml.cml.tools.SMILESTool;
-import net.chempound.chemistry.inchi.InchiTool;
-import net.chempound.rdf.cml.CmlRdf;
-import net.chempound.webapp.search.AbstractSearchProvider;
-import net.chempound.webapp.search.SparqlQuery;
 
 import java.io.IOException;
 import java.io.InputStream;