cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Douglass" <r.dougl...@onlinehome.de>
Subject RE: cocoon and new eclipse java compiler
Date Thu, 06 Mar 2003 20:44:17 GMT
I had this when there was legacy code that we imported into Eclipse where
people had used semicolons to close { } blocks. Here's an example that would
cause an unreachable code:

try {
...
} catch (...) {...};

The semicolon is superfluous, but doesn't cause a problem in this block:

if(){...};

because it is interpreted as a complete Java statement which does nothing.
Same in the first example, except you can never get there. VisualAge doesn't
complain, but Eclipse does.

-Robert Douglass

-----Original Message-----
From: Leszek Gawron [mailto:ouzo@vip.net.pl]
Sent: Thursday, 06 March, 2003 9:32 PM
To: cocoon-users@xml.apache.org
Subject: cocoon and new eclipse java compiler


I have updated my cocoon installation today and I started to get a LOOOT of
"Unreachable code" errors disappeared while switching back to Pizza
What may be a problem ?
	ouzo
--
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/      ouzo@vip.net.pl          _\\()//_
         .'/()\'.     Phone: +48(600)341118     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message