Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java @ 3379:0de61fc9d281
Removed some superfluous casts.
flys-client/trunk@5116 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 24 Jul 2012 08:11:41 +0000 |
parents | 2867a0192aed |
children | d45fcf70b994 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java Sat Jul 21 19:54:20 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/RiverServiceImpl.java Tue Jul 24 08:11:41 2012 +0000 @@ -91,7 +91,7 @@ theRivers.add(new DefaultRiver(name)); } - return (River[]) theRivers.toArray(new River[count]); + return theRivers.toArray(new River[count]); } catch (ConnectionException ce) { logger.error(ce, ce);