Removes all experimental properties that have the given name.
@param name the component name (e.g. "X-ALT-DESC")
@return the removed properties (this list is immutable)
776277
public List<RawProperty> removeExperimentalProperties(String name) {
		List<RawProperty> all = getExperimentalProperties();
		List<RawProperty> toRemove = new ArrayList<RawProperty>();
		for (RawProperty property : all) {
			if (property.getName().equalsIgnoreCase(name)) {
				toRemove.add(property);
			}
		}

		all.removeAll(toRemove);
		return Collections.unmodifiableList(toRemove);
	}
750055
public void removeAttribute(String name) {
		if(logger.isDebugEnabled()) {
        	logger.debug("removeAttribute - name=" + name);
        }
		if(attributes  != null) {
			this.attributes.remove(name);
		}
	}
687465
public void removeProperty(final Collection<String> col,
                             final String name) {
    try {
      String v = getProperty(col, name);

      if (v == null) {
        return;
      }

      col.remove(name + "=" + v);
    } catch (Throwable t) {
      throw new RuntimeException(t);
    }
  }
154328
public List/*< String >*/ getParameters( String name )
    {
        if ( _parameters == null || !_parameters.hasParameters())
            return Collections.EMPTY_LIST;
        else {

            List parameters = _parameters.getParameterValues(name);
            if(parameters == null)
                return Collections.EMPTY_LIST;
            else return Collections.unmodifiableList(parameters);
        }
    }
348653
public String getProperty(String name) {
      Object oval = props.get(name);
      String sval = (oval instanceof String) ? (String) oval : null;
      return sval;
    }
674001
public Header remove(AsciiString name){
        if(name==null || first==null)
            return null;

        Header h = null;
        int idx = name.hashCode() & (table.length-1);
        Object obj = table[idx];
        if(obj==null)
            return null;
        else if(obj instanceof Header){
            Header header = (Header)obj;
            if(header.name.equals(name)){
                table[idx] = null;
                h = header;
            }
        }else{
            Header headers[] = (Header[])obj;
            for(int i=0; i<headers.length; i++){
                Header header = headers[i];
                if(header!=null && header.name.equals(name)){
                    headers[i] = null;
                    h = header;
                    break;
                }
            }
        }

        if(h!=null)
            removeSameNext(h);
        return h;
    }
827269
public String removeProperty(final String propertyName) throws DOMException {
        if (null == propertyName) {
            return "";
        }
        for (int i = 0; i < properties_.size(); i++) {
            final Property p = properties_.get(i);
            if (p != null && propertyName.equalsIgnoreCase(p.getName())) {
                properties_.remove(i);
                if (p.getValue() == null) {
                    return "";
                }
                return p.getValue().toString();
            }
        }
        return "";
    }
1323371
private String[] getAlternateNames(String name) {
    String oldName, altNames[] = null;
    DeprecatedKeyInfo keyInfo = deprecatedKeyMap.get(name);
    if (keyInfo == null) {
      altNames = (reverseDeprecatedKeyMap.get(name) != null) ?
                   new String [] {reverseDeprecatedKeyMap.get(name)} : null;
      if (altNames != null && altNames.length > 0) {
        //To help look for other new configs for this deprecated config
        keyInfo = deprecatedKeyMap.get(altNames[0]);
      }
    }
    if (keyInfo != null && keyInfo.newKeys.length > 0) {
      List<String> list = new ArrayList<String>();
      if (altNames != null) {
        list.addAll(Arrays.asList(altNames));
      }
      list.addAll(Arrays.asList(keyInfo.newKeys));
      altNames = list.toArray(new String[list.size()]);
    }
    return altNames;
  }
614823
private String makePropertyName(String name) {
        if (name.startsWith(beanParser.getFieldPrefix())) {
            return name.substring(beanParser.getFieldPrefix().length());
        }
        return name;
    }
709172
private List<String> getParameterAsList(String name) {
        String[] values = getParameterValues(name);
        if (values == null) {
            return null;
        }

        List<String> valueList = new ArrayList<>(values.length);
        Collections.addAll(valueList, values);
        return valueList;
    }
745989
public int removeChildObjectsByName(final String name) {
        int removed = 0;

        if (null != name && !name.isEmpty()) {
            removed = removeChildObjectsByNameImpl(name);
        }

        return removed;
    }
366295
private function removeProperty($name)
    {
        $properties = null;
        try {
            $properties = $this->getPropValue($this->getProject(), 'properties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'properties');
            }
        } catch (Exception $e) {
        }
        try {
            $properties = $this->getPropValue($this->getProject(), 'userProperties');
            if ($properties !== null) {
                unset($properties[$name]);
                $this->setPropValue($properties, $this->getProject(), 'userProperties');
            }
        } catch (Exception $e) {
        }
    }
726179
public void removeParameter( String name )
    {
        if (_parameters == null || !_parameters.hasParameters())
            return;

        _parameters.removeParameter(name);
    }
123377
protected Properties getLockProperties(String name) {
        return lockProperties != null ? lockProperties.get(name) : null;
    }
510659
public boolean removeAttribute(final String name) {
        
        AttributeInfo existInfo = null;
        for(AttributeInfo item : attributes) {
            if(item.name.equals(name)) {
                existInfo = item;
                break;
            }
            
        }
        
        if(existInfo != null) {
            this.attributes.remove(existInfo);
            return true;
        }
        
        return false;
        
    }
759016
public static String makePropertyName(String name) {
    char[] buf = new char[name.length() + 3];
    int pos = 0;
    buf[pos++] = 's';
    buf[pos++] = 'e';
    buf[pos++] = 't';

    for (int ix = 0; ix < name.length(); ix++) {
      char ch = name.charAt(ix);
      if (ix == 0)
        ch = Character.toUpperCase(ch);
      else if (ch == '-') {
        ix++;
        if (ix == name.length())
          break;
        ch = Character.toUpperCase(name.charAt(ix));
      }

      buf[pos++] = ch;
    }

    return new String(buf, 0, pos);
  }
87586
public Set<Property> getProperties(String name) {
        return this.properties.stream().filter(property -> property.getName().equals(name)).collect(Collectors.toSet());
    }