Merge pull request #1225 from steve-community/dependabot/maven/net.by… #1
Annotations
10 warnings
Do not hard code the IP address :
src/main/java/de/rwth/idsg/steve/JettyServer.java#L226
Application with hard-coded IP addresses can become impossible to deploy in some cases.
Externalizing IP adresses is preferable.
AvoidUsingHardCodedIP (Priority: 3, Ruleset: Best Practices)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_bestpractices.html#avoidusinghardcodedip
|
Avoid empty catch blocks:
src/main/java/de/rwth/idsg/steve/JettyServer.java#L262
Empty Catch Block finds instances where an exception is caught, but nothing is done.
In most circumstances, this swallows an exception which should either be acted on
or reported.
EmptyCatchBlock (Priority: 3, Ruleset: Error Prone)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_errorprone.html#emptycatchblock
|
Avoid empty catch blocks:
src/main/java/de/rwth/idsg/steve/JettyServer.java#L270
Empty Catch Block finds instances where an exception is caught, but nothing is done.
In most circumstances, this swallows an exception which should either be acted on
or reported.
EmptyCatchBlock (Priority: 3, Ruleset: Error Prone)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_errorprone.html#emptycatchblock
|
Do not hard code the IP address :
src/main/java/de/rwth/idsg/steve/JettyServer.java#L276
Application with hard-coded IP addresses can become impossible to deploy in some cases.
Externalizing IP adresses is preferable.
AvoidUsingHardCodedIP (Priority: 3, Ruleset: Best Practices)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_bestpractices.html#avoidusinghardcodedip
|
Avoid empty catch blocks:
src/main/java/de/rwth/idsg/steve/JettyServer.java#L278
Empty Catch Block finds instances where an exception is caught, but nothing is done.
In most circumstances, this swallows an exception which should either be acted on
or reported.
EmptyCatchBlock (Priority: 3, Ruleset: Error Prone)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_errorprone.html#emptycatchblock
|
Useless parentheses.:
src/main/java/de/rwth/idsg/steve/JettyServer.java#L288
Useless parentheses should be removed.
UselessParentheses (Priority: 4, Ruleset: Code Style)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_codestyle.html#uselessparentheses
|
Avoid empty catch blocks:
src/main/java/de/rwth/idsg/steve/JettyServer.java#L294
Empty Catch Block finds instances where an exception is caught, but nothing is done.
In most circumstances, this swallows an exception which should either be acted on
or reported.
EmptyCatchBlock (Priority: 3, Ruleset: Error Prone)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_errorprone.html#emptycatchblock
|
Do not hard code the IP address :
src/main/java/de/rwth/idsg/steve/JettyServer.java#L298
Application with hard-coded IP addresses can become impossible to deploy in some cases.
Externalizing IP adresses is preferable.
AvoidUsingHardCodedIP (Priority: 3, Ruleset: Best Practices)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_bestpractices.html#avoidusinghardcodedip
|
Unused import 'com.fasterxml.jackson.datatype.joda.JodaModule':
src/main/java/de/rwth/idsg/steve/config/SecurityConfiguration.java#L22
Reports import statements that can be removed. They are either unused,
duplicated, or the members they import are already implicitly in scope,
because they're in java.lang, or the current package.
UnnecessaryImport (Priority: 4, Ruleset: Code Style)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_codestyle.html#unnecessaryimport
|
Unused import 'de.rwth.idsg.steve.ocpp.task.*':
src/main/java/de/rwth/idsg/steve/ocpp/ChargePointService16_InvokerImpl.java#L23
Reports import statements that can be removed. They are either unused,
duplicated, or the members they import are already implicitly in scope,
because they're in java.lang, or the current package.
UnnecessaryImport (Priority: 4, Ruleset: Code Style)
https://pmd.github.io/pmd-6.49.0/pmd_rules_java_codestyle.html#unnecessaryimport
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
PMD Report
Expired
|
34.2 KB |
|