[FOray-commit] SF.net SVN: foray: [7979] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-07 23:53:29
|
Revision: 7979
http://svn.sourceforge.net/foray/?rev=7979&view=rev
Author: victormote
Date: 2006-09-07 16:53:02 -0700 (Thu, 07 Sep 2006)
Log Message:
-----------
Style changes only.
Modified Paths:
--------------
trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java
trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java
trunk/foray/foray-common/src/java/org/foray/common/Environment.java
trunk/foray/foray-common/src/java/org/foray/common/IOUtil.java
trunk/foray/foray-common/src/java/org/foray/common/ISO639.java
trunk/foray/foray-common/src/java/org/foray/common/Logging.java
trunk/foray/foray-common/src/java/org/foray/common/StringUtil.java
trunk/foray/foray-common/src/java/org/foray/common/StringUtilPre5.java
trunk/foray/foray-common/src/java/org/foray/common/XMLCharacter.java
trunk/foray/foray-common/src/java/org/foray/common/XMLParser.java
trunk/foray/foray-common/src/java/org/foray/common/XMLUtil.java
trunk/foray/foray-common/src/java/org/foray/common/url/FOrayURLStreamHandlerFactory.java
trunk/foray/foray-common/src/java/org/foray/common/url/URLFactory.java
trunk/foray/foray-common/src/java/org/foray/common/url/URLUtil.java
trunk/foray/foray-core/src/java/org/foray/core/Application.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyParser.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java
trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java
trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java
trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL2.java
trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL3.java
trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL4.java
trunk/foray/scripts/checkstyle-config.xml
Modified: trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -64,7 +64,7 @@
* FOray started up in a standard manner without diminishing the flexibility
* of its pluggable nature.
*/
-public class FOraySpecific {
+public final class FOraySpecific {
/**
* Private constructor, as this class should never be instantiated.
Modified: trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-app/src/java/org/foray/app/OutputTargetFactory.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -48,7 +48,7 @@
* This class manages the process of parsing an input FO document and creating
* an FOTree.
*/
-public class OutputTargetFactory {
+public final class OutputTargetFactory {
/** Render to PDF. OutputStream must be set. */
public static final int RENDER_PDF = 1;
Modified: trunk/foray/foray-common/src/java/org/foray/common/Environment.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/Environment.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/Environment.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -38,7 +38,7 @@
* Class with some convenience methods for getting information about the
* environment.
*/
-public class Environment {
+public final class Environment {
/** Private constructor (should not be instantiated). */
private Environment() {
Modified: trunk/foray/foray-common/src/java/org/foray/common/IOUtil.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/IOUtil.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/IOUtil.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -38,7 +38,7 @@
* announces its first release.
* TODO: Replace with Jakarta Commons I/O.
*/
-public class IOUtil {
+public final class IOUtil {
/** Private constructor (should not be instantiated). */
private IOUtil() {
Modified: trunk/foray/foray-common/src/java/org/foray/common/ISO639.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/ISO639.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/ISO639.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -34,7 +34,7 @@
* Utility class for validating ISO language codes using the ISO-639 standard.
*
*/
-public class ISO639 {
+public final class ISO639 {
/**
* This list is derived from
Modified: trunk/foray/foray-common/src/java/org/foray/common/Logging.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/Logging.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/Logging.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -38,7 +38,7 @@
* Along with the PseudoLogger interface in aXSL, this provides for both
* standardization and flexibility in logging.
*/
-public class Logging {
+public final class Logging {
/**
* Private constructor to prevent instantiation.
Modified: trunk/foray/foray-common/src/java/org/foray/common/StringUtil.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/StringUtil.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/StringUtil.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -32,7 +32,7 @@
* Utility class containing methods that are useful for manipulating or managing
* strings.
*/
-public class StringUtil {
+public final class StringUtil {
/**
* Private constructor (should never be instantiated).
Modified: trunk/foray/foray-common/src/java/org/foray/common/StringUtilPre5.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/StringUtilPre5.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/StringUtilPre5.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -36,7 +36,7 @@
* Java 5.0 behavior on pre-Java 5.0 platforms. If you are coding against
* Java 5.0 or greater, the equivalent functions should be used instead.
*/
-public class StringUtilPre5 {
+public final class StringUtilPre5 {
/**
* Private constructor (should never be instantiated).
Modified: trunk/foray/foray-common/src/java/org/foray/common/XMLCharacter.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/XMLCharacter.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/XMLCharacter.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -33,7 +33,7 @@
* Appendix B of the XML 1.0 Standard defines several character classes. The
* methods in this class are used to map a given character to these classes.
*/
-public class XMLCharacter {
+public final class XMLCharacter {
/**
* As with all other character arrays in this class, elements are in pairs.
Modified: trunk/foray/foray-common/src/java/org/foray/common/XMLParser.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/XMLParser.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/XMLParser.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -36,7 +36,7 @@
/**
*
*/
-public class XMLParser {
+public final class XMLParser {
/**
* Private constructor (should not be instantiated).
@@ -44,7 +44,7 @@
private XMLParser() {
}
- public static final String getParserClassName() {
+ public static String getParserClassName() {
try {
return SAXParserFactory.newInstance().newSAXParser()
.getXMLReader().getClass().getName();
Modified: trunk/foray/foray-common/src/java/org/foray/common/XMLUtil.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/XMLUtil.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/XMLUtil.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -31,7 +31,7 @@
/**
* Utility class containing methods useful in parsing or building XML.
*/
-public class XMLUtil {
+public final class XMLUtil {
/**
* This class should never be instantiated.
Modified: trunk/foray/foray-common/src/java/org/foray/common/url/FOrayURLStreamHandlerFactory.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/url/FOrayURLStreamHandlerFactory.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/FOrayURLStreamHandlerFactory.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -41,7 +41,8 @@
* URLStreamHandlerFactory implementation that allows custom protocols to be
* registered and accessed.
*/
-public class FOrayURLStreamHandlerFactory implements URLStreamHandlerFactory {
+public final class FOrayURLStreamHandlerFactory
+ implements URLStreamHandlerFactory {
/** The singleton instance of this class. */
private static FOrayURLStreamHandlerFactory urlSHFactory;
Modified: trunk/foray/foray-common/src/java/org/foray/common/url/URLFactory.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/url/URLFactory.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/URLFactory.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -47,7 +47,7 @@
* custom {@link URLStreamHandler} implementations are discussed, and where
* one can be selected.
*/
-public class URLFactory {
+public final class URLFactory {
/**
* Private constructor. This should never be instantiated.
Modified: trunk/foray/foray-common/src/java/org/foray/common/url/URLUtil.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/url/URLUtil.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/URLUtil.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -39,7 +39,7 @@
/**
* This utility class contains various URL-related static utility methods.
*/
-public class URLUtil {
+public final class URLUtil {
/** Private constructor (should not be instantiated). */
private URLUtil() {
Modified: trunk/foray/foray-core/src/java/org/foray/core/Application.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/Application.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-core/src/java/org/foray/core/Application.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -31,7 +31,7 @@
/**
* class representing the FOray Application itself.
*/
-public class Application {
+public final class Application {
/** Private constructor (should not be instantiated). */
private Application() {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyParser.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyParser.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyParser.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -58,7 +58,7 @@
* This class is heavily based on the epxression parser in James Clark's
* XT, an XSLT processor.
*/
-public class PropertyParser extends PropertyTokenizer {
+public final class PropertyParser extends PropertyTokenizer {
private PropertyList propertyList;
private Stack stkFunction; // Stack of functions being evaluated
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtColor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtColor.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtColor.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -44,7 +44,7 @@
* {@link #makeDtColor(String)}, {@link #makeDtColor(Color)}, or
* {@link #makeDtColor(float, float, float, float)}.</p>
*/
-public class DtColor extends Datatype implements ExprColor {
+public final class DtColor extends Datatype implements ExprColor {
public static final Color COLOR_RGB_TRANSPARENT = new Color(255, 255, 255,
0);
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -43,7 +43,7 @@
* line numbers. In that case, it is recommended that they simply use the
* odd value for each.
*/
-public class DtWritingMode extends Datatype implements
+public final class DtWritingMode extends Datatype implements
org.axsl.foR.WritingMode {
private static HashMap writingModes = new HashMap();
Modified: trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java
===================================================================
--- trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-pretty/src/java/org/foray/pretty/dtd/DTDTokenizer.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -33,7 +33,7 @@
/**
* Utility class for tokenizing a DTD.
*/
-public class DTDTokenizer {
+public final class DTDTokenizer {
/**
* Private constructor. Should not be instantiated.
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/PSColor.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -34,7 +34,7 @@
/**
* Utility class for PostScript color conversions.
*/
-public class PSColor {
+public final class PSColor {
/**
* Private constructor. This currently has only static methods.
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL2.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL2.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL2.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -34,7 +34,7 @@
* size error.
* @see GlyphListAGL
*/
-public class GlyphListAGL2 {
+public final class GlyphListAGL2 {
/**
* This array contains the Unicode code points that correspond to the glyph
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL3.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL3.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL3.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -34,7 +34,7 @@
* size error.
* @see GlyphListAGL
*/
-public class GlyphListAGL3 {
+public final class GlyphListAGL3 {
public static final char[] CHAR_LIST = {
0x0001,
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL4.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL4.java 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/encode/GlyphListAGL4.java 2006-09-07 23:53:02 UTC (rev 7979)
@@ -34,7 +34,7 @@
* size error.
* @see GlyphListAGL
*/
-public class GlyphListAGL4 {
+public final class GlyphListAGL4 {
public static final short[] GLYPH_NAME_INDEX = {
1454,
Modified: trunk/foray/scripts/checkstyle-config.xml
===================================================================
--- trunk/foray/scripts/checkstyle-config.xml 2006-09-07 23:44:10 UTC (rev 7978)
+++ trunk/foray/scripts/checkstyle-config.xml 2006-09-07 23:53:02 UTC (rev 7979)
@@ -116,9 +116,7 @@
<module name="DefaultComesLast"/>
<module name="EmptyStatement"/>
<module name="FallThrough"/>
- <module name="FinalClass">
- <property name="severity" value="ignore"/>
- </module>
+ <module name="FinalClass"/>
<module name="FinalParameters">
<!-- Not sure we want this one. We already have a test to make sure that
it is final if it can be, but this forces it to be final. -->
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|