Skip to content

Commit 0f5110e

Browse files
committed
PDFBOX-5660: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924891 13f79535-47bb-0310-9956-ffa450edef68
1 parent d9737c7 commit 0f5110e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/fdf/FDFAnnotationStamp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public FDFAnnotationStamp(Element element) throws IOException
115115
}
116116
if (base64EncodedAppearance != null && !base64EncodedAppearance.isEmpty())
117117
{
118-
LOG.debug("Decoded XML: {}", new String(decodedAppearanceXML));
118+
LOG.debug("Decoded XML: {}", () -> new String(decodedAppearanceXML));
119119

120120
Document stampAppearance = XMLUtil
121121
.parse(new ByteArrayInputStream(decodedAppearanceXML));
@@ -275,7 +275,7 @@ else if ("ASCII".equals(childEncodingAttr))
275275

276276
private COSArray parseArrayElement(Element arrayEl) throws IOException
277277
{
278-
LOG.debug("Parse {} Array", arrayEl.getAttribute("KEY"));
278+
LOG.debug("Parse {} Array", () -> arrayEl.getAttribute("KEY"));
279279
COSArray array = new COSArray();
280280

281281
NodeList nodeList = arrayEl.getChildNodes();

0 commit comments

Comments
 (0)