From c417b4fcd072655f2568a85a0fb9fcb6616a4c07 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Fri, 17 Sep 2021 20:57:34 +0200 Subject: [PATCH] fix: removed Java11 features for compatibility --- src/main/java/w2phtml/base/BinaryGraphicsDocument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;