Bug fix: Initialization in database data store.
This commit is contained in:
parent
9e65076f6a
commit
51810a905a
|
|
@ -318,6 +318,12 @@ public class DatabaseDataStore extends DataStore
|
|||
//find top level claim parent
|
||||
Claim topLevelClaim = this.getClaimAt(childClaim.getLesserBoundaryCorner(), true, null);
|
||||
|
||||
if(topLevelClaim == null)
|
||||
{
|
||||
claimsToRemove.add(childClaim);
|
||||
continue;
|
||||
}
|
||||
|
||||
//add this claim to the list of children of the current top level claim
|
||||
childClaim.parent = topLevelClaim;
|
||||
topLevelClaim.children.add(childClaim);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user