private Map<String, PropertyList> index;
public IndexedPropertyList(final PropertyList list, final String parameterName) {
final Map<String, PropertyList> indexedProperties = new HashMap<String, PropertyList>();
for (final Property property : list) {
for (final Iterator<Parameter> j = property.getParameters(parameterName).iterator(); j.hasNext();) {
<BUG>final Parameter parameter = (Parameter) j.next();
PropertyList properties = indexedProperties.get(parameter.getValue());</BUG>
if (properties == null) {
properties = new PropertyList();
indexedProperties.put(parameter.getValue(), properties);

private Map<String, PropertyList> index;
public IndexedPropertyList(final PropertyList list, final String parameterName) {
final Map<String, PropertyList> indexedProperties = new HashMap<String, PropertyList>();
for (final Property property : list) {
for (final Iterator<Parameter> j = property.getParameters(parameterName).iterator(); j.hasNext();) {
final Parameter parameter = j.next();
PropertyList properties = indexedProperties.get(parameter.getValue());
if (properties == null) {
properties = new PropertyList();
indexedProperties.put(parameter.getValue(), properties);
