diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-21 11:33:38 +0800 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-21 11:33:50 +0800 |
commit | 1a7355b3b40cfd2238d142ea372c2c1e3101fe8d (patch) | |
tree | c2e3b5fb87f1c64590a0e50f41ff912f96add4fd | |
parent | 420780dab3e2a16dcdb7d6018268f1e9ff770221 (diff) |
modify method name of teh exmaple app
Issue_Id: MSB-23
Change-Id: I49aa702c318a175dd44e478b376ab79ed606ddaf
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r-- | example/src/main/java/org/onap/msb/sdk/example/client/AnimalServiceClient.java | 2 | ||||
-rw-r--r-- | example/src/main/java/org/onap/msb/sdk/example/client/ExampleClient.java | 2 |
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); } |