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 vh...@apache.org on 2014/07/15 22:26:03 UTC
svn commit: r1610839 [4/4] - in /xmlgraphics/fop/trunk: ./
src/java/org/apache/fop/afp/ src/java/org/apache/fop/afp/fonts/
src/java/org/apache/fop/afp/goca/ src/java/org/apache/fop/afp/ioca/
src/java/org/apache/fop/afp/modca/ src/java/org/apache/fop/af...
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderingUtil.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderingUtil.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderingUtil.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSRenderingUtil.java Tue Jul 15 20:25:58 2014
@@ -46,7 +46,7 @@ public class PSRenderingUtil {
private FOUserAgent userAgent;
/** Whether or not the safe set page device macro will be used or not */
- private boolean safeSetPageDevice = false;
+ private boolean safeSetPageDevice;
/**
* Whether or not PostScript Document Structuring Conventions (DSC) compliant output are
@@ -54,11 +54,11 @@ public class PSRenderingUtil {
*/
private boolean dscCompliant = true;
- private boolean autoRotateLandscape = false;
+ private boolean autoRotateLandscape;
private int languageLevel = PSGenerator.DEFAULT_LANGUAGE_LEVEL;
/** Determines whether the PS file is generated in two passes to minimize file size */
- private boolean optimizeResources = false;
+ private boolean optimizeResources;
/**
* Determines whether the generated PostScript code is optimized for minimum file size
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSTextPainter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSTextPainter.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSTextPainter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/PSTextPainter.java Tue Jul 15 20:25:58 2014
@@ -259,8 +259,8 @@ public class PSTextPainter extends Nativ
private AffineTransform textTransform;
private List<Point2D> relativePositions = new LinkedList<Point2D>();
private StringBuffer currentGlyphs = new StringBuffer();
- private int horizChanges = 0;
- private int vertChanges = 0;
+ private int horizChanges;
+ private int vertChanges;
public void reset() {
textTransform = null;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetPageDevice.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetPageDevice.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetPageDevice.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetPageDevice.java Tue Jul 15 20:25:58 2014
@@ -37,7 +37,7 @@ public class PSSetPageDevice extends PSE
/**
* name attribute
*/
- protected String name = null;
+ protected String name;
/**
* default constructor
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetupCode.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetupCode.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetupCode.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/extensions/PSSetupCode.java Tue Jul 15 20:25:58 2014
@@ -37,7 +37,7 @@ public class PSSetupCode extends PSExten
/**
* name attribute
*/
- protected String name = null;
+ protected String name;
/**
* No-argument contructor.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSPattern.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSPattern.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSPattern.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSPattern.java Tue Jul 15 20:25:58 2014
@@ -34,19 +34,19 @@ public class PSPattern implements Patter
/**
* The Shading object comprising the Type 2 pattern
*/
- protected PSShading shading = null;
+ protected PSShading shading;
/**
* List of Integers represetning the Extended unique Identifier
*/
- protected List xUID = null;
+ protected List xUID;
/**
* TODO use PDFGState
* String representing the extended Graphics state.
* Probably will never be used like this.
*/
- protected StringBuffer extGState = null;
+ protected StringBuffer extGState;
/**
* Creates a radial or axial shading pattern
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSShading.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSShading.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSShading.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/ps/svg/PSShading.java Tue Jul 15 20:25:58 2014
@@ -38,24 +38,24 @@ public class PSShading implements Shadin
/**
* A ColorSpace representing the colorspace. "DeviceRGB" is an example.
*/
- protected PDFDeviceColorSpace colorSpace = null;
+ protected PDFDeviceColorSpace colorSpace;
/**
* The background color. Since shading is opaque,
* this is very rarely used.
*/
- protected List background = null;
+ protected List background;
/**
* Optional: A List specifying the clipping rectangle
*/
- protected List bBox = null;
+ protected List bBox;
/**
* Optional: A flag whether or not to filter the shading function
* to prevent aliasing artifacts. Default is false.
*/
- protected boolean antiAlias = false;
+ protected boolean antiAlias;
/**
* Optional for Type 1: Array of four numbers, xmin, xmax, ymin, ymax.
@@ -65,14 +65,14 @@ public class PSShading implements Shadin
* Optional for Type 3: An array of two numbers between which the blend
* varies between start and end points. Default is 0, 1.
*/
- protected List domain = null;
+ protected List domain;
/**
* Required for Type 1, 2, and 3:
* The object of the color mapping function (usually type 2 or 3).
* Optional for Type 4,5,6, and 7: When it's nearly the same thing.
*/
- protected PSFunction function = null;
+ protected PSFunction function;
/**
* Required for Type 2: An Array of four numbers specifying
@@ -81,7 +81,7 @@ public class PSShading implements Shadin
* specifying the centers and radii of
* the starting and ending circles.
*/
- protected List coords = null;
+ protected List coords;
/**
* Required for Type 2+3: An Array of two boolean values specifying
@@ -89,7 +89,7 @@ public class PSShading implements Shadin
* and end points, respectively.
* Default is false, false.
*/
- protected List extend = null;
+ protected List extend;
/**
* Constructor for Type 2 and 3
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/RTFHandler.java Tue Jul 15 20:25:58 2014
@@ -141,13 +141,13 @@ public class RTFHandler extends FOEventH
private RtfDocumentArea docArea;
private boolean bDefer; //true, if each called handler shall be
//processed at later time.
- private boolean bPrevHeaderSpecified = false; //true, if there has been a
+ private boolean bPrevHeaderSpecified; //true, if there has been a
//header in any page-sequence
- private boolean bPrevFooterSpecified = false; //true, if there has been a
+ private boolean bPrevFooterSpecified; //true, if there has been a
//footer in any page-sequence
- private boolean bHeaderSpecified = false; //true, if there is a header
+ private boolean bHeaderSpecified; //true, if there is a header
//in current page-sequence
- private boolean bFooterSpecified = false; //true, if there is a footer
+ private boolean bFooterSpecified; //true, if there is a footer
//in current page-sequence
private BuilderContext builderContext = new BuilderContext(null);
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/ParagraphKeeptogetherContext.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/ParagraphKeeptogetherContext.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/ParagraphKeeptogetherContext.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/ParagraphKeeptogetherContext.java Tue Jul 15 20:25:58 2014
@@ -35,8 +35,8 @@ package org.apache.fop.render.rtf.rtflib
public final class ParagraphKeeptogetherContext {
- private static int paraKeepTogetherOpen = 0;
- private static boolean paraResetProperties = false;
+ private static int paraKeepTogetherOpen;
+ private static boolean paraResetProperties;
private ParagraphKeeptogetherContext() {
}
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfAttributes.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfAttributes.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfAttributes.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfAttributes.java Tue Jul 15 20:25:58 2014
@@ -185,7 +185,7 @@ public class RtfAttributes implements Cl
return values.keySet().iterator();
}
- private Attributes xslAttributes = null;
+ private Attributes xslAttributes;
/**
* Added by Normand Masse
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmark.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmark.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmark.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmark.java Tue Jul 15 20:25:58 2014
@@ -42,7 +42,7 @@ public class RtfBookmark extends RtfElem
//////////////////////////////////////////////////
/** Name of the bokkmark */
- private String bookmark = null;
+ private String bookmark;
/** Word 2000 supports a length of 40 characters only */
public static final int MAX_BOOKMARK_LENGTH = 40;
/** Word 2000 converts '.' in bookmarks to "_", thats why we control this replacement. */
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmarkContainerImpl.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmarkContainerImpl.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmarkContainerImpl.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfBookmarkContainerImpl.java Tue Jul 15 20:25:58 2014
@@ -42,7 +42,7 @@ public class RtfBookmarkContainerImpl ex
//////////////////////////////////////////////////
/** Rtf bookmark */
- private RtfBookmark mBookmark = null;
+ private RtfBookmark mBookmark;
//////////////////////////////////////////////////
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfColorTable.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfColorTable.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfColorTable.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfColorTable.java Tue Jul 15 20:25:58 2014
@@ -53,14 +53,14 @@ public final class RtfColorTable {
//////////////////////////////////////////////////
/** Singelton instance */
- private static RtfColorTable instance = null;
+ private static RtfColorTable instance;
/** Index table for the colors */
- private Hashtable colorIndex = null;
+ private Hashtable colorIndex;
/** Used colors to this vector */
- private Vector colorTable = null;
+ private Vector colorTable;
/** Map of color names to color numbers */
- private Hashtable namedColors = null;
+ private Hashtable namedColors;
//////////////////////////////////////////////////
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExternalGraphic.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExternalGraphic.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExternalGraphic.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExternalGraphic.java Tue Jul 15 20:25:58 2014
@@ -226,7 +226,7 @@ public class RtfExternalGraphic extends
/**
* The url of the image
*/
- protected URL url = null;
+ protected URL url;
/**
* The height of the image (in pixels)
@@ -246,7 +246,7 @@ public class RtfExternalGraphic extends
/**
* Flag whether the desired height is a percentage
*/
- protected boolean perCentH = false;
+ protected boolean perCentH;
/**
* The width of the image (in pixels)
@@ -266,12 +266,12 @@ public class RtfExternalGraphic extends
/**
* Flag whether the desired width is a percentage
*/
- protected boolean perCentW = false;
+ protected boolean perCentW;
/**
* Flag whether the image size shall be adjusted
*/
- protected boolean scaleUniform = false;
+ protected boolean scaleUniform;
/** cropping on left/top/right/bottom edges for \piccrop*N */
private int[] cropValues = new int[4];
@@ -282,7 +282,7 @@ public class RtfExternalGraphic extends
protected int graphicCompressionRate = 80;
/** The image data */
- private byte[] imagedata = null;
+ private byte[] imagedata;
/** The image format */
private FormatBase imageformat;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExtraRowSet.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExtraRowSet.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExtraRowSet.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfExtraRowSet.java Tue Jul 15 20:25:58 2014
@@ -58,7 +58,7 @@ public class RtfExtraRowSet extends RtfC
/** Parent table context
* (added by Boris Poudérous on july 2002 in order to process nested tables)
*/
- private ITableColumnsInfo parentITableColumnsInfo = null;
+ private ITableColumnsInfo parentITableColumnsInfo;
/** While a top-level RtfTableRow is being rendered, we build a list of
* RtfTableCells that must be rendered in extra rows.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFile.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFile.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFile.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFile.java Tue Jul 15 20:25:58 2014
@@ -50,7 +50,7 @@ extends RtfContainer {
private RtfDocumentArea docArea;
// private ConverterLogChannel m_log;
private RtfContainer listTableContainer;
- private int listNum = 0;
+ private int listNum;
/**
* Create an RTF file that outputs to the given Writer
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFontManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFontManager.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFontManager.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFontManager.java Tue Jul 15 20:25:58 2014
@@ -41,12 +41,12 @@ public final class RtfFontManager {
//////////////////////////////////////////////////
/** Singelton instance */
- private static RtfFontManager instance = null;
+ private static RtfFontManager instance;
/** Index table for the fonts */
- private Hashtable fontIndex = null;
+ private Hashtable fontIndex;
/** Used fonts to this vector */
- private Vector fontTable = null;
+ private Vector fontTable;
//////////////////////////////////////////////////
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfFootnote.java Tue Jul 15 20:25:58 2014
@@ -30,10 +30,10 @@ import java.io.Writer;
*/
public class RtfFootnote extends RtfContainer
implements IRtfTextrunContainer, IRtfListContainer {
- RtfTextrun textrunInline = null;
- RtfContainer body = null;
- RtfList list = null;
- boolean bBody = false;
+ RtfTextrun textrunInline;
+ RtfContainer body;
+ RtfList list;
+ boolean bBody;
/**
* Create an RTF list item as a child of given container with default attributes.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfHyperLink.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfHyperLink.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfHyperLink.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfHyperLink.java Tue Jul 15 20:25:58 2014
@@ -47,10 +47,10 @@ implements IRtfTextContainer,
//////////////////////////////////////////////////
/** The url of the image */
- protected String url = null;
+ protected String url;
/** RtfText */
- protected RtfText mText = null;
+ protected RtfText mText;
//////////////////////////////////////////////////
// @@ Construction
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfLeader.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfLeader.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfLeader.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfLeader.java Tue Jul 15 20:25:58 2014
@@ -46,7 +46,7 @@ public class RtfLeader extends RtfContai
* \\ululdbwave Double wave underline.
*/
- private RtfAttributes attrs = null;
+ private RtfAttributes attrs;
/** Private attribute: tab style */
public static final String LEADER_TABLEAD = "tablead";
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfList.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfList.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfList.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfList.java Tue Jul 15 20:25:58 2014
@@ -42,8 +42,8 @@ public class RtfList extends RtfContaine
private RtfListTable listTable;
private final boolean hasTableParent;
private RtfListStyle defaultListStyle;
- private Integer listTemplateId = null;
- private Integer listId = null;
+ private Integer listTemplateId;
+ private Integer listId;
private static Random listIdGenerator = new Random(0);
/** Create an RTF list as a child of given container with given attributes */
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListItem.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListItem.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListItem.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListItem.java Tue Jul 15 20:25:58 2014
@@ -43,7 +43,7 @@ public class RtfListItem extends RtfCont
private RtfList parentList;
private RtfParagraph paragraph;
private RtfListStyle listStyle;
- private int number = 0;
+ private int number;
/**
* special RtfParagraph that writes list item setup code before its content
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPageNumberCitation.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPageNumberCitation.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPageNumberCitation.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfPageNumberCitation.java Tue Jul 15 20:25:58 2014
@@ -49,7 +49,7 @@ public class RtfPageNumberCitation exten
public static final String RTF_FIELD_RESULT = "fldrslt";
// The 'id' of the referenced page
- private String id = null;
+ private String id;
/** Create an RTF page number citation as a child of given container with default attributes */
RtfPageNumberCitation(RtfContainer parent, Writer w, String id)
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfParagraph.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfParagraph.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfParagraph.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfParagraph.java Tue Jul 15 20:25:58 2014
@@ -50,8 +50,8 @@ implements IRtfTextContainer, IRtfPageBr
private RtfPageNumber pageNumber;
private RtfPageNumberCitation pageNumberCitation;
// Above line added by Boris POUDEROUS on 2002/07/09
- private boolean keepn = false;
- private boolean resetProperties = false;
+ private boolean keepn;
+ private boolean resetProperties;
/* needed for importing Rtf into FrameMaker
FrameMaker is not as forgiving as word in rtf
@@ -59,7 +59,7 @@ implements IRtfTextContainer, IRtfPageBr
after a table. /pard is probably needed in other places
also, this is just a hack to make FrameMaker import Jfor rtf
correctly */
- private boolean writeForBreak = false;
+ private boolean writeForBreak;
/** Set of attributes that must be copied at the start of a paragraph */
private static final String[] PARA_ATTRIBUTES = {"intbl"};
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfSpaceManager.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfSpaceManager.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfSpaceManager.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfSpaceManager.java Tue Jul 15 20:25:58 2014
@@ -40,7 +40,7 @@ public class RtfSpaceManager {
* inside, then the next block should has increased value of space-before
* property.
*/
- private int accumulatedSpace = 0;
+ private int accumulatedSpace;
/**
* Construct a newly allocated <code>RtfSpaceManager</code> object.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStyleSheetTable.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStyleSheetTable.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStyleSheetTable.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfStyleSheetTable.java Tue Jul 15 20:25:58 2014
@@ -60,7 +60,7 @@ public final class RtfStyleSheetTable {
//////////////////////////////////////////////////
/** Singelton instance */
- private static RtfStyleSheetTable instance = null;
+ private static RtfStyleSheetTable instance;
//////////////////////////////////////////////////
@@ -69,13 +69,13 @@ public final class RtfStyleSheetTable {
/** Table of styles */
- private Hashtable styles = null;
+ private Hashtable styles;
/** Used, style attributes to this vector */
- private Hashtable attrTable = null;
+ private Hashtable attrTable;
/** Used, style names to this vector */
- private Vector nameTable = null;
+ private Vector nameTable;
/** Default style */
private String defaultStyleName = STANDARD_STYLE;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTable.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTable.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTable.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTable.java Tue Jul 15 20:25:58 2014
@@ -39,16 +39,16 @@ import org.apache.fop.apps.FOPException;
public class RtfTable extends RtfContainer {
private RtfTableRow row;
- private int highestRow = 0;
- private Boolean isNestedTable = null;
- private RtfAttributes borderAttributes = null;
+ private int highestRow;
+ private Boolean isNestedTable;
+ private RtfAttributes borderAttributes;
/** Added by Boris Poudérous on 07/22/2002 in order to process
* number-columns-spanned attribute */
private ITableColumnsInfo tableContext;
/** Shows the table depth necessary for nested tables */
- private int nestedTableDepth = 0;
+ private int nestedTableDepth;
/** Create an RTF element as a child of given container */
RtfTable(IRtfTableContainer parent, Writer w, ITableColumnsInfo tc)
@@ -154,7 +154,7 @@ public class RtfTable extends RtfContain
return this.tableContext;
}
- private RtfAttributes headerAttribs = null;
+ private RtfAttributes headerAttribs;
/**
* Added by Normand Masse
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java Tue Jul 15 20:25:58 2014
@@ -48,7 +48,7 @@ public class RtfTableCell
private boolean setCenter;
private boolean setRight;
private int id;
- private RtfParagraphBreak lastBreak = null;
+ private RtfParagraphBreak lastBreak;
private int lastBreakDepth = Integer.MIN_VALUE;
private static final String TABLE_CELL_PARAGRAPH = "cell";
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableRow.java Tue Jul 15 20:25:58 2014
@@ -44,7 +44,7 @@ public class RtfTableRow extends RtfCont
private RtfTableCell cell;
// private RtfExtraRowSet extraRowSet;
private int id;
- private int highestCell = 0;
+ private int highestCell;
/** Create an RTF element as a child of given container */
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTemplate.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTemplate.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTemplate.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTemplate.java Tue Jul 15 20:25:58 2014
@@ -36,9 +36,9 @@ import java.io.IOException;
public final class RtfTemplate {
/** Singelton instance */
- private static RtfTemplate instance = null;
+ private static RtfTemplate instance;
- private String templateFilePath = null;
+ private String templateFilePath;
/**
* Constructor.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTextrun.java Tue Jul 15 20:25:58 2014
@@ -49,7 +49,7 @@ public class RtfTextrun extends RtfConta
/** Constant for a odd page break */
public static final int BREAK_ODD_PAGE = 4;
- private boolean bSuppressLastPar = false;
+ private boolean bSuppressLastPar;
private RtfListItem rtfListItem;
/**
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/PercentContext.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/PercentContext.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/PercentContext.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/PercentContext.java Tue Jul 15 20:25:58 2014
@@ -45,7 +45,7 @@ public class PercentContext implements P
private Map tableUnitMap = new java.util.HashMap();
/** Variable to check if a base width is set */
- private boolean baseWidthSet = false;
+ private boolean baseWidthSet;
/**
* Returns the available width for a specific FObj
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/TableContext.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/TableContext.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/TableContext.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/rtf/rtflib/tools/TableContext.java Tue Jul 15 20:25:58 2014
@@ -69,7 +69,7 @@ public class TableContext implements ITa
*/
private final List colFirstSpanningCol = new java.util.ArrayList();
- private boolean bNextRowBelongsToHeader = false;
+ private boolean bNextRowBelongsToHeader;
/**
*
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/shading/FunctionDelegate.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/shading/FunctionDelegate.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/shading/FunctionDelegate.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/shading/FunctionDelegate.java Tue Jul 15 20:25:58 2014
@@ -26,17 +26,17 @@ public class FunctionDelegate implements
/**
* Required: The Type of function (0,2,3,4) default is 0.
*/
- protected int functionType = 0; // Default
+ protected int functionType; // Default
/**
* Required: 2 * m Array of Double numbers which are possible inputs to the function
*/
- protected List<Double> domain = null;
+ protected List<Double> domain;
/**
* Required: 2 * n Array of Double numbers which are possible outputs to the function
*/
- protected List<Double> range = null;
+ protected List<Double> range;
/* ********************TYPE 0***************************** */
// FunctionType 0 specific function guts
@@ -46,7 +46,7 @@ public class FunctionDelegate implements
* Note: This is really more like two seperate integers, sizeDomain, and sizeRange,
* but since they're expressed as an array in PDF, my implementation reflects that.
*/
- protected List<Double> size = null;
+ protected List<Double> size;
/**
* Required for Type 0: Number of Bits used to represent each sample value.
@@ -70,13 +70,13 @@ public class FunctionDelegate implements
* Should be two values per function, usually (0,1),
* as in [0 1 0 1] for 2 functions.
*/
- protected List<Double> encode = null;
+ protected List<Double> encode;
/**
* Optional for Type 0: A 2 * n array of Doubles which provides
* a linear mapping of sample values to the range. Defaults to Range.
*/
- protected List<Double> decode = null;
+ protected List<Double> decode;
/**
* Optional For Type 0: A stream of sample values
@@ -86,27 +86,27 @@ public class FunctionDelegate implements
* Required For Type 4: Postscript Calculator function
* composed of arithmetic, boolean, and stack operators + boolean constants
*/
- protected StringBuffer functionDataStream = null;
+ protected StringBuffer functionDataStream;
/**
* Required (possibly) For Type 0: A vector of Strings for the
* various filters to be used to decode the stream.
* These are how the string is compressed. Flate, LZW, etc.
*/
- protected List<String> filter = null;
+ protected List<String> filter;
/* *************************TYPE 2************************** */
/**
* Required For Type 2: An Array of n Doubles defining
* the function result when x=0. Default is [0].
*/
- protected List<Double> cZero = null;
+ protected List<Double> cZero;
/**
* Required For Type 2: An Array of n Doubles defining
* the function result when x=1. Default is [1].
*/
- protected List<Double> cOne = null;
+ protected List<Double> cOne;
/**
* Required for Type 2: The interpolation exponent.
@@ -122,7 +122,7 @@ public class FunctionDelegate implements
* form an array of k single input functions making up
* the stitching function.
*/
- protected List<Function> functions = null;
+ protected List<Function> functions;
/**
* Optional for Type 3: An array of (k-1) Doubles that,
@@ -135,7 +135,7 @@ public class FunctionDelegate implements
* This makes each function responsible for an equal amount of the stitching function.
* It makes the gradient even.
*/
- protected List<Double> bounds = null;
+ protected List<Double> bounds;
/**
* create an complete Function object of Type 0, A Sampled function.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTRenderer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTRenderer.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTRenderer.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTRenderer.java Tue Jul 15 20:25:58 2014
@@ -97,7 +97,7 @@ public class TXTRenderer extends Abstrac
private final String pageEnding = "\f";
/** Equals true, if current page is first. */
- private boolean firstPage = false;
+ private boolean firstPage;
/** Manager for storing border's information. */
private BorderManager bm;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTStream.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTStream.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTStream.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/txt/TXTStream.java Tue Jul 15 20:25:58 2014
@@ -29,7 +29,7 @@ public class TXTStream {
private static final String DEFAULT_ENCODING = "UTF-8";
- private OutputStream out = null;
+ private OutputStream out;
private boolean doOutput = true;
private String encoding = DEFAULT_ENCODING;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/render/xml/XMLRenderer.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/render/xml/XMLRenderer.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/render/xml/XMLRenderer.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/render/xml/XMLRenderer.java Tue Jul 15 20:25:58 2014
@@ -112,8 +112,8 @@ public class XMLRenderer extends Abstrac
/** XML MIME type */
public static final String XML_MIME_TYPE = MimeConstants.MIME_FOP_AREA_TREE;
- private boolean startedSequence = false;
- private boolean compactFormat = false;
+ private boolean startedSequence;
+ private boolean compactFormat;
/** If not null, the XMLRenderer will mimic another renderer by using its font setup. */
protected Renderer mimic;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java Tue Jul 15 20:25:58 2014
@@ -84,9 +84,9 @@ public class FopServlet extends HttpServ
protected static final String XSLT_REQUEST_PARAM = "xslt";
/** The TransformerFactory used to create Transformer instances */
- protected TransformerFactory transFactory = null;
+ protected TransformerFactory transFactory;
/** The FopFactory used to create Fop instances */
- protected FopFactory fopFactory = null;
+ protected FopFactory fopFactory;
/** URIResolver for use by this servlet */
protected URIResolver uriResolver;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPImageElementBridge.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPImageElementBridge.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPImageElementBridge.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPImageElementBridge.java Tue Jul 15 20:25:58 2014
@@ -180,7 +180,7 @@ public abstract class AbstractFOPImageEl
/** parsed url */
protected final ParsedURL purl;
/** original graphics mode */
- protected GraphicsNode origGraphicsNode = null;
+ protected GraphicsNode origGraphicsNode;
/**
* Create a new image node for drawing natively handled images
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java Tue Jul 15 20:25:58 2014
@@ -90,7 +90,7 @@ public abstract class AbstractFOPTransco
private Log logger;
private EntityResolver resolver;
- private Configuration cfg = null;
+ private Configuration cfg;
private ImageManager imageManager;
private ImageSessionContext imageSessionContext;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFGraphics2D.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFGraphics2D.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFGraphics2D.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFGraphics2D.java Tue Jul 15 20:25:58 2014
@@ -147,13 +147,13 @@ public class PDFGraphics2D extends Abstr
/**
* The PDF graphics state level that this svg is being drawn into.
*/
- protected int baseLevel = 0;
+ protected int baseLevel;
/**
* The count of natively handled images added to document so they receive
* unique keys.
*/
- protected int nativeCount = 0;
+ protected int nativeCount;
/**
* The current font information.
@@ -164,7 +164,7 @@ public class PDFGraphics2D extends Abstr
* The override font state used when drawing text and the font cannot be
* set using java fonts.
*/
- protected Font ovFontState = null;
+ protected Font ovFontState;
/**
* the current stream to add PDF commands to
@@ -187,7 +187,7 @@ public class PDFGraphics2D extends Abstr
* the pdf document objects to reduce memory.
* Especially with images.
*/
- protected OutputStream outputStream = null;
+ protected OutputStream outputStream;
private TransparencyIgnoredEventListener transparencyIgnoredEventListener;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFTranscoder.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFTranscoder.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/PDFTranscoder.java Tue Jul 15 20:25:58 2014
@@ -75,7 +75,7 @@ import org.apache.fop.svg.font.FOPFontFa
public class PDFTranscoder extends AbstractFOPTranscoder {
/** Graphics2D instance that is used to paint to */
- protected PDFDocumentGraphics2D graphics = null;
+ protected PDFDocumentGraphics2D graphics;
/**
* Constructs a new {@link PDFTranscoder}.
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/SimpleSVGUserAgent.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/SimpleSVGUserAgent.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/SimpleSVGUserAgent.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/svg/SimpleSVGUserAgent.java Tue Jul 15 20:25:58 2014
@@ -38,9 +38,9 @@ import org.apache.batik.gvt.font.FontFam
*/
public class SimpleSVGUserAgent extends UserAgentAdapter {
- private AffineTransform currentTransform = null;
+ private AffineTransform currentTransform;
- private float pixelUnitToMillimeter = 0.0f;
+ private float pixelUnitToMillimeter;
private final FontFamilyResolver fontFamilyResolver;
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/TestConverter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/TestConverter.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/TestConverter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/TestConverter.java Tue Jul 15 20:25:58 2014
@@ -51,17 +51,17 @@ import org.apache.fop.tools.anttasks.Fil
*/
public class TestConverter {
- private boolean failOnly = false;
+ private boolean failOnly;
private String outputFormat = MimeConstants.MIME_FOP_AREA_TREE;
private File destdir;
- private File compare = null;
+ private File compare;
private String baseDir = "./";
private Map differ = new java.util.HashMap();
/**
* logging instance
*/
- protected SimpleLog logger = null;
+ protected SimpleLog logger;
/**
* This main method can be used to run the test converter from
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java Tue Jul 15 20:25:58 2014
@@ -79,8 +79,8 @@ public class Fop extends Task {
private File userConfig;
private int messageType = Project.MSG_VERBOSE;
private boolean logFiles = true;
- private boolean force = false;
- private boolean relativebase = false;
+ private boolean force;
+ private boolean relativebase;
private boolean throwExceptions = true;
/**
@@ -389,7 +389,7 @@ class FOPTaskStarter {
/**
* logging instance
*/
- protected Log logger = null;
+ protected Log logger;
/**
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ColorUtil.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ColorUtil.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ColorUtil.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/ColorUtil.java Tue Jul 15 20:25:58 2014
@@ -68,7 +68,7 @@ public final class ColorUtil {
* <p>
* Important: The use of this color map assumes that all Color instances are immutable!
*/
- private static Map<String, Color> colorMap = null;
+ private static Map<String, Color> colorMap;
/** Logger instance */
protected static final Log log = LogFactory.getLog(ColorUtil.class);
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/XMLResourceBundle.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/XMLResourceBundle.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/XMLResourceBundle.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/XMLResourceBundle.java Tue Jul 15 20:25:58 2014
@@ -335,7 +335,7 @@ public class XMLResourceBundle extends R
private StringBuffer valueBuffer = new StringBuffer();
private Stack elementStack = new Stack();
- private String currentKey = null;
+ private String currentKey;
private boolean isOwnNamespace(String uri) {
return ("".equals(uri));
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/bitmap/JAIMonochromeBitmapConverter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/bitmap/JAIMonochromeBitmapConverter.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/bitmap/JAIMonochromeBitmapConverter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/bitmap/JAIMonochromeBitmapConverter.java Tue Jul 15 20:25:58 2014
@@ -45,7 +45,7 @@ import javax.media.jai.PlanarImage;
public class JAIMonochromeBitmapConverter implements
MonochromeBitmapConverter {
- private boolean isErrorDiffusion = false;
+ private boolean isErrorDiffusion;
/** {@inheritDoc} */
public void setHint(String name, String value) {
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/text/AdvancedMessageFormat.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/text/AdvancedMessageFormat.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/text/AdvancedMessageFormat.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/text/AdvancedMessageFormat.java Tue Jul 15 20:25:58 2014
@@ -398,7 +398,7 @@ public class AdvancedMessageFormat {
protected List<Part> parts = new java.util.ArrayList<Part>();
private boolean conditional;
- private boolean hasSections = false;
+ private boolean hasSections;
public CompositePart(boolean conditional) {
this.conditional = conditional;
Modified: xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFElement.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFElement.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFElement.java (original)
+++ xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFElement.java Tue Jul 15 20:25:58 2014
@@ -34,15 +34,15 @@ public class MIFElement {
/** name */
protected String name;
/** value string */
- protected String valueStr = null;
+ protected String valueStr;
/** value elements */
- protected List valueElements = null;
+ protected List valueElements;
/** true if started */
- protected boolean started = false;
+ protected boolean started;
/** true if finishing */
- protected boolean finish = false;
+ protected boolean finish;
/** true if finished */
- protected boolean finished = false;
+ protected boolean finished;
/**
* @param name a name
Modified: xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFFile.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFFile.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFFile.java (original)
+++ xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/mif/MIFFile.java Tue Jul 15 20:25:58 2014
@@ -34,35 +34,35 @@ import java.util.List;
public class MIFFile extends MIFElement {
/** colorCatalog */
- protected MIFElement colorCatalog = null;
+ protected MIFElement colorCatalog;
/** pgfCatalog */
- protected PGFElement pgfCatalog = null;
+ protected PGFElement pgfCatalog;
/** fontCatalog */
- protected MIFElement fontCatalog = null;
+ protected MIFElement fontCatalog;
/** rulingCatalog */
- protected RulingElement rulingCatalog = null;
+ protected RulingElement rulingCatalog;
/** tblCatalog */
- protected MIFElement tblCatalog = null;
+ protected MIFElement tblCatalog;
/** views */
- protected MIFElement views = null;
+ protected MIFElement views;
/** variableFormats */
- protected MIFElement variableFormats = null;
+ protected MIFElement variableFormats;
/** xRefFormats */
- protected MIFElement xRefFormats = null;
+ protected MIFElement xRefFormats;
/** document */
- protected MIFElement document = null;
+ protected MIFElement document;
/** bookComponent */
- protected MIFElement bookComponent = null;
+ protected MIFElement bookComponent;
/** initialAutoNums */
- protected MIFElement initialAutoNums = null;
+ protected MIFElement initialAutoNums;
/** aFrames */
- protected MIFElement aFrames = null;
+ protected MIFElement aFrames;
/** tbls */
- protected MIFElement tbls = null;
+ protected MIFElement tbls;
/** pages */
protected List pages = new java.util.ArrayList();
/** textFlows */
- protected List textFlows = null;
+ protected List textFlows;
/** default constructor */
Modified: xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/svg/EmbeddedSVGImageHandler.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/svg/EmbeddedSVGImageHandler.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/svg/EmbeddedSVGImageHandler.java (original)
+++ xmlgraphics/fop/trunk/src/sandbox/org/apache/fop/render/svg/EmbeddedSVGImageHandler.java Tue Jul 15 20:25:58 2014
@@ -107,7 +107,7 @@ public class EmbeddedSVGImageHandler imp
DOMSource src = new DOMSource(svg.getDocument());
SAXResult res = new SAXResult(new DelegatingFragmentContentHandler(handler) {
- private boolean topLevelSVGFound = false;
+ private boolean topLevelSVGFound;
private void setAttribute(AttributesImpl atts, String localName, String value) {
int index;
Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/DebugHelper.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/DebugHelper.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/DebugHelper.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/DebugHelper.java Tue Jul 15 20:25:58 2014
@@ -30,7 +30,7 @@ public final class DebugHelper {
private DebugHelper() {
}
- private static boolean elObserversRegistered = false;
+ private static boolean elObserversRegistered;
/**
* Registers the default element list observers used for debugging.
Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/fonts/truetype/OTFFileTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/fonts/truetype/OTFFileTestCase.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/fonts/truetype/OTFFileTestCase.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/fonts/truetype/OTFFileTestCase.java Tue Jul 15 20:25:58 2014
@@ -30,9 +30,9 @@ import static org.junit.Assert.assertTru
public class OTFFileTestCase {
protected OTFFile sourceSansProBold;
- protected FontFileReader sourceSansReader = null;
+ protected FontFileReader sourceSansReader;
protected OTFFile alexBrush;
- protected FontFileReader alexBrushReader = null;
+ protected FontFileReader alexBrushReader;
/**
* Initializes fonts used for the testing of reading OTF CFF
Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ResultCollector.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ResultCollector.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ResultCollector.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/fotreetest/ResultCollector.java Tue Jul 15 20:25:58 2014
@@ -28,7 +28,7 @@ import java.util.List;
*/
public class ResultCollector {
- private static ResultCollector instance = null;
+ private static ResultCollector instance;
private List<String> results = new ArrayList<String>();
Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestUtils.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestUtils.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestUtils.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/layoutengine/LayoutEngineTestUtils.java Tue Jul 15 20:25:58 2014
@@ -59,7 +59,7 @@ public final class LayoutEngineTestUtils
private static class FilenameHandler extends DefaultHandler {
private StringBuffer buffer = new StringBuffer(128);
- private boolean readingFilename = false;
+ private boolean readingFilename;
private List<String> filenames;
public FilenameHandler(List<String> filenames) {
Modified: xmlgraphics/fop/trunk/test/java/org/apache/fop/threading/FOPTestbed.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/threading/FOPTestbed.java?rev=1610839&r1=1610838&r2=1610839&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/test/java/org/apache/fop/threading/FOPTestbed.java (original)
+++ xmlgraphics/fop/trunk/test/java/org/apache/fop/threading/FOPTestbed.java Tue Jul 15 20:25:58 2014
@@ -59,7 +59,7 @@ public class FOPTestbed extends Abstract
private Processor foprocessor;
private boolean writeToDevNull;
- private int counter = 0;
+ private int counter;
private List results = Collections.synchronizedList(new java.util.LinkedList());
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org