[FOray-commit] SF.net SVN: foray: [7986] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-08 01:31:37
|
Revision: 7986
http://svn.sourceforge.net/foray/?rev=7986&view=rev
Author: victormote
Date: 2006-09-07 18:30:56 -0700 (Thu, 07 Sep 2006)
Log Message:
-----------
Style changes only.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-common/src/java/org/foray/common/RandomInput.java
trunk/foray/foray-common/src/java/org/foray/common/url/ProtocolRegistrationStrategy.java
trunk/foray/foray-common/src/java/org/foray/common/url/URLFactory.java
trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java
trunk/foray/foray-font/src/java/org/foray/font/FontSelector.java
trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java
trunk/foray/foray-font/src/java/org/foray/font/format/MetricsFile.java
trunk/foray/foray-font/src/java/org/foray/font/format/TTFFile.java
trunk/foray/foray-font/src/java/org/foray/font/format/TTFTable.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/Namespace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageMasterResolver.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Region.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SubSequenceSpecifier.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyParser.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyTokenizer.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/Expr.java
trunk/foray/foray-graphic/src/java/org/foray/graphic/Graphic.java
trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/HyphenationTree.java
trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/TernaryTree.java
trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFDocument.java
trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFXObject.java
trunk/foray/foray-ps/src/java/org/foray/ps/PSFile.java
trunk/foray/foray-ps/src/java/org/foray/ps/PSInput.java
trunk/foray/foray-ps/src/java/org/foray/ps/PSNumber.java
trunk/foray/foray-ps/src/java/org/foray/ps/PSObject.java
trunk/foray/foray-ps/src/java/org/foray/ps/encode/Encoding.java
trunk/foray/foray-render/src/java/org/foray/render/Renderer.java
trunk/foray/scripts/checkstyle-config.xml
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -288,7 +288,7 @@
* @return The total amount of the progression-dimension that has been
* used by siblings.
*/
- public abstract int pdUsedBySiblings() ;
+ public abstract int pdUsedBySiblings();
/**
* @return The inline-progression-dimension of the border-rectangle for
@@ -504,7 +504,7 @@
* @return The block-progression-dimension of the content-rectangle for
* this Area.
*/
- public abstract int crBPD() ;
+ public abstract int crBPD();
/**
* The difference, in millipoints, between the page-viewport-area's
Modified: trunk/foray/foray-common/src/java/org/foray/common/RandomInput.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/RandomInput.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-common/src/java/org/foray/common/RandomInput.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -70,7 +70,7 @@
* Return the input as an InputStream.
* @return An InputStream containing the input contents.
*/
- InputStream getInputStream() throws IOException ;
+ InputStream getInputStream() throws IOException;
/**
* Releases any resources that can be released without compromising the
@@ -81,6 +81,6 @@
* Note that if resources are reset, each implementation is responsible to
* reboot those resources when needed.
*/
- void reset() ;
+ void reset();
}
Modified: trunk/foray/foray-common/src/java/org/foray/common/url/ProtocolRegistrationStrategy.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/url/ProtocolRegistrationStrategy.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/ProtocolRegistrationStrategy.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -51,6 +51,6 @@
* @return The URLStreamHandler registered with this registration scheme,
* or null if the protocol has not been registered.
*/
- URLStreamHandler getURLStreamHandler(String protocol) ;
+ URLStreamHandler getURLStreamHandler(String protocol);
}
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-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-common/src/java/org/foray/common/url/URLFactory.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -161,8 +161,8 @@
*/
aRef=true;
}
- for (i = start ; !aRef && (i < limit) &&
- ((c = spec.charAt(i)) != '/') ; i++) {
+ for (i = start; !aRef && (i < limit) &&
+ ((c = spec.charAt(i)) != '/'); i++) {
if (c == ':') {
final String s = spec.substring(start, i).toLowerCase();
if (isValidProtocol(s)) {
Modified: trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -82,7 +82,7 @@
/**
* {@inheritDoc}
*/
- public abstract int width(int c, int fontSize) ;
+ public abstract int width(int c, int fontSize);
/**
* {@inheritDoc}
@@ -170,27 +170,27 @@
/**
* {@inheritDoc}
*/
- public abstract boolean isEmbeddable() ;
+ public abstract boolean isEmbeddable();
/**
* {@inheritDoc}
*/
- public abstract boolean isSubsettable() ;
+ public abstract boolean isSubsettable();
/**
* {@inheritDoc}
*/
- public abstract java.awt.Font getAWTFont(int fontSize) ;
+ public abstract java.awt.Font getAWTFont(int fontSize);
/**
* {@inheritDoc}
*/
- public abstract boolean usableInPostScriptOutput() ;
+ public abstract boolean usableInPostScriptOutput();
/**
* {@inheritDoc}
*/
- public abstract org.axsl.psR.Encoding getInternalEncoding() ;
+ public abstract org.axsl.psR.Encoding getInternalEncoding();
/**
* {@inheritDoc}
@@ -202,9 +202,9 @@
/**
* {@inheritDoc}
*/
- public abstract byte getFontFormat() ;
+ public abstract byte getFontFormat();
- protected abstract Kerning getKerning() ;
+ protected abstract Kerning getKerning();
/**
* Reports whether the font actually contains any kerning information.
@@ -225,12 +225,12 @@
* @return True if both 1) kerning is available for this font, and 2) the
* font configuration has kerning="yes" for this font; false otherwise.
*/
- public abstract boolean kerningActive() ;
+ public abstract boolean kerningActive();
/**
* {@inheritDoc}
*/
- public abstract int kern(int char1, int char2) ;
+ public abstract int kern(int char1, int char2);
/**
* Returns the width of the undefined or missing glyph.
@@ -238,34 +238,34 @@
* @return The width, in millipoints, of the undefined glyph at the
* specified point size.
*/
- public abstract int widthUndefinedGlyph(int fontSize) ;
+ public abstract int widthUndefinedGlyph(int fontSize);
/**
* Reports on the availability of a glyph in this font, without regard to
* encoding issues.
* @return True iff this font can paint a glyph for <em>c</em>.
*/
- public abstract boolean glyphAvailable(int c) ;
+ public abstract boolean glyphAvailable(int c);
/**
* {@inheritDoc}
*/
- public abstract float getItalicAngle() ;
+ public abstract float getItalicAngle();
/**
* {@inheritDoc}
*/
- public abstract int getStemV() ;
+ public abstract int getStemV();
/**
* {@inheritDoc}
*/
- public abstract int getDefaultWidth() ;
+ public abstract int getDefaultWidth();
/**
* {@inheritDoc}
*/
- public abstract boolean isPDFStandardFont() ;
+ public abstract boolean isPDFStandardFont();
public RegisteredFont getRegisteredFont() {
return this.registeredFont;
@@ -278,12 +278,12 @@
/**
* @return The number of glyphs in this font.
*/
- public abstract int getNumGlyphs() ;
+ public abstract int getNumGlyphs();
/**
* @return The character set for this font.
*/
- public abstract CharSet getCharSet() ;
+ public abstract CharSet getCharSet();
/**
* {@inheritDoc}
@@ -320,7 +320,7 @@
* {@link Integer#MIN_VALUE}.
*/
public abstract int extractBaseline(int writingMode, int baselineType,
- int fontSize) ;
+ int fontSize);
/**
* Provides reasonable estimates of the various baseline values for the
Modified: trunk/foray/foray-font/src/java/org/foray/font/FontSelector.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/FontSelector.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-font/src/java/org/foray/font/FontSelector.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -45,6 +45,6 @@
public abstract RegisteredFontDesc selectFont(String [] familyList,
int style, int weight, int variant, int stretch, int size,
- int codePoint) throws FontException ;
+ int codePoint) throws FontException;
}
Modified: trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -166,7 +166,7 @@
return fontSize * xHeight / 1000;
}
- public abstract int[] getFontBBox() ;
+ public abstract int[] getFontBBox();
public int getFlags() {
return flags;
@@ -184,7 +184,7 @@
* defined in the PDF Reference, Second Edition, Section 5.7.
* @return The StemV value, in 1/1000ths of a text space unit.
*/
- public abstract int getStemV() ;
+ public abstract int getStemV();
/**
* @return The default glyph width for this font, expressed in 1/1000ths of
@@ -257,7 +257,7 @@
}
public abstract byte[] getRawFontFile(FOrayFontUse fontUse)
- throws IOException ;
+ throws IOException;
/**
* FreeStandingFonts are never AWTFonts, so this always returns null.
Modified: trunk/foray/foray-font/src/java/org/foray/font/format/MetricsFile.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/format/MetricsFile.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-font/src/java/org/foray/font/format/MetricsFile.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -97,7 +97,7 @@
/**
* Parses the Metrics file
*/
- public abstract void load() throws IOException ;
+ public abstract void load() throws IOException;
/**
* Returns the name of the font.
@@ -135,7 +135,7 @@
* Returns the name of the font's encoding vector, e.g. "StandardEncoding".
* @return The name of the font's encoding vector.
*/
- public abstract String getEncoding() ;
+ public abstract String getEncoding();
/**
* Returns the CapHeight parameter for the font (height of uppercase H).
@@ -171,14 +171,14 @@
* number.
* @return The LowerCaseDescent parameter.
*/
- public abstract int getLowerCaseDescent() ;
+ public abstract int getLowerCaseDescent();
/**
* Tells whether the font has proportional character spacing.
*
* @return ex. true for Times, false for Courier.
*/
- public abstract boolean getIsProportional() ;
+ public abstract boolean getIsProportional();
/**
* Returns the bounding box for the font.
@@ -247,13 +247,13 @@
* Returns the width of the dominant vertical stems of the font.
* @return The vertical stem width.
*/
- public abstract int getStemV() ;
+ public abstract int getStemV();
/**
* Returns the width of the dominant horizontal stems of the font.
* @return The horizontal stem width.
*/
- public abstract int getStemH() ;
+ public abstract int getStemH();
/**
* Returns the italic angle of the font.
@@ -273,10 +273,10 @@
return this.extentTable;
}
- public abstract CharSet getCharSet() ;
+ public abstract CharSet getCharSet();
- public abstract EncodingVector getInternalEncoding() ;
+ public abstract EncodingVector getInternalEncoding();
- public abstract String getUniqueID() ;
+ public abstract String getUniqueID();
}
Modified: trunk/foray/foray-font/src/java/org/foray/font/format/TTFFile.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/format/TTFFile.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-font/src/java/org/foray/font/format/TTFFile.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -85,7 +85,7 @@
/**
* Parse the basics of the font file.
*/
- protected abstract void readFile() throws IOException ;
+ protected abstract void readFile() throws IOException;
/**
* Returns the TTFFont instance, if any, for a given font name.
@@ -94,13 +94,13 @@
* correct font in a TrueType collection).
* @return The TTFFont instance for fontName.
*/
- public abstract TTFFont getTTFFont(String fontName) throws IOException ;
+ public abstract TTFFont getTTFFont(String fontName) throws IOException;
/**
* Return an array of all TTFFont instances in this file.
* @return An array of all TTFFont instances in this file.
*/
- public abstract TTFFont[] getTTFFonts() ;
+ public abstract TTFFont[] getTTFFonts();
public Log getLogger() {
return reader.getLogger();
Modified: trunk/foray/foray-font/src/java/org/foray/font/format/TTFTable.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/format/TTFTable.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-font/src/java/org/foray/font/format/TTFTable.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -69,7 +69,7 @@
abstract void parseTable() throws IOException;
- abstract String getTableTag() ;
+ abstract String getTableTag();
/**
* Position inputstream to position indicated
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -152,7 +152,7 @@
* properties are parsed.
* @throws FOTreeException For invalid ancestry.
*/
- protected abstract void validateAncestry() throws FOTreeException ;
+ protected abstract void validateAncestry() throws FOTreeException;
/**
* A hook into the parsing process which allows the subclass instance to
@@ -161,14 +161,14 @@
* any children have been read.
* @throws FOTreeException For invalid properties.
*/
- protected abstract void validateProperties() throws FOTreeException ;
+ protected abstract void validateProperties() throws FOTreeException;
/**
* A hook into the parsing process which allows the subclass instance to
* do some initialization-type work after all of the properties have been
* parsed, but before any of the children have been parsed.
*/
- protected abstract void setup() throws FOTreeException ;
+ protected abstract void setup() throws FOTreeException;
/**
* A hook into the parsing process which allows the subclass instance to
@@ -176,14 +176,14 @@
* This method is called after all children have been parsed.
* @throws FOTreeException For invalid descendants.
*/
- protected abstract void validateDescendants() throws FOTreeException ;
+ protected abstract void validateDescendants() throws FOTreeException;
/**
* This method is a hook into the parsing process, primarily to allow the
* subclass to do some validation or setup work after the object and all of
* its properties have been parsed and all of its children processed.
*/
- protected abstract void end() throws FOTreeException ;
+ protected abstract void end() throws FOTreeException;
/**
* Subclasses can set this flag to false if there is a validity problem
@@ -392,7 +392,7 @@
* Gets the Namespace instance that is associated with this object.
* @return The Namespace instance that is associated with this object.
*/
- public abstract Namespace getNamespace() ;
+ public abstract Namespace getNamespace();
public String getPropertyName(final short propertyType) {
return getFOTreeBuilder().getPropertyName(propertyType);
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -84,7 +84,7 @@
* @return True iff PCDATA in this element must have an ancestor block
* element.
*/
- public abstract boolean blockMustEnclosePCDATA() ;
+ public abstract boolean blockMustEnclosePCDATA();
protected void end() throws FOTreeException {
finalizeText();
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -194,8 +194,8 @@
this.stringBuffer.append(data, start, length);
}
- public abstract int intrinsicContentWidth() ;
+ public abstract int intrinsicContentWidth();
- public abstract int intrinsicContentHeight() ;
+ public abstract int intrinsicContentHeight();
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/Namespace.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/Namespace.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/Namespace.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -231,7 +231,7 @@
* @param localName The local name of the element to be enumerated.
* @return The byte representation of the element name.
*/
- public abstract byte enumerateElement(String localName) ;
+ public abstract byte enumerateElement(String localName);
/**
* Converts the String attributeName to a byte representation of the
@@ -239,10 +239,10 @@
* @param attributeName The local name of the attribute to be enumerated.
* @return The short representation of the attribute name.
*/
- public abstract short enumerateAttribute(String attributeName) ;
+ public abstract short enumerateAttribute(String attributeName);
protected abstract PropertyList createNewPropertyList(String localName,
- Attributes attlist) ;
+ Attributes attlist);
/**
* Returns the name of the property from its integral representation. Used
@@ -251,6 +251,6 @@
* this Namespace.
* @return The String representation of the property name.
*/
- public abstract String getPropertyName(short propertyType) ;
+ public abstract String getPropertyName(short propertyType);
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -184,7 +184,7 @@
return pv;
}
- protected abstract short[] getValidKeywords() ;
+ protected abstract short[] getValidKeywords();
protected PropertyKeyword checkKeywords(final String possibleKeyword) {
final short[] validKeywords = getValidKeywords();
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageMasterResolver.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageMasterResolver.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageMasterResolver.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -154,7 +154,7 @@
*/
private abstract class SubSequenceWrapper {
abstract String getNextPageMasterName(boolean isFirstPage,
- boolean isLastPage, boolean isOddPage, boolean isEmptyPage) ;
+ boolean isLastPage, boolean isOddPage, boolean isEmptyPage);
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceTemplate.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -43,6 +43,6 @@
* @return The page-master instances that can be generated from this
* template.
*/
- Set getPages() ;
+ Set getPages();
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Region.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Region.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Region.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -159,28 +159,28 @@
* @return The X coordinate of the upper left corner of the region's
* viewport's content rectangle, in millipoints.
*/
- public abstract int getXPositionVPContent(FOContext context) ;
+ public abstract int getXPositionVPContent(FOContext context);
/**
* <p>Convenience method reporting the region's vertical position.</p>
* @return The Y coordinate of the upper left corner of the region's
* viewport's content rectangle, in millipoints.
*/
- public abstract int getYPositionVPContent(FOContext context) ;
+ public abstract int getYPositionVPContent(FOContext context);
/**
* <p>Convenience method reporting the region's width.</p>
* @return The width of the region's viewport's content rectangle, in
* millipoints.
*/
- public abstract int getWidthVPContent(FOContext context) ;
+ public abstract int getWidthVPContent(FOContext context);
/**
* <p>Convenience method reporting the region's height.</p>
* @return The height of the region's viewport's content rectangle, in
* millipoints.
*/
- public abstract int getHeightVPContent(FOContext context) ;
+ public abstract int getHeightVPContent(FOContext context);
public Namespace getNamespace() {
return this.getFOTreeBuilder().getFONamespace();
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SubSequenceSpecifier.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SubSequenceSpecifier.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SubSequenceSpecifier.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -94,7 +94,7 @@
* @return The page-master instances that can be generated from this
* specifier.
*/
- public abstract Set getPages() ;
+ public abstract Set getPages();
/**
* Checks to make sure that each page referenced actually exists.
@@ -102,6 +102,6 @@
* layout-master-set has been parsed, as you cannot be sure that all
* page-masters have been parsed until then.
*/
- public abstract void validatePageExistence() throws FOTreeException ;
+ public abstract void validatePageExistence() throws FOTreeException;
}
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-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyParser.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -117,7 +117,7 @@
// Evaluate and put result on the operand stack
ExprAdditive prop = parseMultiplicativeExpr();
loop:
- for (; ; ) {
+ for (;;) {
switch (currentToken) {
case TOK_PLUS:
next();
@@ -143,7 +143,7 @@
throws PropertyException {
ExprMultiplicative prop = parseUnaryExpr();
loop:
- for (; ; ) {
+ for (;;) {
switch (currentToken) {
case TOK_DIV:
next();
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyTokenizer.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyTokenizer.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/parse/PropertyTokenizer.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -113,7 +113,7 @@
currentTokenValue = null;
currentTokenStartIndex = exprIndex;
boolean bSawDecimal;
- for (; ; ) {
+ for (;;) {
if (exprIndex >= exprLength) {
currentToken = TOK_EOF;
return;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/Expr.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/Expr.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/Expr.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -54,7 +54,7 @@
* {@link #UNIT_POWER_AREA}.
* @return The unit power to which this expression evaluates.
*/
- public abstract byte unitPower() ;
+ public abstract byte unitPower();
/**
* Indicates whether this expression can be evaluated to a unit power = 1
Modified: trunk/foray/foray-graphic/src/java/org/foray/graphic/Graphic.java
===================================================================
--- trunk/foray/foray-graphic/src/java/org/foray/graphic/Graphic.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-graphic/src/java/org/foray/graphic/Graphic.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -224,9 +224,9 @@
*/
protected abstract void loadImage() throws GraphicException;
- public abstract int getGraphicType() ;
+ public abstract int getGraphicType();
- public abstract int getCompressionType() throws GraphicException ;
+ public abstract int getCompressionType() throws GraphicException;
public Log getLogger() {
return server.getLogger();
Modified: trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/HyphenationTree.java
===================================================================
--- trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/HyphenationTree.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/HyphenationTree.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -495,7 +495,7 @@
int minCharCount = 2;
final BufferedReader in =
new BufferedReader(new InputStreamReader(System.in));
- for (; ; ) {
+ for (;;) {
logger.info("l:\tload patterns from XML\n"
+ "L:\tload patterns from serialized object\n"
+ "s:\tset minimun character count\n"
Modified: trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/TernaryTree.java
===================================================================
--- trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/TernaryTree.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/TernaryTree.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -615,7 +615,7 @@
}
boolean leaf = false;
- for (; ; ) {
+ for (;;) {
// first go down on low branch until leaf or compressed branch
while (cur != 0) {
if (sc[cur] == 0xFFFF) {
Modified: trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFDocument.java
===================================================================
--- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFDocument.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFDocument.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -514,7 +514,7 @@
}
nextFontSubsetTag.toString();
nextFontSubsetTag[5] += 1;
- for (int i = nextFontSubsetTag.length - 1; i >= 0 ; i--) {
+ for (int i = nextFontSubsetTag.length - 1; i >= 0; i--) {
if (nextFontSubsetTag[i] > 'Z') {
nextFontSubsetTag[i] = 'A';
if (i > 0) {
Modified: trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFXObject.java
===================================================================
--- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFXObject.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFXObject.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -146,18 +146,18 @@
/**
* @return The subtype for the XObject.
*/
- protected abstract String xObjectSubtype() ;
+ protected abstract String xObjectSubtype();
/**
* Add the content specific to this type of XObject to the content stream.
*/
protected abstract void xObjectContent(PDFStream stream)
- throws GraphicException, IOException ;
+ throws GraphicException, IOException;
/**
* @return The dictonary entries specific to this type of XObject.
*/
- protected abstract String xObjectDictionary() ;
+ protected abstract String xObjectDictionary();
/**
* Return an appropriate compression filter for the Graphic.
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/PSFile.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/PSFile.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/PSFile.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -89,7 +89,7 @@
return chunk[chunkIndex - 1];
}
- protected abstract byte[] getNextChunk() throws IOException ;
+ protected abstract byte[] getNextChunk() throws IOException;
protected void closeFile() throws PSException {
fileIsOpen = false;
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/PSInput.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/PSInput.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/PSInput.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -50,6 +50,6 @@
* @return The next byte array that should be consumed by the interpreter,
* or null if there is no more input.
*/
- byte[] providePostScriptInput() throws IOException ;
+ byte[] providePostScriptInput() throws IOException;
}
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/PSNumber.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/PSNumber.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/PSNumber.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -45,7 +45,7 @@
/**
* @return The value of this number as a double.
*/
- public abstract double getDoubleValue() ;
+ public abstract double getDoubleValue();
/**
* Rounds the this's value.
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/PSObject.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/PSObject.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/PSObject.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -158,9 +158,9 @@
return access;
}
- protected abstract boolean isExecutable() ;
+ protected abstract boolean isExecutable();
- protected abstract byte getPSObjectType() ;
+ protected abstract byte getPSObjectType();
/**
* Test the comparability of two PSObjects. Used in the eq, ne, lt, etc.
@@ -169,12 +169,12 @@
* @return True if <code>this</code> is comparable to <code>object</code>,
* false otherwise.
*/
- protected abstract boolean isComparable(PSObject object) ;
+ protected abstract boolean isComparable(PSObject object);
/**
* Needed for the "type" operator.
* @return The type name as defined in PSRM2, Chapter 8, "type" operator.
*/
- protected abstract PSName getTypeName() ;
+ protected abstract PSName getTypeName();
}
Modified: trunk/foray/foray-ps/src/java/org/foray/ps/encode/Encoding.java
===================================================================
--- trunk/foray/foray-ps/src/java/org/foray/ps/encode/Encoding.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-ps/src/java/org/foray/ps/encode/Encoding.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -54,7 +54,7 @@
/**
* {@inheritDoc}
*/
- public abstract String asPostScript(org.axsl.psR.Encoding baseEncoding) ;
+ public abstract String asPostScript(org.axsl.psR.Encoding baseEncoding);
/**
* {@inheritDoc}
Modified: trunk/foray/foray-render/src/java/org/foray/render/Renderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/Renderer.java 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/foray-render/src/java/org/foray/render/Renderer.java 2006-09-08 01:30:56 UTC (rev 7986)
@@ -276,7 +276,7 @@
* @param strokeColor The stroke color.
*/
protected abstract void drawLine(int startX, int startY, int endX, int endY,
- int thickness, int ruleStyle, Color strokeColor) ;
+ int thickness, int ruleStyle, Color strokeColor);
/**
* Draw a rectangle in the output document.
@@ -293,7 +293,7 @@
*/
protected abstract void drawRectangle(int x, int y, int w, int h,
boolean stroke, Color strokeColor, boolean fill,
- Color fillColor) ;
+ Color fillColor);
/**
* Renders a generic Graphic, regardless of type to a given
@@ -329,7 +329,7 @@
* Rectangle)}, except for the specific case of SVG graphics.
*/
protected abstract void drawSVG(GraphicArea area, SVGGraphic graphic,
- Rectangle contentRectangle, Rectangle clipRectangle) ;
+ Rectangle contentRectangle, Rectangle clipRectangle);
public void render(final AreaNode node) {
renderChildren(node);
@@ -523,7 +523,7 @@
renderChildren(area);
}
- protected abstract void createBasicLink(BasicLinkArea area) ;
+ protected abstract void createBasicLink(BasicLinkArea area);
public void render(final InlineArea area) {
markBorder(area);
@@ -550,7 +550,7 @@
* Provides the Renderer with an opportunity to close any text objects that
* are in progress.
*/
- public abstract void resetTextCursor() ;
+ public abstract void resetTextCursor();
/**
* Creates a BridgeContext instance for use by Batik when rendering an SVG
Modified: trunk/foray/scripts/checkstyle-config.xml
===================================================================
--- trunk/foray/scripts/checkstyle-config.xml 2006-09-08 01:14:35 UTC (rev 7985)
+++ trunk/foray/scripts/checkstyle-config.xml 2006-09-08 01:30:56 UTC (rev 7986)
@@ -155,7 +155,7 @@
<!--<module name="NoWhitespaceAfter"/>-->
<module name="NoWhitespaceBefore">
- <property name="severity" value="ignore"/>
+ <property name="tokens" value="SEMI"/>
</module>
<module name="OperatorWrap">
<property name="severity" value="ignore"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|