Fixed
Details
Assignee
Andrej GolovninAndrej GolovninReporter
Andrej GolovninAndrej GolovninFix versions
Priority
Major
Details
Details
Assignee
Andrej Golovnin
Andrej GolovninReporter
Andrej Golovnin
Andrej GolovninFix versions
Priority
Created April 4, 2016 at 7:07 PM
Updated May 21, 2016 at 6:43 PM
Resolved April 6, 2016 at 10:29 AM
Every instance of EntityInfoImpl references a LinkedList which is used to store the indexes of the entity in the projection even when ProjectionConstants.THIS was not specified in the projection fields. This can be easily avoided. We can use a placeholder in the projection array which will be replaced later in the #populateWithEntityInstance-method.
Additionally the constructor of EntityInfoImpl makes a copy of the projected values array. This is not needed as the array was just created before the call to the constructor and the array is not modified after the call to the constructor.