Skip to content

Downgrade to Java 17 and remove Java 21 features for Android compatib…

2bb748e
Select commit
Loading
Failed to load commit list.
Open

Downgrade to Java 17 and remove Java 21 features for Android compatibility #1513

Downgrade to Java 17 and remove Java 21 features for Android compatib…
2bb748e
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 13, 2026 in 0s

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

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

Issues
======
- Added 190
           

Complexity increasing per file
==============================
- openpdf-html/src/main/java/org/openpdf/css/style/BorderRadiusCorner.java  4
- openpdf-html/src/main/java/org/openpdf/layout/FloatManager.java  7
- openpdf-html/src/main/java/org/openpdf/pdf/DocumentSplitter.java  3
- openpdf-html/src/main/java/org/openpdf/simple/extend/form/SelectField.java  4
- openpdf-html/src/main/java/org/openpdf/css/style/derived/BorderPropertySet.java  61
- openpdf-html/src/main/java/org/openpdf/swing/ImageResourceLoader.java  7
- openpdf-html/src/main/java/org/openpdf/render/JustificationInfo.java  9
- openpdf-html/src/main/java/org/openpdf/layout/breaker/DefaultLineBreakingStrategy.java  1
- openpdf-html/src/main/java/org/openpdf/layout/InlineBoxing.java  4
- openpdf-html/src/main/java/org/openpdf/swing/SwingReplacedElementFactory.java  8
- openpdf-html/src/main/java/org/openpdf/css/parser/HSBColor.java  11
- openpdf-html/src/main/java/org/openpdf/render/PageBox.java  2
- openpdf-html/src/main/java/org/openpdf/pdf/FontDescription.java  4
- openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java  5
- openpdf-core/src/test/java/org/openpdf/text/pdf/fonts/FontTest.java  1
- openpdf-core/src/main/java/org/openpdf/text/pdf/PdfBatchUtils.java  52
- openpdf-html/src/main/java/org/openpdf/html/HtmlToPdfBatchUtils.java  17
         

Clones added
============
- openpdf-html/src/main/java/org/openpdf/swing/ImageResourceLoader.java  1
- openpdf-html/src/main/java/org/openpdf/swing/SwingReplacedElementFactory.java  1
- openpdf-core/src/main/java/org/openpdf/text/pdf/parser/PdfTextLocator.java  1
         

See the complete overview on Codacy

Annotations

Check notice on line 92 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#L92

'METHOD_DEF' should be separated from previous line.

Check notice on line 92 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#L92

'{' at column 30 should have line break after.

Check notice on line 96 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#L96

'if' construct must use '{}'s.

Check notice on line 102 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#L102

'{' at column 31 should have line break after.

Check notice on line 102 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#L102

'}' at column 70 should be alone on a line.

Check notice on line 105 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#L105

'{' at column 34 should have line break after.

Check notice on line 124 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#L124

'}' at column 45 should be alone on a line.

Check notice on line 128 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#L128

'}' at column 50 should be alone on a line.

Check notice on line 133 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#L133

'if' construct must use '{}'s.

Check notice on line 142 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#L142

'{' at column 31 should have line break after.

Check notice on line 142 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#L142

'}' at column 94 should be alone on a line.

Check notice on line 173 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#L173

'METHOD_DEF' should be separated from previous line.

Check notice on line 173 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#L173

'{' at column 38 should have line break after.

Check notice on line 174 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#L174

'METHOD_DEF' should be separated from previous line.

Check notice on line 174 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#L174

'{' at column 39 should have line break after.

Check notice on line 174 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#L174

'}' at column 63 should be alone on a line.

Check notice on line 175 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#L175

'{' at column 34 should have line break after.

Check notice on line 176 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#L176

'{' at column 37 should have line break after.

Check notice on line 1879 in openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java#L1879

'{' at column 30 should have line break after.

Check notice on line 1881 in openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java#L1881

'METHOD_DEF' should be separated from previous line.

Check notice on line 1882 in openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java#L1882

'METHOD_DEF' should be separated from previous line.

Check notice on line 1882 in openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java#L1882

'{' at column 31 should have line break after.

Check notice on line 1882 in openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/constants/CSSName.java#L1882

'}' at column 46 should be alone on a line.

Check notice on line 16 in openpdf-html/src/main/java/org/openpdf/css/parser/HSBColor.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/parser/HSBColor.java#L16

'{' at column 24 should have line break after.

Check notice on line 16 in openpdf-html/src/main/java/org/openpdf/css/parser/HSBColor.java

See this annotation in the file changed.

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

openpdf-html/src/main/java/org/openpdf/css/parser/HSBColor.java#L16

'}' at column 38 should be alone on a line.