PMD Results
The following document contains the results of PMD 6.46.0.
Violations By Priority
Priority 3
org/apache/maven/DefaultMaven.java
Rule | Violation | Line |
---|---|---|
ReturnFromFinallyBlock | Avoid returning from a finally block | 368 |
org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 837 |
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 52–65 |
org/apache/maven/execution/MavenSession.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'eventDispatcher'. | 346 |
org/apache/maven/internal/impl/DefaultArtifactDeployer.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 71 |
org/apache/maven/internal/impl/DefaultArtifactInstaller.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 62 |
org/apache/maven/internal/impl/DefaultRepositoryFactory.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'repositorySystem'. | 40 |
org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'source'. | 59 |
org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
Rule | Violation | Line |
---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'source'. | 60 |
org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'defaultLifeCycles'. | 66 |
UnusedPrivateField | Avoid unused private fields such as 'mojoDescriptorCreator'. | 71 |
org/apache/maven/lifecycle/LifecycleExecutionException.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 57 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 63 |
org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'sessionScope'. | 60 |
org/apache/maven/lifecycle/internal/LifecycleStarter.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'sessionScope'. | 66 |
org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 220–237 |
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'muxer'. | 200 |
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'e'. | 35 |
org/apache/maven/plugin/PluginConfigurationException.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'pluginDescriptor'. | 33 |
UnusedPrivateField | Avoid unused private fields such as 'originalMessage'. | 35 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 453–466 |
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 270–374 |
EmptyControlStatement | Empty if statement | 461–474 |
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 116–123 |
org/apache/maven/project/DefaultProjectBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'profilesXmls'. | 677 |
org/apache/maven/project/DefaultProjectBuildingHelper.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'container'. | 72 |
org/apache/maven/project/MavenProject.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 371–375 |
CollapsibleIfStatements | These nested if statements could be combined | 1578–1581 |
CollapsibleIfStatements | These nested if statements could be combined | 1603–1607 |
CollapsibleIfStatements | These nested if statements could be combined | 1757–1760 |
CollapsibleIfStatements | These nested if statements could be combined | 1777–1780 |
org/apache/maven/toolchain/java/DefaultJavaToolChain.java
Rule | Violation | Line |
---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 44–47 |
UselessOverridingMethod | Overriding method merely calls super | 50–53 |
Priority 4
org/apache/maven/ReactorReader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 359 |
UselessParentheses | Useless parentheses. | 360 |
org/apache/maven/RepositoryUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 67 |
org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.artifact.metadata.ArtifactMetadata' due to existing same package import 'org.apache.maven.artifact.metadata.*' | 30 |
org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 111 |
UselessParentheses | Useless parentheses. | 232 |
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' | 36 |
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' | 39 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 43 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 92 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 96 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 97 |
UselessParentheses | Useless parentheses. | 99 |
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' | 74 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 92 |
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' | 92 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' | 93 |
org/apache/maven/lifecycle/internal/DependencyContext.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 96–97 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 161 |
UselessParentheses | Useless parentheses. | 161 |
UselessParentheses | Useless parentheses. | 395 |
UselessParentheses | Useless parentheses. | 395 |
UselessParentheses | Useless parentheses. | 395 |
UselessParentheses | Useless parentheses. | 395 |
UselessParentheses | Useless parentheses. | 433–434 |
UselessParentheses | Useless parentheses. | 439 |
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 164 |
UselessParentheses | Useless parentheses. | 164 |
UselessParentheses | Useless parentheses. | 403 |
UselessParentheses | Useless parentheses. | 403 |
UselessParentheses | Useless parentheses. | 403 |
UselessParentheses | Useless parentheses. | 403 |
UselessParentheses | Useless parentheses. | 441–442 |
UselessParentheses | Useless parentheses. | 447 |
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 547 |
UselessParentheses | Useless parentheses. | 547 |
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' | 250 |
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' | 102 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 264 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 266 |
UselessParentheses | Useless parentheses. | 778 |
UselessParentheses | Useless parentheses. | 778 |
UselessParentheses | Useless parentheses. | 778 |
UselessParentheses | Useless parentheses. | 779 |
org/apache/maven/project/MavenProject.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 463 |
UselessParentheses | Useless parentheses. | 463 |
UselessParentheses | Useless parentheses. | 508 |
UselessParentheses | Useless parentheses. | 508 |
UselessParentheses | Useless parentheses. | 1003 |
UselessParentheses | Useless parentheses. | 1101 |
UselessParentheses | Useless parentheses. | 1101 |
UselessParentheses | Useless parentheses. | 1265 |
UselessParentheses | Useless parentheses. | 1279 |
UselessParentheses | Useless parentheses. | 1291 |
UselessParentheses | Useless parentheses. | 1296 |
UselessParentheses | Useless parentheses. | 1301 |
UselessParentheses | Useless parentheses. | 1618 |
UselessParentheses | Useless parentheses. | 1667 |
UselessParentheses | Useless parentheses. | 1695 |
UselessParentheses | Useless parentheses. | 1791 |
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' | 312 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' | 324 |
org/apache/maven/project/artifact/MavenMetadataSource.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 488 |
UselessParentheses | Useless parentheses. | 488 |
org/apache/maven/project/collector/DefaultProjectsSelector.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 84 |
org/apache/maven/repository/ArtifactTransferEvent.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 309 |
UselessParentheses | Useless parentheses. | 309 |
Files
org/apache/maven/DefaultMaven.java
Rule | Violation | Priority | Line |
---|---|---|---|
ReturnFromFinallyBlock | Avoid returning from a finally block | 3 | 368 |
org/apache/maven/ReactorReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 359 |
UselessParentheses | Useless parentheses. | 4 | 360 |
org/apache/maven/RepositoryUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 67 |
org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.artifact.metadata.ArtifactMetadata' due to existing same package import 'org.apache.maven.artifact.metadata.*' | 4 | 30 |
org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 111 |
UselessParentheses | Useless parentheses. | 4 | 232 |
org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 3 | 837 |
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 52–65 |
org/apache/maven/execution/MavenSession.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'eventDispatcher'. | 3 | 346 |
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 | 36 |
org/apache/maven/internal/impl/DefaultArtifactDeployer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 3 | 71 |
org/apache/maven/internal/impl/DefaultArtifactInstaller.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'result'. | 3 | 62 |
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 | 39 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 43 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 92 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 96 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' | 4 | 97 |
UselessParentheses | Useless parentheses. | 4 | 99 |
org/apache/maven/internal/impl/DefaultRepositoryFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'repositorySystem'. | 3 | 40 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 4 | 74 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RepositoryPolicy' due to existing import 'org.eclipse.aether.repository.RepositoryPolicy' | 4 | 92 |
org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'source'. | 3 | 59 |
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 | 92 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.toolchain.ToolchainPrivate' due to existing import 'org.apache.maven.toolchain.ToolchainPrivate' | 4 | 93 |
org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedLocalVariable | Avoid unused local variables such as 'source'. | 3 | 60 |
org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'defaultLifeCycles'. | 3 | 66 |
UnusedPrivateField | Avoid unused private fields such as 'mojoDescriptorCreator'. | 3 | 71 |
org/apache/maven/lifecycle/LifecycleExecutionException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 3 | 57 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'execution'. | 3 | 63 |
org/apache/maven/lifecycle/internal/DependencyContext.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 96–97 |
org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'sessionScope'. | 3 | 60 |
org/apache/maven/lifecycle/internal/LifecycleStarter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'sessionScope'. | 3 | 66 |
org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 220–237 |
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'muxer'. | 3 | 200 |
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'e'. | 3 | 35 |
org/apache/maven/plugin/PluginConfigurationException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'pluginDescriptor'. | 3 | 33 |
UnusedPrivateField | Avoid unused private fields such as 'originalMessage'. | 3 | 35 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 161 |
UselessParentheses | Useless parentheses. | 4 | 161 |
UselessParentheses | Useless parentheses. | 4 | 395 |
UselessParentheses | Useless parentheses. | 4 | 395 |
UselessParentheses | Useless parentheses. | 4 | 395 |
UselessParentheses | Useless parentheses. | 4 | 395 |
UselessParentheses | Useless parentheses. | 4 | 433–434 |
UselessParentheses | Useless parentheses. | 4 | 439 |
EmptyControlStatement | Empty if statement | 3 | 453–466 |
org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 164 |
UselessParentheses | Useless parentheses. | 4 | 164 |
EmptyControlStatement | Empty if statement | 3 | 270–374 |
UselessParentheses | Useless parentheses. | 4 | 403 |
UselessParentheses | Useless parentheses. | 4 | 403 |
UselessParentheses | Useless parentheses. | 4 | 403 |
UselessParentheses | Useless parentheses. | 4 | 403 |
UselessParentheses | Useless parentheses. | 4 | 441–442 |
UselessParentheses | Useless parentheses. | 4 | 447 |
EmptyControlStatement | Empty if statement | 3 | 461–474 |
org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 547 |
UselessParentheses | Useless parentheses. | 4 | 547 |
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 116–123 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' | 4 | 250 |
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 | 102 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 4 | 264 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.model.Profile' due to existing import 'org.apache.maven.model.Profile' | 4 | 266 |
UnusedFormalParameter | Avoid unused method parameters such as 'profilesXmls'. | 3 | 677 |
UselessParentheses | Useless parentheses. | 4 | 778 |
UselessParentheses | Useless parentheses. | 4 | 778 |
UselessParentheses | Useless parentheses. | 4 | 778 |
UselessParentheses | Useless parentheses. | 4 | 779 |
org/apache/maven/project/DefaultProjectBuildingHelper.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'container'. | 3 | 72 |
org/apache/maven/project/MavenProject.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 371–375 |
UselessParentheses | Useless parentheses. | 4 | 463 |
UselessParentheses | Useless parentheses. | 4 | 463 |
UselessParentheses | Useless parentheses. | 4 | 508 |
UselessParentheses | Useless parentheses. | 4 | 508 |
UselessParentheses | Useless parentheses. | 4 | 1003 |
UselessParentheses | Useless parentheses. | 4 | 1101 |
UselessParentheses | Useless parentheses. | 4 | 1101 |
UselessParentheses | Useless parentheses. | 4 | 1265 |
UselessParentheses | Useless parentheses. | 4 | 1279 |
UselessParentheses | Useless parentheses. | 4 | 1291 |
UselessParentheses | Useless parentheses. | 4 | 1296 |
UselessParentheses | Useless parentheses. | 4 | 1301 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1578–1581 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1603–1607 |
UselessParentheses | Useless parentheses. | 4 | 1618 |
UselessParentheses | Useless parentheses. | 4 | 1667 |
UselessParentheses | Useless parentheses. | 4 | 1695 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1757–1760 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1777–1780 |
UselessParentheses | Useless parentheses. | 4 | 1791 |
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 | 312 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' | 4 | 324 |
org/apache/maven/project/artifact/MavenMetadataSource.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 488 |
UselessParentheses | Useless parentheses. | 4 | 488 |
org/apache/maven/project/collector/DefaultProjectsSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 84 |
org/apache/maven/repository/ArtifactTransferEvent.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 309 |
UselessParentheses | Useless parentheses. | 4 | 309 |
org/apache/maven/toolchain/java/DefaultJavaToolChain.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessOverridingMethod | Overriding method merely calls super | 3 | 44–47 |
UselessOverridingMethod | Overriding method merely calls super | 3 | 50–53 |