Skip to content

Commit 90fbfa6

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDPageAnnotationsFiltering.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class TestPDPageAnnotationsFiltering
4545
private PDPage page;
4646

4747
@BeforeEach
48-
public void initMock()
48+
void initMock()
4949
{
5050
COSDictionary mockedPageWithAnnotations = new COSDictionary();
5151
COSArray annotsDictionary = new COSArray();
@@ -57,7 +57,7 @@ public void initMock()
5757
}
5858

5959
@Test
60-
void validateNoFiltering() throws IOException
60+
void validateNoFiltering() throws IOException
6161
{
6262
List<PDAnnotation> annotations = page.getAnnotations();
6363
assertEquals(3, annotations.size());
@@ -67,14 +67,14 @@ void validateNoFiltering() throws IOException
6767
}
6868

6969
@Test
70-
void validateAllFiltered() throws IOException
70+
void validateAllFiltered() throws IOException
7171
{
7272
List<PDAnnotation> annotations = page.getAnnotations(annotation -> false);
7373
assertEquals(0, annotations.size());
7474
}
7575

7676
@Test
77-
void validateSelectedFew() throws IOException
77+
void validateSelectedFew() throws IOException
7878
{
7979
List<PDAnnotation> annotations = page.getAnnotations(annotation ->
8080
(annotation instanceof PDAnnotationLink || annotation instanceof PDAnnotationSquare));

0 commit comments

Comments
 (0)