Skip to content

Commit bbd4c56

Browse files
committed
PDFBOX-5660: simplify, as suggested by Valery Bokov; closes #397
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1931230 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8d45764 commit bbd4c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/main/java/org/apache/pdfbox/tools/PDFText2HTML.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ private int closeUntil(StringBuilder tagsBuilder, String endTag)
362362
{
363363
String tag = stateList.get(i);
364364
tagsBuilder.append(closeTag(tag));
365-
if (endTag != null && tag.equals(endTag))
365+
if (tag.equals(endTag))
366366
{
367367
return i;
368368
}

0 commit comments

Comments
 (0)