style: code format
This commit is contained in:
parent
dc203c23dd
commit
99d2b00a98
@ -4,7 +4,6 @@ import javax.crypto.Cipher;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.*;
|
||||
import java.security.cert.Certificate;
|
||||
import java.security.cert.CertificateFactory;
|
||||
@ -319,4 +318,4 @@ public class CryptoUtils {
|
||||
return keyPairs;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -218,7 +218,7 @@ public class TransactionalTemplate {
|
||||
* @param array 长度
|
||||
* @return 数组对象为null或者长度为 0 时,返回 false
|
||||
*/
|
||||
public boolean isEmpty(Object[] array) {
|
||||
public boolean isEmpty(Object[] array) {
|
||||
return array == null || array.length == 0;
|
||||
}
|
||||
|
||||
@ -227,9 +227,8 @@ public class TransactionalTemplate {
|
||||
*
|
||||
* @param array 数组
|
||||
* @return 数组对象内含有任意对象时返回 true
|
||||
* @see ArrayUtils#isEmpty(Object[])
|
||||
*/
|
||||
public boolean isNotEmpty(Object[] array) {
|
||||
public boolean isNotEmpty(Object[] array) {
|
||||
return !isEmpty(array);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user