summaryrefslogtreecommitdiffstats
path: root/example/src/main/java/org/onap
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-08-21 11:33:38 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-08-21 11:33:50 +0800
commit1a7355b3b40cfd2238d142ea372c2c1e3101fe8d (patch)
treec2e3b5fb87f1c64590a0e50f41ff912f96add4fd /example/src/main/java/org/onap
parent420780dab3e2a16dcdb7d6018268f1e9ff770221 (diff)
modify method name of teh exmaple app
Issue_Id: MSB-23 Change-Id: I49aa702c318a175dd44e478b376ab79ed606ddaf Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'example/src/main/java/org/onap')
-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);
}