for (int j = 0; j < compsToConfig.length; j++) { Property property = compsToConfig[j].getProperty(propName);   if (property != null) { addComponentForProperty(property); break; } }
Property property = component.getProperty(propName); if (property != null) addComponentForProperty(property);
  private void displayComponents(Collection propertyNames) {    for (Iterator i = propertyNames.iterator(); i.hasNext(); ) {      CompositeName propName = (CompositeName) i.next();      for (int j = 0; j < compsToConfig.length; j++) {	Property property = compsToConfig[j].getProperty(propName);	// FIXME: If there are 2 properties of the same name	// this finds only the first instance of it	if (property != null) {	  addComponentForProperty(property);	  break;	}      }    }  }