Re: Unchecked compiler warning
- From: Lew <lew@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 24 Feb 2007 22:50:31 -0500
Lew wrote:
protected Vector<Canoe> canoes = new Vector<Canoe>();
John T wrote:
So are you assuming that there is a class called Canoe somewhere in the OP's class structure?
Lew wrote:
Sure. Aren't you?
John T wrote:
I didn't see one so I thought *maybe I'm just stupid* that the Canoe class wasn't written. That was the first thing I noticed... and it failed for me in Eclipse but the error message I got wasn't the same as that of the OP.
The OP clearly had not posted an SSCCE. His use of Canoe in his example was clearly for pedagogical purposes. Ergo, since I didn't see the definition of Canoe, I assumed it.
I have a maths degree. "Assume a spherical teacup. ... "
- Lew
.
- Follow-Ups:
- Re: Unchecked compiler warning
- From: MikeB
- Re: Unchecked compiler warning
- References:
- Unchecked compiler warning
- From: MikeB
- Re: Unchecked compiler warning
- From: John T
- Re: Unchecked compiler warning
- From: Lew
- Re: Unchecked compiler warning
- From: John T
- Re: Unchecked compiler warning
- From: Lew
- Re: Unchecked compiler warning
- From: John T
- Unchecked compiler warning
- Prev by Date: Re: Unchecked compiler warning
- Next by Date: Re: carriage return in hex 0D
- Previous by thread: Re: Unchecked compiler warning
- Next by thread: Re: Unchecked compiler warning
- Index(es):
Relevant Pages
|
|