]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Style-up for example classes.
authorJeremias Maerki <jeremias@apache.org>
Sun, 15 Aug 2004 09:46:46 +0000 (09:46 +0000)
committerJeremias Maerki <jeremias@apache.org>
Sun, 15 Aug 2004 09:46:46 +0000 (09:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197874 13f79535-47bb-0310-9956-ffa450edef68

examples/embedding/java/embedding/ExampleDOM2PDF.java
examples/embedding/java/embedding/ExampleXML2PDF.java

index 783c7a7adce2f873394bf80ab4968611bd6ba867..006178bbf2cffa29e60ea6f19514ed825c27ecd6 100644 (file)
@@ -115,7 +115,6 @@ public class ExampleDOM2PDF {
             // Create a sample XSL-FO DOM document
             Document foDoc = null;
             Element root = null, ele1 = null, ele2 = null, ele3 = null;
-            Text elementText = null;
             
             DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
             dbf.setNamespaceAware(true);
index 3f82b3e944e5a94ac5a0d2701af4333f8a5b3cd8..4a2b17f29b353feedebac5d5cca4d59f09be5f59 100644 (file)
@@ -20,7 +20,6 @@ package embedding;
 
 //Java
 import java.io.File;
-import java.io.IOException;
 import java.io.OutputStream;
 
 //JAXP
@@ -33,7 +32,6 @@ import javax.xml.transform.sax.SAXResult;
 
 //FOP
 import org.apache.fop.apps.Fop;
-import org.apache.fop.apps.FOPException;
 
 /**
  * This class demonstrates the conversion of an XML file to PDF using