Skip to content

openpdf-core code refactored according to defined checkstyle rules#1522

Merged
asturio merged 3 commits into
LibrePDF:masterfrom
stomaszek:feature/checkstyle-openpdf-core
May 6, 2026
Merged

openpdf-core code refactored according to defined checkstyle rules#1522
asturio merged 3 commits into
LibrePDF:masterfrom
stomaszek:feature/checkstyle-openpdf-core

Codacy - one declaration per one line

cd77257
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 30, 2026 in 0s

2 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 25
- Added 2
           

Complexity increasing per file
==============================
- openpdf-core/src/test/java/org/openpdf/text/Pdf20FeatureWriteAndVerifyTest.java  23
         

Clones added
============
- openpdf-core/src/test/java/org/openpdf/text/Pdf20FeatureWriteAndVerifyTest.java  3
         

See the complete overview on Codacy

Annotations

Check notice on line 251 in openpdf-core/src/main/java/org/openpdf/text/pdf/PdfBatchUtils.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

openpdf-core/src/main/java/org/openpdf/text/pdf/PdfBatchUtils.java#L251

Avoid unused private methods such as 'closeQuietly(Closeable)'.

Check notice on line 24 in openpdf-core/src/test/java/org/openpdf/text/Pdf20FeatureWriteAndVerifyTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

openpdf-core/src/test/java/org/openpdf/text/Pdf20FeatureWriteAndVerifyTest.java#L24

The JUnit 5 test method name 'createAndVerifyPdf20Features_persistent' doesn't match '[a-z][a-zA-Z0-9]*'