[FOray-commit] SF.net SVN: foray: [7982] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-08 00:23:31
|
Revision: 7982
http://svn.sourceforge.net/foray/?rev=7982&view=rev
Author: victormote
Date: 2006-09-07 17:23:21 -0700 (Thu, 07 Sep 2006)
Log Message:
-----------
Style changes only.
Modified Paths:
--------------
trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java
trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPattern.java
trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java
trunk/foray/scripts/checkstyle-config.xml
Modified: trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java 2006-09-08 00:18:28 UTC (rev 7981)
+++ trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java 2006-09-08 00:23:21 UTC (rev 7982)
@@ -467,8 +467,7 @@
if (fontStream != null) {
try {
fontStream.close();
- } catch (final Exception ex)
- {
+ } catch (final Exception ex) {
}
}
}
Modified: trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPattern.java
===================================================================
--- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPattern.java 2006-09-08 00:18:28 UTC (rev 7981)
+++ trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFPattern.java 2006-09-08 00:23:21 UTC (rev 7982)
@@ -360,8 +360,9 @@
+ EOL);
}
- } else // if (this.patternType ==2)
- { // Smooth Shading...
+ } else {
+ // if (this.patternType ==2)
+ // Smooth Shading...
if (this.shading != null) {
p.append("/Shading " + this.shading.pdfReference() + EOL);
}
Modified: trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-09-08 00:18:28 UTC (rev 7981)
+++ trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-09-08 00:23:21 UTC (rev 7982)
@@ -181,8 +181,8 @@
int x = x1;
int y = y1;
int height, width;
- if (x1 == x2) // vertical line
- {
+ if (x1 == x2) {
+ /* vertical line */
height = y2 - y1;
if (height > 0) // y coordinates are reversed between fo and AWT
{
@@ -194,8 +194,8 @@
width = -width;
x -= width;
}
- } else // horizontal line
- {
+ } else {
+ /* horizontal line */
width = x2 - x1;
if (width < 0) {
width = -width;
Modified: trunk/foray/scripts/checkstyle-config.xml
===================================================================
--- trunk/foray/scripts/checkstyle-config.xml 2006-09-08 00:18:28 UTC (rev 7981)
+++ trunk/foray/scripts/checkstyle-config.xml 2006-09-08 00:23:21 UTC (rev 7982)
@@ -139,13 +139,11 @@
</module>
<module name="IllegalThrows"/>
<module name="Indentation">
- <!-- Doesn't differentiate between inter- and intra-statement
- indentation. -->
+ <!-- Leave off for now. We need something that differentiates between
+ inter- and intra-statement indentation. -->
<property name="severity" value="ignore"/>
</module>
- <module name="LeftCurly">
- <property name="severity" value="ignore"/>
- </module>
+ <module name="LeftCurly"/>
<module name="MethodParamPad">
<property name="severity" value="ignore"/>
</module>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|