diff options
author | Keiron Liddle <keiron@apache.org> | 2002-10-25 09:29:48 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-10-25 09:29:48 +0000 |
commit | f4277e55a8810a0badd3a0dbb233178b678d0119 (patch) | |
tree | 9563455dd2f825ac8c0a24d19e99da70f2d7ec10 /src/org/apache/fop/fo/AbstractCharIterator.java | |
parent | 40209c4fc88254b792d07b63be3955c8288b3e7a (diff) | |
download | xmlgraphics-fop-f4277e55a8810a0badd3a0dbb233178b678d0119.tar.gz xmlgraphics-fop-f4277e55a8810a0badd3a0dbb233178b678d0119.zip |
more style fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195362 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/AbstractCharIterator.java')
-rw-r--r-- | src/org/apache/fop/fo/AbstractCharIterator.java | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/org/apache/fop/fo/AbstractCharIterator.java b/src/org/apache/fop/fo/AbstractCharIterator.java index b040f413e..69d342dfd 100644 --- a/src/org/apache/fop/fo/AbstractCharIterator.java +++ b/src/org/apache/fop/fo/AbstractCharIterator.java @@ -13,16 +13,16 @@ import java.util.NoSuchElementException; public abstract class AbstractCharIterator implements CharIterator, Cloneable { - abstract public boolean hasNext(); + public abstract boolean hasNext(); - abstract public char nextChar() throws NoSuchElementException ; + public abstract char nextChar() throws NoSuchElementException ; public Object next() throws NoSuchElementException { - return new Character(nextChar()); + return new Character(nextChar()); } public void remove() { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException(); } @@ -30,10 +30,11 @@ public abstract class AbstractCharIterator implements CharIterator, Cloneable { } public Object clone() { - try { - return super.clone(); - } catch (CloneNotSupportedException ex) { - return null; - } + try { + return super.clone(); + } catch (CloneNotSupportedException ex) { + return null; + } } -}; +} + |