You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2008/07/25 14:46:22 UTC

svn commit: r679781 [34/34] - in /xmlgraphics/fop/branches/Temp_AreaTreeNewDesign: ./ examples/embedding/java/embedding/ examples/embedding/java/embedding/events/ examples/embedding/java/embedding/intermediate/ examples/embedding/java/embedding/model/ ...

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractPSPDFBitmapProducer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractPSPDFBitmapProducer.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractPSPDFBitmapProducer.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractPSPDFBitmapProducer.java Fri Jul 25 05:44:20 2008
@@ -40,7 +40,7 @@
 import org.apache.fop.apps.FopFactory;
 
 /**
- * BitmapProducer implementation that uses the PS or PDF renderer and an external converter 
+ * BitmapProducer implementation that uses the PS or PDF renderer and an external converter
  * to create bitmaps.
  * <p>
  * Here's what the configuration element looks like for the class:
@@ -52,7 +52,7 @@
  * </producer>
  * </pre>
  * <p>
- * You will notice the three parameters in curly braces (java.util.MessageFormat style) to the 
+ * You will notice the three parameters in curly braces (java.util.MessageFormat style) to the
  * converter call:
  * <ul>
  *   <li>0: the input file
@@ -62,15 +62,15 @@
  * <p>
  * The "delete-temp-files" element is optional and defaults to true.
  */
