camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Chekan <vche...@cox.net>
Subject Generics
Date Mon, 01 Sep 2008 02:16:10 GMT
Folks,
I've educated myself about generics in Java and looks like there is 
plenty of work to do in the project.

1. There are 4K of compiler warnings when I imported all projects.
2. Generics are consistently used as raw types all over the project, 
which defeats the very idea of generics as a way to avoid type casts and 
improve code quality as the result.
3. Some constructions look suspicious, for example
class RouteType extends ProcessorType<ProcessorType>
perhaps should be
class RouteType extends ProcessorType<ProcessorType<RouteType>>
if I understand the idea correctly.

Any comments?

Mime
View raw message