> + > + checkNotNull(paramName, "Initialize 'paramName' in constructor"); > + Object obj = checkNotNull(postParams.get(paramName), format("Param > '%s' cannot be null.", paramName)); > + T payload = (T) obj; > + > + return createRequest(request, createPayload(payload)); > + } > + > + @Override > + public <R extends HttpRequest> R bindToRequest(R request, Object input) { > + throw new UnsupportedOperationException("Not supported yet."); > + } > + > + protected abstract String createPayload(T payload); > + > + protected String ifNotEmpty(String pattern, Object param) {
Minor: Use a more descriptive name of what tho method actually does, such as `formatIfNotEmpty`. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/72/files#r22133645