DefaultQuery constructor does not stores the property names

Description

the full parametrized contructor of DefaultQuery recieves as one of its arguments the list of attributes names que query should retrieve.

It is stored as a String[] instance variable but the constructor is not storing it due to a type mismatch: the field is named "properties"
and the parameter "propNames", so the constructor is assingning:

this.properties = properties;

instead of:

this.properties = propNames;

so it is assigning null to null.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:03 PM

CodeHaus Comment From: cholmes - Time: Wed, 19 Nov 2003 10:40:34 -0600
---------------------
Fixed, just changed the one line.

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Priority

High
Configure