Placeholders bug stores null values


#1

In the method AbstractSplitDockingGrid.addPlaceholders method, there is a bug causing null values to be introduced if oldPlaceholders.length > placeholders.length. I’m using version 1.1.2p20a.

On line 278:
System.arraycopy( oldPlaceholders, 0, node.placeholders, 0, placeholders.length );
Should be:
System.arraycopy( oldPlaceholders, 0, node.placeholders, 0, oldPlaceholders.length );


#2

Thanks for the bug report, I’ll fix that ASAP.


#3

The new version is uploaded. Thanks you for finding and fixing the bug.