Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IList.destroy doesn't empty the list #449

Closed
bjon opened this issue Mar 22, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@bjon
Copy link

commented Mar 22, 2013

Running this example show that last print isn't zero

final IList<String> list = client.getList("listtest");
System.out.printf("size (should be 0): %s%n", list.size());
list.add("1");
list.add("2");
System.out.printf("size (should be 2): %s%n", list.size());
list.clear();
System.out.printf("size (should be 0): %s%n", list.size());
list.add("1");
list.add("2");
System.out.printf("size (should be 2): %s%n", list.size());
list.destroy();
System.out.printf("size (should be 0): %s%n", list.size());

ps. Using version 2.5.0

@gurbuzali gurbuzali closed this in 2abbea7 Mar 22, 2013

@ghost ghost assigned gurbuzali Mar 22, 2013

@bjon

This comment has been minimized.

Copy link
Author

commented Mar 22, 2013

Oooo that was fast! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.