1. change the adderss into address
authorzhouruiyu <zhouruiyu@huawei.com>
Mon, 10 Oct 2016 04:01:02 +0000 (12:01 +0800)
committerzhouruiyu <zhouruiyu@huawei.com>
Mon, 10 Oct 2016 04:01:02 +0000 (12:01 +0800)
Change-Id: I2062dd4b59476c36ca1f51957bf33651623361d3
Signed-off-by: zhouruiyu <zhouruiyu@huawei.com>
common-util/src/main/java/org/openo/baseservice/bus/util/RegisterService.java

index 3a84781..d1926c7 100644 (file)
@@ -127,7 +127,7 @@ public class RegisterService {
      * @throws IOException
      * @since
      */
-    private static String getBusAdderss() throws IOException {
+    private static String getBusAddress() throws IOException {
 
         LOGGER.info("begin to get the bus baseurl.");
         FileInputStream busFile = null;
@@ -169,7 +169,7 @@ public class RegisterService {
         providers.add(jacksonJsonProvider);
 
         if (busPath == null) {
-            busPath = getBusAdderss();
+            busPath = getBusAddress();
         }
 
         return WebClient.create(busPath, providers);