microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java
private static void addIfNotNullOrEmpty(UriQueryBuilder builder, String name, String val) throws StorageException {
        if (!Utility.isNullOrEmpty(val)) {
            builder.add(name, val);
        }
    }
private static void addIfNotNullOrEmpty(UriQueryBuilder builder, String name, String val) throws StorageException {
        if (!Utility.isNullOrEmpty(val)) {
            builder.add(name, val);
        }
    }
Helper to add a name/value pair to a <code>UriQueryBuilder</code> if the value is not null or empty.

@param builder
The builder to add to.
@param name
The name to add.
@param val
The value to add if not null or empty.

@throws StorageException
An exception representing any error which occurred during the operation.