PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'exclusions'. | 37 |
org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 765 |
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 45–53 |
org/apache/maven/execution/MavenSession.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'eventDispatcher'. | 371 |
org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 396–421 |
org/apache/maven/internal/impl/DefaultArtifactDeployer.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 56 |
org/apache/maven/internal/impl/DefaultArtifactInstaller.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 55 |
org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'source'. | 55 |
org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'doDeleteFiles()'. | 125 |
org/apache/maven/lifecycle/DefaultLifecycles.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'logger'. | 64 |
org/apache/maven/lifecycle/LifecycleExecutionException.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 49 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 54 |
org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 184–194 |
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'muxer'. | 188 |
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'e'. | 31 |
org/apache/maven/plugin/PluginConfigurationException.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'pluginDescriptor'. | 29 |
UnusedPrivateField | Avoid unused private fields such as 'originalMessage'. | 31 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 352–360 |
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 182–189 |
EmptyControlStatement | Empty if statement | 232–243 |
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'pluginDescriptor'. | 520 |
UnusedLocalVariable | Avoid unused local variables such as 'sessionV4'. | 668 |
org/apache/maven/project/MavenProject.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'scope'. | 338 |
CollapsibleIfStatements | These nested if statements could be combined | 1354–1356 |
CollapsibleIfStatements | These nested if statements could be combined | 1374–1376 |
CollapsibleIfStatements | These nested if statements could be combined | 1501–1506 |
CollapsibleIfStatements | These nested if statements could be combined | 1520–1522 |
org/apache/maven/toolchain/java/DefaultJavaToolChain.java
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 41–43 |
UselessOverridingMethod | Overriding method merely calls super | 46–48 |
Priority 4
org/apache/maven/ReactorReader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 301 |
UselessParentheses | Useless parentheses. | 302 |
org/apache/maven/RepositoryUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 69 |
org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 804 |
org/apache/maven/classrealm/DefaultClassRealmManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 258 |
org/apache/maven/exception/DefaultExceptionHandler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 206 |
UselessParentheses | Useless parentheses. | 235 |
org/apache/maven/graph/DefaultGraphBuilder.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 269 |
org/apache/maven/internal/impl/AbstractNode.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 34 |
org/apache/maven/internal/impl/DefaultNode.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 38 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 42 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 87 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 91 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 92 |
UselessParentheses | Useless parentheses. | 94 |
org/apache/maven/internal/impl/DefaultRepositoryFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 65 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 79 |
org/apache/maven/internal/impl/DefaultToolchainManager.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' | 80 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' | 81 |
org/apache/maven/internal/impl/DefaultTransportProvider.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.spi.connector.transport.TransporterProvider' due to existing import 'org.eclipse.aether.spi.connector.transport.TransporterProvider' | 41 |
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 313 |
UselessParentheses | Useless parentheses. | 313 |
org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 78–79 |
org/apache/maven/lifecycle/internal/DependencyContext.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 81 |
org/apache/maven/plugin/PluginParameterException.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 125 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 145 |
UselessParentheses | Useless parentheses. | 145 |
UselessParentheses | Useless parentheses. | 307 |
UselessParentheses | Useless parentheses. | 307 |
UselessParentheses | Useless parentheses. | 307 |
UselessParentheses | Useless parentheses. | 307 |
UselessParentheses | Useless parentheses. | 336–337 |
UselessParentheses | Useless parentheses. | 341 |
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 115 |
UselessParentheses | Useless parentheses. | 115 |
UselessParentheses | Useless parentheses. | 216–217 |
UselessParentheses | Useless parentheses. | 221 |
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 599 |
UselessParentheses | Useless parentheses. | 599 |
org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 100 |
org/apache/maven/project/DefaultProjectBuilder.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.RepositorySystem' due to existing import 'org.eclipse.aether.RepositorySystem' | 97 |
UselessParentheses | Useless parentheses. | 442–443 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 959 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 960 |
org/apache/maven/project/MavenProject.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 441 |
UselessParentheses | Useless parentheses. | 441 |
UselessParentheses | Useless parentheses. | 476 |
UselessParentheses | Useless parentheses. | 476 |
UselessParentheses | Useless parentheses. | 881 |
UselessParentheses | Useless parentheses. | 958 |
UselessParentheses | Useless parentheses. | 958 |
UselessParentheses | Useless parentheses. | 1092 |
UselessParentheses | Useless parentheses. | 1103 |
UselessParentheses | Useless parentheses. | 1113 |
UselessParentheses | Useless parentheses. | 1117 |
UselessParentheses | Useless parentheses. | 1121 |
UselessParentheses | Useless parentheses. | 1386 |
UselessParentheses | Useless parentheses. | 1427 |
UselessParentheses | Useless parentheses. | 1452 |
UselessParentheses | Useless parentheses. | 1532 |
org/apache/maven/project/ProjectModelResolver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.Parent' due to existing import 'org.apache.maven.api.model.Parent' | 277 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' | 287 |
org/apache/maven/project/ProjectSorter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 244 |
org/apache/maven/project/collector/DefaultProjectsSelector.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 78 |
UselessParentheses | Useless parentheses. | 78 |
org/apache/maven/settings/SettingsUtilsV4.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.ActivationFile' due to existing import 'org.apache.maven.api.model.ActivationFile' | 116 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' | 325 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' | 331 |
Files
org/apache/maven/ReactorReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 301 |
UselessParentheses | Useless parentheses. | 4 | 302 |
org/apache/maven/RepositoryUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 69 |
org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'exclusions'. | 3 | 37 |
org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 3 | 765 |
UselessParentheses | Useless parentheses. | 4 | 804 |
org/apache/maven/classrealm/DefaultClassRealmManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 258 |
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 45–53 |
org/apache/maven/exception/DefaultExceptionHandler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 206 |
UselessParentheses | Useless parentheses. | 4 | 235 |
org/apache/maven/execution/MavenSession.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'eventDispatcher'. | 3 | 371 |
org/apache/maven/graph/DefaultGraphBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 269 |
org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 396–421 |
org/apache/maven/internal/impl/AbstractNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 34 |
org/apache/maven/internal/impl/DefaultArtifactDeployer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 3 | 56 |
org/apache/maven/internal/impl/DefaultArtifactInstaller.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 3 | 55 |
org/apache/maven/internal/impl/DefaultNode.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 38 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 42 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 87 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 91 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 92 |
UselessParentheses | Useless parentheses. | 4 | 94 |
org/apache/maven/internal/impl/DefaultRepositoryFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 4 | 65 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 4 | 79 |
org/apache/maven/internal/impl/DefaultToolchainManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' | 4 | 80 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' | 4 | 81 |
org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'source'. | 3 | 55 |
org/apache/maven/internal/impl/DefaultTransportProvider.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.spi.connector.transport.TransporterProvider' due to existing import 'org.eclipse.aether.spi.connector.transport.TransporterProvider' | 4 | 41 |
org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'doDeleteFiles()'. | 3 | 125 |
org/apache/maven/lifecycle/DefaultLifecycles.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'logger'. | 3 | 64 |
org/apache/maven/lifecycle/LifecycleExecutionException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 3 | 49 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 3 | 54 |
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 313 |
UselessParentheses | Useless parentheses. | 4 | 313 |
org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 78–79 |
org/apache/maven/lifecycle/internal/DependencyContext.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 81 |
org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 184–194 |
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'muxer'. | 3 | 188 |
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'e'. | 3 | 31 |
org/apache/maven/plugin/PluginConfigurationException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'pluginDescriptor'. | 3 | 29 |
UnusedPrivateField | Avoid unused private fields such as 'originalMessage'. | 3 | 31 |
org/apache/maven/plugin/PluginParameterException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 125 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 145 |
UselessParentheses | Useless parentheses. | 4 | 145 |
UselessParentheses | Useless parentheses. | 4 | 307 |
UselessParentheses | Useless parentheses. | 4 | 307 |
UselessParentheses | Useless parentheses. | 4 | 307 |
UselessParentheses | Useless parentheses. | 4 | 307 |
UselessParentheses | Useless parentheses. | 4 | 336–337 |
UselessParentheses | Useless parentheses. | 4 | 341 |
EmptyControlStatement | Empty if statement | 3 | 352–360 |
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 115 |
UselessParentheses | Useless parentheses. | 4 | 115 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 182–189 |
UselessParentheses | Useless parentheses. | 4 | 216–217 |
UselessParentheses | Useless parentheses. | 4 | 221 |
EmptyControlStatement | Empty if statement | 3 | 232–243 |
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'pluginDescriptor'. | 3 | 520 |
UselessParentheses | Useless parentheses. | 4 | 599 |
UselessParentheses | Useless parentheses. | 4 | 599 |
UnusedLocalVariable | Avoid unused local variables such as 'sessionV4'. | 3 | 668 |
org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 100 |
org/apache/maven/project/DefaultProjectBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.RepositorySystem' due to existing import 'org.eclipse.aether.RepositorySystem' | 4 | 97 |
UselessParentheses | Useless parentheses. | 4 | 442–443 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 4 | 959 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 4 | 960 |
org/apache/maven/project/MavenProject.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'scope'. | 3 | 338 |
UselessParentheses | Useless parentheses. | 4 | 441 |
UselessParentheses | Useless parentheses. | 4 | 441 |
UselessParentheses | Useless parentheses. | 4 | 476 |
UselessParentheses | Useless parentheses. | 4 | 476 |
UselessParentheses | Useless parentheses. | 4 | 881 |
UselessParentheses | Useless parentheses. | 4 | 958 |
UselessParentheses | Useless parentheses. | 4 | 958 |
UselessParentheses | Useless parentheses. | 4 | 1092 |
UselessParentheses | Useless parentheses. | 4 | 1103 |
UselessParentheses | Useless parentheses. | 4 | 1113 |
UselessParentheses | Useless parentheses. | 4 | 1117 |
UselessParentheses | Useless parentheses. | 4 | 1121 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1354–1356 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1374–1376 |
UselessParentheses | Useless parentheses. | 4 | 1386 |
UselessParentheses | Useless parentheses. | 4 | 1427 |
UselessParentheses | Useless parentheses. | 4 | 1452 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1501–1506 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1520–1522 |
UselessParentheses | Useless parentheses. | 4 | 1532 |
org/apache/maven/project/ProjectModelResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.Parent' due to existing import 'org.apache.maven.api.model.Parent' | 4 | 277 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' | 4 | 287 |
org/apache/maven/project/ProjectSorter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 244 |
org/apache/maven/project/collector/DefaultProjectsSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 78 |
UselessParentheses | Useless parentheses. | 4 | 78 |
org/apache/maven/settings/SettingsUtilsV4.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.ActivationFile' due to existing import 'org.apache.maven.api.model.ActivationFile' | 4 | 116 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' | 4 | 325 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.InputLocation' due to existing import 'org.apache.maven.api.model.InputLocation' | 4 | 331 |
org/apache/maven/toolchain/java/DefaultJavaToolChain.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 41–43 |
UselessOverridingMethod | Overriding method merely calls super | 3 | 46–48 |