[FOray-commit] SF.net SVN: foray: [7989] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-08 01:44:50
|
Revision: 7989
http://svn.sourceforge.net/foray/?rev=7989&view=rev
Author: victormote
Date: 2006-09-07 18:44:31 -0700 (Thu, 07 Sep 2006)
Log Message:
-----------
Style changes only.
Modified Paths:
--------------
trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java
trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java
trunk/foray/foray-app/src/java/org/foray/demo/servlet/AbstractDemoServlet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java
trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/SerializeHyphPattern.java
trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFEncryption.java
trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayXDiff.java
trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java
trunk/foray/scripts/checkstyle-config.xml
Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-app/src/java/org/foray/app/ant/FOrayAntTask.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -228,7 +228,7 @@
/**
* Starts execution of this task
*/
- public void execute() throws BuildException {
+ public void execute() {
Log log = null;
switch (getMessageType()) {
case Project.MSG_INFO: {
Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -79,7 +79,7 @@
* This creates the reference output, if required, then tests
* the current build.
*/
- public void execute() throws BuildException {
+ public void execute() {
runReference();
testNewBuild();
}
@@ -129,7 +129,7 @@
* the version required.
* The reference output is then created.
*/
- protected void runReference() throws BuildException {
+ protected void runReference() {
// check not already done
final File f = new File(basedir + "/reference/output/");
// if(f.exists()) {
Modified: trunk/foray/foray-app/src/java/org/foray/demo/servlet/AbstractDemoServlet.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/servlet/AbstractDemoServlet.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-app/src/java/org/foray/demo/servlet/AbstractDemoServlet.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -141,8 +141,7 @@
*/
protected FOrayDocument setupJAXPDocument(final File xmlFile,
final File xslFile, final FOraySession session)
- throws TransformerFactoryConfigurationError,
- TransformerConfigurationException, FOrayException {
+ throws TransformerConfigurationException, FOrayException {
// Setup FOrayDocument
final TransformerFactory factory = TransformerFactory.newInstance();
final Transformer transformer = factory.newTransformer(
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -180,8 +180,7 @@
* @param mappingClassName The name of the Namespace subclass for which
* an instance should be created.
*/
- public Namespace createNonstandardNamespace(final String mappingClassName)
- throws IllegalArgumentException {
+ public Namespace createNonstandardNamespace(final String mappingClassName) {
try {
return (Namespace)Class.forName(mappingClassName).newInstance();
} catch (final ClassNotFoundException e) {
Modified: trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/SerializeHyphPattern.java
===================================================================
--- trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/SerializeHyphPattern.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-hyphen-r/src/java/org/foray/hyphenR/SerializeHyphPattern.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -33,7 +33,6 @@
import org.axsl.hyphenR.HyphenationException;
import org.apache.commons.logging.Log;
-import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
import org.apache.tools.ant.taskdefs.MatchingTask;
@@ -54,7 +53,7 @@
/**
* Main method, which is called by ant.
*/
- public void execute() throws BuildException {
+ public void execute() {
final DirectoryScanner ds = this.getDirectoryScanner(sourceDir);
final String[] files = ds.getIncludedFiles();
for (int i = 0; i < files.length; i++) {
Modified: trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFEncryption.java
===================================================================
--- trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFEncryption.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-pdf/src/java/org/foray/pdf/object/PDFEncryption.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -390,7 +390,7 @@
*
* @return the PDF
*/
- public String toPDF() throws IllegalStateException {
+ public String toPDF() {
if (this.dictionary == null) {
throw new IllegalStateException("PDF Encryption has not been "
+ "initialized");
Modified: trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayXDiff.java
===================================================================
--- trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayXDiff.java 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-pretty/src/java/org/foray/pretty/FOrayXDiff.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -100,7 +100,7 @@
}
private void convertStreams(final InputStream[] streams)
- throws IllegalArgumentException, XMLStreamException {
+ throws XMLStreamException {
if (streams == null) {
throw new IllegalArgumentException("No InputStreams to compare.");
}
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 01:37:47 UTC (rev 7988)
+++ trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java 2006-09-08 01:44:31 UTC (rev 7989)
@@ -786,8 +786,7 @@
return pageList.size();
}
- public PageFormat getPageFormat(final int pageIndex)
- throws IndexOutOfBoundsException {
+ public PageFormat getPageFormat(final int pageIndex) {
if (pageIndex >= pageList.size()) {
return null;
}
@@ -814,8 +813,7 @@
return pageFormat;
}
- public Printable getPrintable(final int pageIndex)
- throws IndexOutOfBoundsException {
+ public Printable getPrintable(final int pageIndex) {
return this;
}
Modified: trunk/foray/scripts/checkstyle-config.xml
===================================================================
--- trunk/foray/scripts/checkstyle-config.xml 2006-09-08 01:37:47 UTC (rev 7988)
+++ trunk/foray/scripts/checkstyle-config.xml 2006-09-08 01:44:31 UTC (rev 7989)
@@ -162,9 +162,7 @@
</module>
<module name="PackageDeclaration"/>
<module name="ParenPad"/>
- <module name="RedundantThrows">
- <property name="severity" value="ignore"/>
- </module>
+ <module name="RedundantThrows"/>
<module name="RightCurly">
<property name="severity" value="ignore"/>
</module>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|