[Bluej-discuss] Bug in example/people
Kurt Petersen
kurt at ache.dk
Mon Feb 5 12:10:28 GMT 2007
Hi
I could not get an id for the bug report system, so here goes:
I do the following:
Open BlueJ, example/people
Create a Staff object
Create a database object
Invoke addPerson (no object is proposed in the list), specify "staff1"
Invoke listAll() -- it works fine
Remove both database1 and staff1 objects
Create a new staff2 object
Create a new database2 object
Invoke listALL() -- no items in the list -- correct
Invoke addPerson, (now staff1, that does not exist is proposed in the
list), add staff2
Invoke listAll()
Now the old staff1 AND the new staff2 is listed. Only staff2 should be
there.
Kurt
More information about the bluej-discuss
mailing list