Commit 4f232f29a658bcebd5873fc3a2df94a1aad89eec
1 parent
f749d4e7
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/util/HexCardTransform.java
| ... | ... | @@ -16,7 +16,7 @@ public class HexCardTransform { |
| 16 | 16 | * @return |
| 17 | 17 | */ |
| 18 | 18 | public static String hexConvert(String hexCode) { |
| 19 | - if(StringUtils.isEmpty(hexCode)) | |
| 19 | + if(StringUtils.isBlank(hexCode)) | |
| 20 | 20 | return null; |
| 21 | 21 | //16进制补满8位 |
| 22 | 22 | hexCode = padLeft(hexCode, 8, '0'); | ... | ... |