diff options
author | tian.ming@huawei.com <tian.ming@huawei.com> | 2016-09-13 21:39:36 +0800 |
---|---|---|
committer | tian.ming@huawei.com <tian.ming@huawei.com> | 2016-09-13 21:39:36 +0800 |
commit | f84ace36fe23ab9cdb698dcce9d6dacd9f89e7a8 (patch) | |
tree | 32d93dcac0423fc598bc7ad0b88199b7b6aa5ebc /common-util/src/main/java/org/openo/baseservice/bus | |
parent | 7476493080d6c7dc895f1eeda7d4781c8295b03f (diff) |
fix the comment error.
Change-Id: Ib6842673f5a6ae4ea59eae469c69e332ebd3a3f6
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
Diffstat (limited to 'common-util/src/main/java/org/openo/baseservice/bus')
-rw-r--r-- | common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java b/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java index 85800b8..eb2e122 100644 --- a/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java +++ b/common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java @@ -52,7 +52,7 @@ public class RegisterServiceListener implements ServletContextListener { for(File tempFile : fileList) { String fileName = tempFile.getName(); - if (fileName.substring(fileName.lastIndexOf(".") + 1).equalsIgnoreCase(JSON)) { + if (fileName.substring(fileName.lastIndexOf('.') + 1).equalsIgnoreCase(JSON)) { LOGGER.info("begin to initialize the service file" + tempFile.getAbsolutePath()); /** now because ZTE do not provide the service bus.commont this code first. @@ -71,6 +71,4 @@ public class RegisterServiceListener implements ServletContextListener { // TODO Auto-generated method stub } - - } |