[FOray-commit] SF.net SVN: foray: [7904] trunk/foray/foray-render/src/java/org/foray/ render
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-05 01:41:54
|
Revision: 7904
http://svn.sourceforge.net/foray/?rev=7904&view=rev
Author: victormote
Date: 2006-09-04 18:41:50 -0700 (Mon, 04 Sep 2006)
Log Message:
-----------
Clean up variable visibility problems caught by checkstyle.
Modified Paths:
--------------
trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/Command.java
trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java
Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/Command.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/Command.java 2006-09-05 01:36:13 UTC (rev 7903)
+++ trunk/foray/foray-render/src/java/org/foray/render/awt/viewer/Command.java 2006-09-05 01:41:50 UTC (rev 7904)
@@ -53,7 +53,8 @@
public class Command extends AbstractAction {
static final long serialVersionUID = 369419499522888726L;
- public static String IMAGE_DIR = "/org/foray/render/awt/viewer/images/";
+ public static final String IMAGE_DIR =
+ "/org/foray/render/awt/viewer/images/";
PreviewDialog parent;
public Command(final PreviewDialog dialog, final String name) {
Modified: trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java 2006-09-05 01:36:13 UTC (rev 7903)
+++ trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java 2006-09-05 01:41:50 UTC (rev 7904)
@@ -64,17 +64,17 @@
/**
* the current stream to add PCL commands to
*/
- public PCLStream currentStream;
+ private PCLStream currentStream;
private int pageHeight = 7920;
// These variables control the virtual paggination functionality.
- public int curdiv = 0;
+ private int curdiv = 0;
private int divisions = -1;
- public int paperheight = -1; // Paper height in decipoints?
- public int orientation = 0; // 0=default/portrait, 1=landscape.
- public int topmargin = -1; // Top margin in decipoints?
- public int leftmargin = -1; // Left margin in decipoints?
+ private int paperheight = -1; // Paper height in decipoints?
+ private int orientation = 0; // 0=default/portrait, 1=landscape.
+ private int topmargin = -1; // Top margin in decipoints?
+ private int leftmargin = -1; // Left margin in decipoints?
private int fullmargin = 0;
/* X Offset to allow for PCL implicit 1/4" left margin. */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|