mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-26 22:29:24 +00:00
Merge branch 'ExceptionsAndOthers' of git@github.com:Stirling-Tools/Stirling-PDF.git into ExceptionsAndOthers
This commit is contained in:
commit
64e2feaa26
@ -166,7 +166,7 @@ public class CertSignController {
|
|||||||
Integer pageNumber = request.getPageNumber() != null ? (request.getPageNumber() - 1) : null;
|
Integer pageNumber = request.getPageNumber() != null ? (request.getPageNumber() - 1) : null;
|
||||||
Boolean showLogo = request.getShowLogo();
|
Boolean showLogo = request.getShowLogo();
|
||||||
|
|
||||||
if (certType == null || certType.trim().isEmpty()) {
|
if (StringUtils.isBlank(certType)) {
|
||||||
throw ExceptionUtils.createIllegalArgumentException(
|
throw ExceptionUtils.createIllegalArgumentException(
|
||||||
"error.optionsNotSpecified",
|
"error.optionsNotSpecified",
|
||||||
"{0} options are not specified",
|
"{0} options are not specified",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user