Craig,
Thanks for your assistance with this. I'm running Java 1.6, so I'll
try your suggested change and see how it works out.
The Sunburned Surveyor
On 5/16/07, A. Craig West <[EMAIL PROTECTED]> wrote:
> On 5/16/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
> > Here is my attempt at definin
On 5/16/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
> Here is my attempt at defining the HashMap using Java Generics:
>
> private HashMap
> rendererFactoryTools = new HashMap IRendererFactoryTool>();
The correct declaration should probably be:
private HashMap renderFactoryTools = new
HashMap
I was hoping you guys might be able to give me a little help with Java
Generics. I'm trying to track down a null pointer exception in my
pluggable rendering code, and I think it may result from improper use
of Generics.
In my RenderingFactory class I store a HashMap. The keys for this
HashMap are