Skip to content

Commit 4698b47

Browse files
Changed variable declaration and assignment to one line.
1 parent db0fb68 commit 4698b47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/src/test/java/com/itextpdf/kernel/utils/PdfMergerTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,9 @@ public void mergeTableWithEmptyTdTest() throws IOException, InterruptedException
261261
output.close();
262262

263263
CompareTool compareTool = new CompareTool();
264-
String errorMessage = "";
265264
String tagStructErrorMessage = compareTool.compareTagStructures(resultFile, sourceFolder + "cmp_tableWithEmptyTd.pdf");
266265

267-
errorMessage += tagStructErrorMessage == null ? "" : tagStructErrorMessage + "\n";
266+
String errorMessage = tagStructErrorMessage == null ? "" : tagStructErrorMessage + "\n";
268267
if (!errorMessage.isEmpty()) {
269268
Assert.fail(errorMessage);
270269
}

0 commit comments

Comments
 (0)