pkdevboxy / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

FastTreeItem call to hasBeenOpened() is inaccurate #291

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What version of gwt and gwt-incubator are you using?
GWT 1.6 rev 1539 

What OS and browser are you using?
Mac Firefox 3.5
Linux Firefox 3.0.10

Do you see this error in hosted mode, web mode, or both?
Both 

(If possible, please include a test case that shows the problem)

Hopefully using the test case you have generously provided, what steps will
reproduce the problem? 
1. Open a FastTreeItem
2. Close the FastTreeItem
3. hasBeenOpened() returns false

What is the expected output? What do you see instead?

I would expect the call to hasBeenOpened() to return true (since it has
been opened at some point)

If this is the intended return value, then perhaps the method should have a
clearer name/comment.

Original issue reported on code.google.com by imjas...@gmail.com on 14 Jul 2009 at 8:41

GoogleCodeExporter commented 8 years ago
Here's a patch, I think this should fix it.

Original comment by imjas...@gmail.com on 14 Jul 2009 at 8:54

Attachments: