aboutsummaryrefslogtreecommitdiffstats
path: root/example/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'example/src/main')
-rw-r--r--example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java2
-rw-r--r--example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java b/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java
index 7cd1654..cd9ebbb 100644
--- a/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java
+++ b/example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java
@@ -24,5 +24,5 @@ import retrofit2.http.Path;
public interface AnimalServiceClient {
@GET("animals/{name}")
- Call<Animal> queryAnimal1(@Path("name") String name);
+ Call<Animal> queryAnimal(@Path("name") String name);
}
diff --git a/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java b/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java
index 4d7ea68..24f9ede 100644
--- a/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java
+++ b/example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java
@@ -38,7 +38,7 @@ public class ExampleClient {
AnimalServiceClient implProxy =
restServiceCreater.createService(AnimalServiceClient.class);
- Animal animal = implProxy.queryAnimal1("panda").execute().body();
+ Animal animal = implProxy.queryAnimal("panda").execute().body();
System.out.println("animal:" + animal);
}