Skip to content

Commit 84230f1

Browse files
committed
PDFBOX-5993: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1925236 13f79535-47bb-0310-9956-ffa450edef68
1 parent 507b7bd commit 84230f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/src/test/java/org/apache/pdfbox/examples/pdmodel/ExtractEmbeddedFilesTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ void testExtractEmbeddedFiles() throws IOException
4848
byte[] ba2 = Files.readAllBytes(new File(attachment2Filename).toPath());
4949
String s1 = new String(ba1, StandardCharsets.US_ASCII);
5050
String s2 = new String(ba2, StandardCharsets.US_ASCII);
51-
assertEquals(s1, "This is the contents of the first embedded file");
52-
assertEquals(s2, "This is the contents of the second embedded file");
51+
assertEquals("This is the contents of the first embedded file", s1);
52+
assertEquals("This is the contents of the second embedded file", s2);
5353
Files.delete(Paths.get(collectionFilename));
5454
Files.delete(Paths.get(attachment1Filename));
5555
Files.delete(Paths.get(attachment2Filename));

0 commit comments

Comments
 (0)