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:
commit
079ba2cb17
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue