Merge pull request #770 from InfiniteLoop90/jaxrsserver-example-conformance-constructor-order

Fixes 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:
James Agnew 2017-11-22 20:03:46 -05:00 committed by GitHub
commit 079ba2cb17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ public class JaxRsConformanceProvider extends AbstractJaxRsConformanceProvider {
private JaxRsPatientRestProvider provider;
public JaxRsConformanceProvider() {
super("My Server Version", "My Server Description", "My Server Name");
super("My Server Description", "My Server Name", "My Server Version");
}
@Override

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