diff --git a/src/main/java/w2phtml/base/BinaryGraphicsDocument.java b/src/main/java/w2phtml/base/BinaryGraphicsDocument.java index ba57496..86fc538 100644 --- a/src/main/java/w2phtml/base/BinaryGraphicsDocument.java +++ b/src/main/java/w2phtml/base/BinaryGraphicsDocument.java @@ -375,7 +375,7 @@ public class BinaryGraphicsDocument implements OutputFile { } public String getImageName() { - if (imageName == null || imageName.isBlank()) { + if (imageName == null || imageName.isEmpty()) { return sFileName; } return imageName;