-public abstract class AbstractPSPDFBitmapProducer extends AbstractBitmapProducer 
+public abstract class AbstractPSPDFBitmapProducer extends AbstractBitmapProducer
             implements Configurable {
 
     // configure fopFactory as desired
     private FopFactory fopFactory = FopFactory.newInstance();
-    
+
     private String converter;
     private boolean deleteTempFiles;
-    
+
     /** @see org.apache.avalon.framework.configuration.Configurable */
     public void configure(Configuration cfg) throws ConfigurationException {
         this.converter = cfg.getChild("converter").getValue();
@@ -86,9 +86,9 @@
      */
     public void convert(File inFile, File outFile, ProducerContext context) throws IOException {
         outFile.delete();
-        
+
         //Build command-line
-        String cmd = MessageFormat.format(converter, 
+        String cmd = MessageFormat.format(converter,
                 new Object[] {inFile.toString(), outFile.toString(),
                     Integer.toString(context.getTargetResolution())});
         ConvertUtils.convert(cmd, null, null, log);
@@ -97,17 +97,17 @@
             throw new IOException("The target file has not been generated");
         }
     }
-    
+
     /**
-     * @return the native extension generated by the output format, ex. "ps" or "pdf". 
+     * @return the native extension generated by the output format, ex. "ps" or "pdf".
      */
     protected abstract String getTargetExtension();
-    
+
     /**
      * @return the output format for the FOP renderer, i.e. a MIME type.
      */
     protected abstract String getTargetFormat();
-    
+
     /** @see org.apache.fop.visual.BitmapProducer */
     public BufferedImage produce(File src, ProducerContext context) {
         try {
@@ -115,9 +115,9 @@
             userAgent.setTargetResolution(context.getTargetResolution());
             userAgent.setBaseURL(src.getParentFile().toURL().toString());
 
-            File tempOut = new File(context.getTargetDir(), 
+            File tempOut = new File(context.getTargetDir(),
                     src.getName() + "." + getTargetExtension());
-            File tempPNG = new File(context.getTargetDir(), 
+            File tempPNG = new File(context.getTargetDir(),
                     src.getName() + "." + getTargetExtension() + ".png");
             try {
                 OutputStream out = new FileOutputStream(tempOut);
@@ -125,13 +125,13 @@
                 try {
                     Fop fop = fopFactory.newFop(getTargetFormat(), userAgent, out);
                     SAXResult res = new SAXResult(fop.getDefaultHandler());
-                    
+
                     Transformer transformer = getTransformer(context);
                     transformer.transform(new StreamSource(src), res);
                 } finally {
                     IOUtils.closeQuietly(out);
                 }
-                
+
                 convert(tempOut, tempPNG, context);
                 BufferedImage img = BitmapComparator.getImage(tempPNG);
                 return img;

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractRedirectorLineHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractRedirectorLineHandler.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractRedirectorLineHandler.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/AbstractRedirectorLineHandler.java Fri Jul 25 05:44:20 2008
@@ -23,7 +23,7 @@
  * Abstract base implementation for a RedirectorLineHandler which provides empty notifyStart()
  * and notifyEnd() methods.
  */
-public abstract class AbstractRedirectorLineHandler 
+public abstract class AbstractRedirectorLineHandler
         implements RedirectorLineHandler {
 
     /** @see org.apache.fop.visual.RedirectorLineHandler#notifyStart() */

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BatchDiffer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BatchDiffer.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BatchDiffer.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BatchDiffer.java Fri Jul 25 05:44:20 2008
@@ -89,7 +89,7 @@
  * source files with. Default: no stylesheet, identity transform.
  * <p>
  * The "producers" element contains a list of producer implementations with configuration.
- * The "classname" attribute specifies the fully qualified class name for the implementation.  
+ * The "classname" attribute specifies the fully qualified class name for the implementation.
  */
 public class BatchDiffer {
 
@@ -114,7 +114,7 @@
      * @throws SAXException In case of a problem during SAX processing
      * @throws IOException In case of a I/O problem
      */
-    public void runBatch(File cfgFile) 
+    public void runBatch(File cfgFile)
                 throws ConfigurationException, SAXException, IOException {
         DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder();
         Configuration cfg = cfgBuilder.buildFromFile(cfgFile);
@@ -141,7 +141,7 @@
                 }
             }
             BitmapProducer[] producers = getProducers(cfg.getChild("producers"));
-            
+
             //Set up directories
             File srcDir = new File(cfg.getChild("source-directory").getValue());
             if (!srcDir.exists()) {
@@ -153,12 +153,12 @@
                 throw new RuntimeException("target-directory is invalid: " + targetDir);
             }
             context.setTargetDir(targetDir);
-            
+
             boolean stopOnException = cfg.getChild("stop-on-exception").getValueAsBoolean(true);
             final boolean createDiffs = cfg.getChild("create-diffs").getValueAsBoolean(true);
-            
+
             //RUN!
-            
+
             IOFileFilter filter = new SuffixFileFilter(new String[] {".xml", ".fo"});
             //Same filtering as in layout engine tests
             if (cfg.getChild("filter-disabled").getValueAsBoolean(true)) {
@@ -191,10 +191,10 @@
                     }
                     //Create combined image
                     if (bitmaps[0] == null) {
-                        throw new RuntimeException("First producer didn't return a bitmap for " 
+                        throw new RuntimeException("First producer didn't return a bitmap for "
                                 + f + ". Cannot continue.");
                     }
-                    
+
                     Runnable runnable = new Runnable() {
                         public void run() {
                             try {
@@ -226,11 +226,11 @@
             throw new RuntimeException("Error while configuring BatchDiffer: " + e.getMessage());
         }
     }
-    
+
     private void saveBitmaps(File targetDir, File srcFile, boolean createDiffs,
             BufferedImage[] bitmaps) throws IOException {
         BufferedImage combined = BitmapComparator.buildCompareImage(bitmaps);
-        
+
         //Save combined bitmap as PNG file
         File outputFile = new File(targetDir, srcFile.getName() + "._combined.png");
         ImageWriterUtil.saveAsPNG(combined, outputFile);
@@ -244,7 +244,7 @@
             }
         }
     }
-    
+
     private BitmapProducer[] getProducers(Configuration cfg) {
         Configuration[] children = cfg.getChildren("producer");
         BitmapProducer[] producers = new BitmapProducer[children.length];
@@ -260,7 +260,7 @@
         }
         return producers;
     }
-    
+
     /**
      * Main method.
      * @param args command-line arguments
@@ -278,16 +278,16 @@
                 printUsage();
                 System.exit(-1);
             }
-     
+
             Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
             BatchDiffer differ = new BatchDiffer();
             differ.runBatch(cfgFile);
-            
+
             System.out.println("Regular exit...");
         } catch (Exception e) {
             System.out.println("Exception caught...");
             e.printStackTrace();
         }
     }
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapComparator.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapComparator.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapComparator.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapComparator.java Fri Jul 25 05:44:20 2008
@@ -39,8 +39,8 @@
 /**
  * Helper class to visually compare two bitmap images.
  * <p>
- * This class was created by extracting reusable code from 
- * org.apache.batik.test.util.ImageCompareText (Apache Batik) 
+ * This class was created by extracting reusable code from
+ * org.apache.batik.test.util.ImageCompareText (Apache Batik)
  * into this separate class.
  * <p>
  * TODO Move as utility class to XML Graphics Commons when possible
@@ -51,7 +51,7 @@
      * Builds a new BufferedImage that is the difference between the two input images
      * @param ref the reference bitmap
      * @param gen the newly generated bitmap
-     * @return the diff bitmap 
+     * @return the diff bitmap
      */
     public static BufferedImage buildDiffImage(BufferedImage ref,
                                                BufferedImage gen) {
@@ -104,7 +104,7 @@
             ColorModel cm = gen.getColorModel();
             cm = GraphicsUtil.coerceData(genWR, cm, false);
         }
-        
+
         if (!refPre) {
             ColorModel cm = ref.getColorModel();
             cm = GraphicsUtil.coerceData(refWR, cm, false);
@@ -114,14 +114,14 @@
     }
 
     /**
-     * Builds a combined image that places a number of images next to each other for 
-     * manual, visual comparison. 
+     * Builds a combined image that places a number of images next to each other for
+     * manual, visual comparison.
      * @param images the array of bitmaps
      * @return the combined image
      */
     public static BufferedImage buildCompareImage(BufferedImage[] images) {
         BufferedImage cmp = new BufferedImage(
-                images[0].getWidth() * images.length, 
+                images[0].getWidth() * images.length,
                 images[0].getHeight(), BufferedImage.TYPE_INT_ARGB);
 
         Graphics2D g = cmp.createGraphics();
@@ -145,8 +145,8 @@
     }
 
     /**
-     * Builds a combined image that places two images next to each other for 
-     * manual, visual comparison. 
+     * Builds a combined image that places two images next to each other for
+     * manual, visual comparison.
      * @param ref the reference image
      * @param gen the actual image
      * @return the combined image
@@ -155,7 +155,7 @@
             BufferedImage gen) {
         return buildCompareImage(new BufferedImage[] {ref, gen});
     }
-    
+
     /**
      * Loads an image from a URL
      * @param url the URL to the image
@@ -173,7 +173,7 @@
         if (red == null) {
             return null;
         }
-        
+
         BufferedImage img = new BufferedImage(red.getWidth(),
                                               red.getHeight(),
                                               BufferedImage.TYPE_INT_ARGB);
@@ -192,7 +192,7 @@
             InputStream in = new java.io.FileInputStream(bitmapFile);
             try {
                 in = new java.io.BufferedInputStream(in);
-                
+
                 ImageTagRegistry reg = ImageTagRegistry.getRegistry();
                 Filter filt = reg.readStream(in);
                 if (filt == null) {
@@ -203,7 +203,7 @@
                 if (red == null) {
                     return null;
                 }
-                
+
                 BufferedImage img = new BufferedImage(red.getWidth(),
                                                       red.getHeight(),
                                                       BufferedImage.TYPE_INT_ARGB);

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducer.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducer.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducer.java Fri Jul 25 05:44:20 2008
@@ -35,5 +35,5 @@
      * @return the generated BufferedImage
      */
     BufferedImage produce(File src, ProducerContext context);
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerJava2D.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerJava2D.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerJava2D.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerJava2D.java Fri Jul 25 05:44:20 2008
@@ -55,7 +55,7 @@
 
     // configure fopFactory as desired
     private FopFactory fopFactory = FopFactory.newInstance();
-    
+
     private boolean deleteTempFiles;
 
     /** @see org.apache.avalon.framework.configuration.Configurable */
@@ -69,20 +69,20 @@
             FOUserAgent userAgent = fopFactory.newFOUserAgent();
             userAgent.setTargetResolution(context.getTargetResolution());
             userAgent.setBaseURL(src.getParentFile().toURL().toString());
-            
+
             File outputFile = new File(context.getTargetDir(), src.getName() + ".java2d.png");
             OutputStream out = new FileOutputStream(outputFile);
             out = new BufferedOutputStream(out);
             try {
                 Fop fop = fopFactory.newFop(MimeConstants.MIME_PNG, userAgent, out);
                 SAXResult res = new SAXResult(fop.getDefaultHandler());
-                
+
                 Transformer transformer = getTransformer(context);
                 transformer.transform(new StreamSource(src), res);
             } finally {
                 IOUtils.closeQuietly(out);
             }
-            
+
             BufferedImage img = BitmapComparator.getImage(outputFile);
             if (deleteTempFiles) {
                 if (!outputFile.delete()) {

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPDF.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPDF.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPDF.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPDF.java Fri Jul 25 05:44:20 2008
@@ -22,7 +22,7 @@
 import org.apache.fop.apps.MimeConstants;
 
 /**
- * BitmapProducer implementation that uses the PDFRenderer and an external converter 
+ * BitmapProducer implementation that uses the PDFRenderer and an external converter
  * to create bitmaps.
  * <p>
  * See the superclass' javadoc for info on the configuration format.
@@ -33,10 +33,10 @@
     protected String getTargetExtension() {
         return "pdf";
     }
-    
+
     /** @see org.apache.fop.visual.AbstractPSPDFBitmapProducer#getTargetFormat() */
     protected String getTargetFormat() {
         return MimeConstants.MIME_PDF;
     }
-    
+
 }

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPS.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPS.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPS.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/BitmapProducerPS.java Fri Jul 25 05:44:20 2008
@@ -22,7 +22,7 @@
 import org.apache.fop.apps.MimeConstants;
 
 /**
- * BitmapProducer implementation that uses the PSRenderer and an external converter 
+ * BitmapProducer implementation that uses the PSRenderer and an external converter
  * to create bitmaps.
  * <p>
  * See the superclass' javadoc for info on the configuration format.
@@ -33,11 +33,11 @@
     protected String getTargetExtension() {
         return "ps";
     }
-    
+
     /** @see org.apache.fop.visual.AbstractPSPDFBitmapProducer#getTargetFormat() */
     protected String getTargetFormat() {
         return MimeConstants.MIME_POSTSCRIPT;
     }
-    
+
 
 }

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ConvertUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ConvertUtils.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ConvertUtils.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ConvertUtils.java Fri Jul 25 05:44:20 2008
@@ -32,14 +32,14 @@
     /**
      * Calls an external converter application (GhostScript, for example).
      * @param cmd the full command
-     * @param envp array of strings, each element of which has environment variable settings 
+     * @param envp array of strings, each element of which has environment variable settings
      * in format name=value.
-     * @param workDir the working directory of the subprocess, or null if the subprocess should 
+     * @param workDir the working directory of the subprocess, or null if the subprocess should
      * inherit the working directory of the current process.
      * @param log the logger to log output by the external application to
      * @throws IOException in case the external call fails
      */
-    public static void convert(String cmd, String[] envp, File workDir, final Log log) 
+    public static void convert(String cmd, String[] envp, File workDir, final Log log)
                 throws IOException {
         log.debug(cmd);
 
@@ -53,7 +53,7 @@
                     log.error("ERR> " + line);
                 }
             };
-            StreamRedirector errorRedirector 
+            StreamRedirector errorRedirector
                 = new StreamRedirector(process.getErrorStream(), errorHandler);
 
             //Redirect stdout output
@@ -62,11 +62,11 @@
                     log.debug("OUT> " + line);
                 }
             };
-            StreamRedirector outputRedirector 
+            StreamRedirector outputRedirector
                 = new StreamRedirector(process.getInputStream(), outputHandler);
             new Thread(errorRedirector).start();
             new Thread(outputRedirector).start();
-                
+
             process.waitFor();
         } catch (java.lang.InterruptedException ie) {
             throw new IOException("The call to the external converter failed: " + ie.getMessage());
@@ -76,11 +76,11 @@
 
         int exitValue = process.exitValue();
         if (exitValue != 0) {
-            throw new IOException("The call to the external converter failed. Result: " 
+            throw new IOException("The call to the external converter failed. Result: "
                     + exitValue);
         }
 
     }
-    
-    
+
+
 }

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ProducerContext.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ProducerContext.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ProducerContext.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ProducerContext.java Fri Jul 25 05:44:20 2008
@@ -33,7 +33,7 @@
     private Templates templates;
     private int targetResolution;
     private File targetDir;
-    
+
     /**
      * @return the TransformerFactory to be used.
      */
@@ -43,7 +43,7 @@
         }
         return tFactory;
     }
-    
+
     /**
      * @return the requested bitmap resolution in dpi for all bitmaps.
      */
@@ -73,14 +73,14 @@
     public void setTemplates(Templates templates) {
         this.templates = templates;
     }
-    
+
     /**
      * @return the target directory for all produced bitmaps
      */
     public File getTargetDir() {
         return targetDir;
     }
-    
+
     /**
      * Sets the target directory for all produced bitmaps.
      * @param targetDir the target directory

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/RedirectorLineHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/RedirectorLineHandler.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/RedirectorLineHandler.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/RedirectorLineHandler.java Fri Jul 25 05:44:20 2008
@@ -34,7 +34,7 @@
      * @param line a line of application output
      */
     void handleLine(String line);
-    
+
     /**
      * Called after the last handleLine() call.
      */

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ReferenceBitmapLoader.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ReferenceBitmapLoader.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ReferenceBitmapLoader.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/ReferenceBitmapLoader.java Fri Jul 25 05:44:20 2008
@@ -41,7 +41,7 @@
 public class ReferenceBitmapLoader extends AbstractBitmapProducer implements Configurable {
 
     private File bitmapDirectory;
-    
+
     /** @see org.apache.avalon.framework.configuration.Configurable */
     public void configure(Configuration cfg) throws ConfigurationException {
         this.bitmapDirectory = new File(cfg.getChild("directory").getValue(null));

Modified: xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/StreamRedirector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/StreamRedirector.java?rev=679781&r1=679780&r2=679781&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/StreamRedirector.java (original)
+++ xmlgraphics/fop/branches/Temp_AreaTreeNewDesign/test/java/org/apache/fop/visual/StreamRedirector.java Fri Jul 25 05:44:20 2008
@@ -42,14 +42,14 @@
         this.in = in;
         this.handler = handler;
     }
-    
+
     /**
      * @return true if the run() method was terminated by an exception.
      */
     public boolean hasFailed() {
         return (this.exception != null);
     }
-    
+
     /**
      * @return the exception if the run() method was terminated by an exception, or null
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org