You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Markus Holmberg <ma...@acc.umu.se> on 2000/09/20 16:34:19 UTC

jikes chokes on double semi colons [patch]

The subject says it all, jikes says the empty statement after return is
unreachable and fails. (Not sure if it's allowed per java language spec?
Can't see the need for double semi-colon's anyway so I guess they can be
removed :))

Regards, Markus.


Index: src/org/apache/fop//datatypes/IDReferences.java
===================================================================
RCS file:
/home/cvspublic/xml-fop/src/org/apache/fop/datatypes/IDReferences.java,v
retrieving revision 1.7
diff -u -r1.7 IDReferences.java
--- src/org/apache/fop//datatypes/IDReferences.java     2000/07/20 18:46:57    1.7
+++ src/org/apache/fop//datatypes/IDReferences.java     2000/09/20 14:30:31
@@ -192,7 +192,7 @@
         {
             list.append("\n\"").append(enum.nextElement().toString()).append("\" ")  ;
         }
-        return list.toString();;                
+        return list.toString();
     }
 
 
Index: src/org/apache/fop//fo/flow/TableCell.java
===================================================================
RCS file:
/home/cvspublic/xml-fop/src/org/apache/fop/fo/flow/TableCell.java,v
retrieving revision 1.14
diff -u -r1.14 TableCell.java
--- src/org/apache/fop//fo/flow/TableCell.java  2000/06/29 22:24:01 1.14
+++ src/org/apache/fop//fo/flow/TableCell.java  2000/09/20 14:30:32
@@ -213,7 +213,7 @@
     }
 
     public int getHeight() {
-       return areaContainer.getHeight();;
+       return areaContainer.getHeight();
     }
     
     public void setHeight(int height) {


-- 

Markus Holmberg         |       Give me Unix or give me a typewriter.
markush@acc.umu.se      |       http://www.freebsd.org/