Skip to content

ARIES-2165: Run blueprint build on java 11, 17, 21 and 25

0e154e1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

ARIES-2165: Run blueprint build on java 11, 17, 21 and 25 #785

ARIES-2165: Run blueprint build on java 11, 17, 21 and 25
0e154e1
Select commit
Loading
Failed to load commit list.
GitHub Actions / PMD completed Feb 1, 2026 in 0s

PMD Source Code Analyzer report

1211 violation(s) found

Annotations

Check warning on line 218 in async/async-impl/src/main/java/org/apache/aries/async/impl/AsyncService.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Error Prone UselessPureMethodCall

Do not call pure method getConstructor if the result is not used.

Check warning on line 446 in async/promise-api/src/main/java/org/apache/aries/async/promise/PromiseImpl.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Error Prone EmptyCatchBlock

Avoid empty catch blocks

Check warning on line 467 in async/promise-api/src/main/java/org/apache/aries/async/promise/PromiseImpl.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Error Prone EmptyCatchBlock

Avoid empty catch blocks

Check warning on line 230 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/container/BlueprintEvent.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessarySemicolon

Unnecessary semicolon

Check warning on line 258 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/container/BlueprintEvent.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Design CollapsibleIfStatements

This if statement could be combined with its parent

Check warning on line 36 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/BeanMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'SCOPE_SINGLETON': the field is declared in an interface type

Check warning on line 43 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/BeanMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'SCOPE_PROTOTYPE': the field is declared in an interface type

Check warning on line 35 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ComponentMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'ACTIVATION_EAGER': the field is declared in an interface type

Check warning on line 42 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ComponentMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'ACTIVATION_LAZY': the field is declared in an interface type

Check warning on line 30 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/NullMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'NULL': the field is declared in an interface type

Check warning on line 34 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ReferenceListMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'USE_SERVICE_OBJECT': the field is declared in an interface type

Check warning on line 41 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ReferenceListMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'USE_SERVICE_REFERENCE': the field is declared in an interface type

Check warning on line 38 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ServiceMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'AUTO_EXPORT_DISABLED': the field is declared in an interface type

Check warning on line 46 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ServiceMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'AUTO_EXPORT_INTERFACES': the field is declared in an interface type

Check warning on line 54 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ServiceMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'AUTO_EXPORT_CLASS_HIERARCHY': the field is declared in an interface type

Check warning on line 62 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ServiceMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'AUTO_EXPORT_ALL_CLASSES': the field is declared in an interface type

Check warning on line 34 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ServiceReferenceMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'AVAILABILITY_MANDATORY': the field is declared in an interface type

Check warning on line 41 in blueprint/blueprint-api/src/main/java/org/osgi/service/blueprint/reflect/ServiceReferenceMetadata.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UnnecessaryModifier

Unnecessary modifiers 'static final' on field 'AVAILABILITY_OPTIONAL': the field is declared in an interface type

Check warning on line 38 in blueprint/blueprint-authz/src/main/java/org/apache/aries/blueprint/authorization/impl/AuthorizationNsHandler.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Best Practices UnusedFormalParameter

Avoid unused method parameters such as 'cm'.

Check warning on line 153 in blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/BaseManagedServiceFactory.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Error Prone EmptyCatchBlock

Avoid empty catch blocks

Check warning on line 329 in blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmNamespaceHandler.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Design CollapsibleIfStatements

This if statement could be combined with its parent

Check warning on line 371 in blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmNamespaceHandler.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Design CollapsibleIfStatements

This if statement could be combined with its parent

Check warning on line 436 in blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmNamespaceHandler.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Design CollapsibleIfStatements

This if statement could be combined with its parent

Check warning on line 457 in blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmNamespaceHandler.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Design CollapsibleIfStatements

This if statement could be combined with its parent

Check notice on line 485 in blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmNamespaceHandler.java

See this annotation in the file changed.

@github-actions github-actions / PMD

Code Style UselessParentheses

Useless parentheses around `(MutableComponentMetadata) component`.