From 1c46989d00819aeb7827005a0cf71f177d166608 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Thu, 19 Mar 2015 13:26:16 +0100 Subject: [PATCH] Fix unit test failure --- hapi-fhir-android/dependency-reduced-pom.xml | 6 +++--- .../fhir/rest/client/ClientInvocationHandlerFactory.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hapi-fhir-android/dependency-reduced-pom.xml b/hapi-fhir-android/dependency-reduced-pom.xml index 75c68235a10..1e0c0d8a940 100644 --- a/hapi-fhir-android/dependency-reduced-pom.xml +++ b/hapi-fhir-android/dependency-reduced-pom.xml @@ -94,7 +94,7 @@ maven-assembly-plugin - 2.5.3 + ${maven_assembly_plugin_version} package @@ -104,8 +104,8 @@ true - /Users/t3903uhn/git/hapi-fhir/hapi-fhir-android/src/assembly/android-sources.xml - /Users/t3903uhn/git/hapi-fhir/hapi-fhir-android/src/assembly/android-javadoc.xml + ${project.basedir}/src/assembly/android-sources.xml + ${project.basedir}/src/assembly/android-javadoc.xml diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/ClientInvocationHandlerFactory.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/ClientInvocationHandlerFactory.java index cbc9173406c..2ae753e971b 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/ClientInvocationHandlerFactory.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/client/ClientInvocationHandlerFactory.java @@ -52,7 +52,7 @@ class ClientInvocationHandlerFactory { myMethodToReturnValue.put(theClientType.getMethod("getServerBase"), theUrlBase); myMethodToLambda.put(theClientType.getMethod("setEncoding", EncodingEnum.class), new SetEncodingLambda()); - myMethodToLambda.put(theClientType.getMethod("setPrettyPrint", boolean.class), new SetPrettyPrintLambda()); + myMethodToLambda.put(theClientType.getMethod("setPrettyPrint", Boolean.class), new SetPrettyPrintLambda()); myMethodToLambda.put(theClientType.getMethod("registerInterceptor", IClientInterceptor.class), new RegisterInterceptorLambda()); myMethodToLambda.put(theClientType.getMethod("unregisterInterceptor", IClientInterceptor.class), new UnregisterInterceptorLambda());