net/src/main/java/com/stanfy/enroscar/net/operation/BaseRequestBuilder.java
protected Parameter removeParameter(final String name) {
    if (name == null) { throw new IllegalArgumentException("Parameter name cannot be null"); }
    final Iterator<Parameter> iter = result.simpleParameters.getChildren().iterator();
    while (iter.hasNext()) {
      final Parameter p = iter.next();
      if (name.equals(p.name)) {
        iter.remove();
        return p;
      }
    }
    return null;
  }
protected Parameter removeParameter(final String name) {
    if (name == null) { throw new IllegalArgumentException("Parameter name cannot be null"); }
    final Iterator<Parameter> iter = result.simpleParameters.getChildren().iterator();
    while (iter.hasNext()) {
      final Parameter p = iter.next();
      if (name.equals(p.name)) {
        iter.remove();
        return p;
      }
    }
    return null;
  }
protected Parameter removeParameter ( final String name ) { if ( name == null ) { throw new IllegalArgumentException ( "Parameter name cannot be null" ) ; } final Iterator < Parameter > iter = result . simpleParameters . getChildren ( ) . iterator ( ) ; while ( iter . hasNext ( ) ) { final Parameter p = iter . next ( ) ; if ( name . equals ( p . name ) ) { iter . remove ( ) ; return p ; } } return null ; }
Remove parameter with the specified name from request description.
@param name parameter name
@return removed parameter instance, null if no parameter was found
Remove parameter with the specified name from request description .