Fixed the Conformance providers in the hapi-fhir-jaxrsserver-example module to pass the server description, server name, and server version in the correct order

This commit is contained in:
Clayton Bodendein 2017-10-23 21:34:21 -05:00
parent 59975948b2
commit 8d1164fdc0
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public class JaxRsConformanceProvider extends AbstractJaxRsConformanceProvider {
* Standard Constructor
*/
public JaxRsConformanceProvider() {
super(SERVER_VERSION, SERVER_DESCRIPTION, SERVER_NAME);
super(SERVER_DESCRIPTION, SERVER_NAME, SERVER_VERSION);
}
@Override

View File

@ -33,7 +33,7 @@ public class JaxRsConformanceProviderDstu3 extends AbstractJaxRsConformanceProvi
* Standard Constructor
*/
public JaxRsConformanceProviderDstu3() {
super(FhirContext.forDstu3(), SERVER_VERSION, SERVER_DESCRIPTION, SERVER_NAME);
super(FhirContext.forDstu3(), SERVER_DESCRIPTION, SERVER_NAME, SERVER_VERSION);
}
@Override