Commits

Sam Adams  committed 7575c7f

Remove redundant fields/parameters

  • Participants
  • Parent commits 10e6345

Comments (0)

Files changed (1)

File crystallography-handler/src/main/java/net/chempound/crystal/display/CrystalStructureSplashPageWriter.java

 import net.chempound.crystal.rdf.ont.CifDict;
 import net.chempound.crystal.rdf.ont.Cryst;
 import net.chempound.rdf.DCTerms;
-import net.chempound.services.FreemarkerService;
 import net.chempound.webapp.output.AbstractSplashPageWriter;
 import net.chempound.webapp.output.Page;
 import org.apache.commons.io.IOUtils;
 
-import javax.inject.Inject;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.URI;
-import java.util.Map;
 
 /**
  * @author Sam Adams
         }
     }
 
-    @Inject
-    public CrystalStructureSplashPageWriter(final FreemarkerService freemarker) {
-        super(freemarker);
-    }
-
     @Override
     protected Class<? extends Resource> getResourceType() {
         return CrystalStructure.class;
     }
 
     @Override
-    public void write(final Model model, final URI aggregationUri, final Map<String, Object> map, final Page page) throws IOException, TemplateException {
+    public void write(final Model model, final URI aggregationUri, final Page page) throws IOException, TemplateException {
         page.addParam("headers", headers);
 
         final BeansWrapper wrapper = BeansWrapper.getDefaultInstance();
         page.addParam("CIF", staticModels.get(Cryst.class.getName()));
         page.addParam("IUCR", staticModels.get(CifDict.class.getName()));
 
-        super.write(model, aggregationUri, map, page);
+        super.write(model, aggregationUri, page);
     }
 
 }