[
https://issues.apache.org/jira/browse/SIS-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris A. Mattmann updated SIS-39:
---------------------------------
Component/s: storage
Fix Version/s: 0.3-incubating
- classify and schedule
> Capacity is not used and memory waste in QuadTreeNode
> -----------------------------------------------------
>
> Key: SIS-39
> URL: https://issues.apache.org/jira/browse/SIS-39
> Project: Spatial Information Systems
> Issue Type: Bug
> Components: storage
> Reporter: Peter Karich
> Assignee: Chris A. Mattmann
> Fix For: 0.3-incubating
>
>
> Either 'capacity' should be properly used. Or null checks are necessary in
> all places where the raw 'data' array is used. Also what happens if the data
> array is full? addData should at least throw an exception then:
> {code}
> public void addData(QuadTreeData data) {
> if (this.dataCount < this.capacity) {
> this.data[dataCount] = data;
> this.dataCount++;
> }
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira