protected static void applyDefaults(final FileRequestOptions modifiedOptions) {
        Utility.assertNotNull("modifiedOptions", modifiedOptions);
        RequestOptions.applyBaseDefaultsInternal(modifiedOptions);
        if (modifiedOptions.getConcurrentRequestCount() == null) {
            modifiedOptions.setConcurrentRequestCount(FileConstants.DEFAULT_CONCURRENT_REQUEST_COUNT);
        }

        if (modifiedOptions.getUseTransactionalContentMD5() == null) {
            modifiedOptions.setUseTransactionalContentMD5(false);
        }

        if (modifiedOptions.getStoreFileContentMD5() == null) {
            modifiedOptions.setStoreFileContentMD5(false);
        }

        if (modifiedOptions.getDisableContentMD5Validation() == null) {
            modifiedOptions.setDisableContentMD5Validation(false);
        }
    }
protected static void applyDefaults(final FileRequestOptions modifiedOptions) {
        Utility.assertNotNull("modifiedOptions", modifiedOptions);
        RequestOptions.applyBaseDefaultsInternal(modifiedOptions);
        if (modifiedOptions.getConcurrentRequestCount() == null) {
            modifiedOptions.setConcurrentRequestCount(FileConstants.DEFAULT_CONCURRENT_REQUEST_COUNT);
        }

        if (modifiedOptions.getUseTransactionalContentMD5() == null) {
            modifiedOptions.setUseTransactionalContentMD5(false);
        }

        if (modifiedOptions.getStoreFileContentMD5() == null) {
            modifiedOptions.setStoreFileContentMD5(false);
        }

        if (modifiedOptions.getDisableContentMD5Validation() == null) {
            modifiedOptions.setDisableContentMD5Validation(false);
        }
    }
protected static void applyDefaults ( final FileRequestOptions modifiedOptions ) { Utility . assertNotNull ( "modifiedOptions" , modifiedOptions ) ; RequestOptions . applyBaseDefaultsInternal ( modifiedOptions ) ; if ( modifiedOptions . getConcurrentRequestCount ( ) == null ) { modifiedOptions . setConcurrentRequestCount ( FileConstants . DEFAULT_CONCURRENT_REQUEST_COUNT ) ; } if ( modifiedOptions . getUseTransactionalContentMD5 ( ) == null ) { modifiedOptions . setUseTransactionalContentMD5 ( false ) ; } if ( modifiedOptions . getStoreFileContentMD5 ( ) == null ) { modifiedOptions . setStoreFileContentMD5 ( false ) ; } if ( modifiedOptions . getDisableContentMD5Validation ( ) == null ) { modifiedOptions . setDisableContentMD5Validation ( false ) ; } }
Applies defaults to the options passed in.

@param modifiedOptions
The options to apply defaults to.
Applies defaults to the options passed in .