/** * Adds a value to the URI with escaping. * * @param name * the query key name. * @param value * the query value. * @throws StorageException */ public void add(final String name, final String value) throws StorageException { if (Utility.isNullOrEmpty(name)) { throw new IllegalArgumentException(SR.QUERY_PARAMETER_NULL_OR_EMPTY); } this.insertKeyValue(name, value); }
/** * Adds a value to the URI with escaping. * * @param name * the query key name. * @param value * the query value. * @throws StorageException */ public void add(final String name, final String value) throws StorageException { if (Utility.isNullOrEmpty(name)) { throw new IllegalArgumentException(SR.QUERY_PARAMETER_NULL_OR_EMPTY); } this.insertKeyValue(name, value); }
this.insertKeyValue(entry.getKey(), val);
this.insertKeyValue(entry.getKey(), val);