public Configuration getConfiguration(String name) {
        Configuration[] values = getConfigurations(name);

        if (values == null) {
            return null;
        }

        return values[0];
    }
public Configuration getConfiguration ( String name ) { Configuration [ ] values = getConfigurations ( name ) ; if ( values == null ) { return null ; } return values [ 0 ] ; }
Get the value for a particular configuration property

@param name - name of the property
@return The first value encountered or null