cjbrowne/Onapos — Issue #12: Multiple calls to OnaposUI.populateTable() whenever a collection is selected
Author: cjbrowne
Created: 2012-02-21 12:11:09+00:00
State: open
Labels: Inefficiency

I'm not 100% sure we could fix this without hacking in some kind of careful "do not repeat yourself" check.

The behaviour can be instrumented by adding a call to System.out.println("call to populateTable()") at the top of the populateTable() method. My results vary between 2 calls and 5 calls when the collection is selected. I'm not sure how to reproduce specific values within the range.

This inefficiency is considered fairly minor, but should be monitored to make sure it doesn't get out of control.