protected void removeFacultySucceeded() {
display.removeItemFromFacultyList(display.getFacultyListSelectedIndex());
faculties.remove(faculty);
 if (!faculties.isEmpty()) {
faculty = faculties.get(display.getFacultyListSelectedIndex());
refreshDisplay();
}
 modification = true;
}

I was using the selected index instead of object faculty. While debugging I
confirmed that the first position was 0 ans was an integer... Every other
position was working fine.

I don't understand that bug either, I've worked around by using an object.

Anyway it's not that important, but I wanna know it's just me or it's
something that should be corrected.

Christian

On Fri, Jan 29, 2010 at 4:23 AM, Martin Trummer <[email protected]>wrote:

> show some code or a small test case
>
> On 28 Jan., 18:16, Christian Goudreau <[email protected]>
> wrote:
> > Does anyone had that same problem ? Everything works fine when it comes
> to
> > other indexes, but when I do ArrayList.remove(0), the object is still in
> > here ! But When I try : ArrayList.remove(object), it work again.
> >
> > Everything was working well prior to GWT 2.0.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to