proof of concept to avoid EMF pooling #2126
Annotations
1 error and 2 warnings
Fail build if there are violations
Process completed with exit code 1.
|
PMD:
com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/DirectLinkingURI.java#L275
Use String.indexOf(char) when checking for the index of a single character; it executes faster.
UseIndexOfChar (Priority: 3, Ruleset: Performance)
https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_performance.html#useindexofchar
|
PMD:
com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/resource/persistence/DirectLinkingURI.java#L312
Avoid unnecessary if-then-else statements when returning a boolean. The result of
the conditional test can be returned instead.
SimplifyBooleanReturns (Priority: 3, Ruleset: Design)
https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_design.html#simplifybooleanreturns
|
Loading