diff options
-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(); |