diff options
author | 2016-09-13 21:39:36 +0800 | |
---|---|---|
committer | 2016-09-13 21:39:36 +0800 | |
commit | f84ace36fe23ab9cdb698dcce9d6dacd9f89e7a8 (patch) | |
tree | 32d93dcac0423fc598bc7ad0b88199b7b6aa5ebc /common-util | |
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')
-rw-r--r-- | common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java | 4 | ||||
-rw-r--r-- | common-util/src/main/java/org/openo/baseservice/encrypt/cbb/impl/AesCipher.java | 6 |
2 files changed, 4 insertions, 6 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 } - - } diff --git a/common-util/src/main/java/org/openo/baseservice/encrypt/cbb/impl/AesCipher.java b/common-util/src/main/java/org/openo/baseservice/encrypt/cbb/impl/AesCipher.java index 2d36dd8..f117269 100644 --- a/common-util/src/main/java/org/openo/baseservice/encrypt/cbb/impl/AesCipher.java +++ b/common-util/src/main/java/org/openo/baseservice/encrypt/cbb/impl/AesCipher.java @@ -68,9 +68,9 @@ public class AesCipher implements AbstractCipher { * Constructor<br/> * <p> * </p> - * - * @since - * @param ckey: key. + * Creates key. + * @param key + * @since */ public AesCipher(final String key) { super(); |