fix the comment error.
authortian.ming@huawei.com <tian.ming@huawei.com>
Tue, 13 Sep 2016 13:39:36 +0000 (21:39 +0800)
committertian.ming@huawei.com <tian.ming@huawei.com>
Tue, 13 Sep 2016 13:39:36 +0000 (21:39 +0800)
Change-Id: Ib6842673f5a6ae4ea59eae469c69e332ebd3a3f6
Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
common-util/src/main/java/org/openo/baseservice/bus/util/RegisterServiceListener.java
common-util/src/main/java/org/openo/baseservice/encrypt/cbb/impl/AesCipher.java

index 85800b8..eb2e122 100644 (file)
@@ -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
 
     }
-
-
 }
index 2d36dd8..f117269 100644 (file)
@@ -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();