diff --git a/hapi-fhir-cli/hapi-fhir-cli-api/src/test/java/ca/uhn/fhir/cli/HashMapResourceProviderConceptMapDstu3.java b/hapi-fhir-cli/hapi-fhir-cli-api/src/test/java/ca/uhn/fhir/cli/HashMapResourceProviderConceptMapDstu3.java index 7ca6a49417f..9550a66ab17 100644 --- a/hapi-fhir-cli/hapi-fhir-cli-api/src/test/java/ca/uhn/fhir/cli/HashMapResourceProviderConceptMapDstu3.java +++ b/hapi-fhir-cli/hapi-fhir-cli-api/src/test/java/ca/uhn/fhir/cli/HashMapResourceProviderConceptMapDstu3.java @@ -25,7 +25,7 @@ import ca.uhn.fhir.context.FhirVersionEnum; import ca.uhn.fhir.rest.annotation.*; import ca.uhn.fhir.rest.api.MethodOutcome; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; -import ca.uhn.fhir.rest.server.provider.AbstractHashMapResourceProvider; +import ca.uhn.fhir.rest.server.provider.HashMapResourceProvider; import com.google.common.base.Charsets; import org.apache.http.NameValuePair; import org.apache.http.client.utils.URLEncodedUtils; @@ -42,7 +42,7 @@ import static org.apache.commons.lang3.StringUtils.isNotBlank; /** * This is a subclass to implement FHIR operations specific to DSTU3 ConceptMap - * resources. Its superclass, {@link AbstractHashMapResourceProvider}, is a simple + * resources. Its superclass, {@link HashMapResourceProvider}, is a simple * implementation of the resource provider interface that uses a HashMap to * store all resources in memory. *
@@ -53,7 +53,7 @@ import static org.apache.commons.lang3.StringUtils.isNotBlank; *
@@ -53,7 +53,7 @@ import static org.apache.commons.lang3.StringUtils.isNotBlank; *
"); - b.append("This result is being rendered in HTML for easy viewing. "); - b.append("You may access this content as "); + outputBuffer.append("
"); + outputBuffer.append("This result is being rendered in HTML for easy viewing. "); + outputBuffer.append("You may access this content as "); - b.append("Raw JSON or "); + outputBuffer.append("Raw JSON or "); - b.append("Raw XML, "); + outputBuffer.append("Raw XML, "); - b.append(" or view this content in "); + outputBuffer.append(" or view this content in "); - b.append("HTML JSON "); + outputBuffer.append("HTML JSON "); - b.append("or "); - b.append("HTML XML."); + outputBuffer.append("or "); + outputBuffer.append("HTML XML."); Date startTime = (Date) theServletRequest.getAttribute(RestfulServer.REQUEST_START_TIME); if (startTime != null) { long time = System.currentTimeMillis() - startTime.getTime(); - b.append(" Response generated in "); - b.append(time); - b.append("ms."); + outputBuffer.append(" Response generated in "); + outputBuffer.append(time); + outputBuffer.append("ms."); } - b.append("
"); + outputBuffer.append(""); - b.append("\n"); + outputBuffer.append("\n"); // status (e.g. HTTP 200 OK) String statusName = Constants.HTTP_STATUS_NAMES.get(theServletResponse.getStatus()); statusName = defaultString(statusName); - b.append(""); + outputBuffer.append(""); + outputBuffer.append(target); + outputBuffer.append(""); StringBuilder target = new StringBuilder(); int linesCount = format(encoded, target, encoding); - b.append(target); - b.append("
"); + outputBuffer.append(""); + outputBuffer.append(""); for (int i = 1; i <= linesCount; i++) { - b.append(""); + outputBuffer.append(""); } - b.append(""); - b.append(""); - b.append(i); - b.append(""); + outputBuffer.append(""); + outputBuffer.append(i); + outputBuffer.append("
- * This class currently supports the following FHIR operations: - *
- *