[FOray-commit] SF.net SVN: foray: [7857] trunk/foray/foray-fotree/src/java/org/foray/ fotree
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-02 22:07:19
|
Revision: 7857
http://svn.sourceforge.net/foray/?rev=7857&view=rev
Author: victormote
Date: 2006-09-02 15:07:15 -0700 (Sat, 02 Sep 2006)
Log Message:
-----------
Remove throws clause from FObj constructor.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java
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-02 22:05:34 UTC (rev 7856)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2006-09-02 22:07:15 UTC (rev 7857)
@@ -60,8 +60,7 @@
protected int column;
protected FObj(final FObj parent, final PropertyList propertyList,
- final String systemId, final int line, final int column)
- throws FOTreeException {
+ final String systemId, final int line, final int column) {
// Register the parent as the parent of this.
super(parent);
// Register this as a child of the parent.
@@ -319,7 +318,7 @@
return null;
}
- protected void addChild(final FONode child) throws FOTreeException {
+ protected void addChild(final FONode child) {
children.add(child);
}
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-02 22:05:34 UTC (rev 7856)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java 2006-09-02 22:07:15 UTC (rev 7857)
@@ -49,7 +49,7 @@
textBuffer.append(data,start,length);
}
- protected void finalizeText() throws FOTreeException {
+ protected void finalizeText() {
if (! this.shouldCreateFOText()) {
return;
}
@@ -59,7 +59,7 @@
textBuffer.setLength(0);
}
- private boolean shouldCreateFOText() throws FOTreeException {
+ private boolean shouldCreateFOText() {
if (textBuffer == null) {
return false;
}
@@ -88,7 +88,7 @@
textBuffer = null;
}
- protected void addChild(final FONode child) throws FOTreeException {
+ protected void addChild(final FONode child) {
/*
* Before adding the element child, see if there is any text in the
* buffer. If so, create an FOText node before adding the element
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|