PMD Results
The following document contains the results of PMD 6.38.0.
Violations By Priority
Priority 3
Maven Artifact - org/apache/maven/artifact/versioning/VersionRange.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 135–138 |
CollapsibleIfStatements | These nested if statements could be combined | 153–156 |
CollapsibleIfStatements | These nested if statements could be combined | 559–562 |
Maven Compat - org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 115–117 |
Maven Compat - org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 96–98 |
Maven Compat - org/apache/maven/artifact/repository/DefaultArtifactRepository.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'uniqueVersion'. | 79 |
Maven Compat - org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 141–153 |
CollapsibleIfStatements | These nested if statements could be combined | 441–453 |
Maven Compat - org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
Rule | Violation | Line |
---|---|---|
AvoidThreadGroup | Avoid using java.lang.ThreadGroup; it is not thread safe | 577 |
Maven Compat - org/apache/maven/artifact/resolver/WarningResolutionListener.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'logger'. | 34 |
Maven Compat - org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 210–213 |
CollapsibleIfStatements | These nested if statements could be combined | 590–607 |
CollapsibleIfStatements | These nested if statements could be combined | 612–616 |
CollapsibleIfStatements | These nested if statements could be combined | 621–626 |
EmptyIfStmt | Avoid empty if statements | 710–714 |
Maven Compat - org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'envars'. | 50 |
Maven Compat - org/apache/maven/project/path/DefaultPathTranslator.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 168–171 |
Maven Compat - org/apache/maven/repository/DefaultMirrorSelector.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 163 |
Maven Compat - org/apache/maven/repository/MetadataResolutionResult.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'dirtyTree'. | 66 |
UnusedPrivateField | Avoid unused private fields such as 'resolvedGraph'. | 70 |
Maven Compat - org/apache/maven/repository/legacy/DefaultWagonManager.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'protocol'. | 803 |
Maven Compat - org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 183–191 |
Maven Compat - org/apache/maven/repository/metadata/ArtifactMetadata.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'af'. | 149 |
Maven Compat - org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 110–116 |
UnusedFormalParameter | Avoid unused method parameters such as 'v'. | 207 |
Maven Compat - org/apache/maven/repository/metadata/MetadataGraph.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'nVertices'. | 244 |
Maven Compat - org/apache/maven/repository/metadata/MetadataGraphEdge.java
Rule | Violation | Line |
---|---|---|
OverrideBothEqualsAndHashcode | Ensure you override both equals() and hashCode() | 85 |
Maven Core - org/apache/maven/DefaultMaven.java
Rule | Violation | Line |
---|---|---|
ReturnFromFinallyBlock | Avoid returning from a finally block | 317 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 540 |
Maven Core - org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 60 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 75 |
Maven Core - org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 836 |
Maven Core - org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 53–55 |
Maven Core - org/apache/maven/execution/MavenSession.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'eventDispatcher'. | 337 |
Maven Core - org/apache/maven/execution/SettingsAdapter.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'runtimeInfo'. | 48 |
Maven Core - 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 |
Maven Core - org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'pluginVersionResolver'. | 75 |
Maven Core - org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'projectExecutionListeners'. | 67 |
Maven Core - org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 165–167 |
Maven Core - org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'muxer'. | 191 |
Maven Core - org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'e'. | 35 |
Maven Core - org/apache/maven/plugin/DefaultBuildPluginManager.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'mojoExecutionListeners'. | 64 |
Maven Core - 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 |
Maven Core - org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'logger'. | 90 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'pathTranslator'. | 90 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'project'. | 90 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'properties'. | 91 |
EmptyIfStmt | Avoid empty if statements | 468–470 |
Maven Core - org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 113–120 |
Maven Core - org/apache/maven/project/DefaultProjectBuildingHelper.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'container'. | 72 |
Maven Core - org/apache/maven/project/MavenProject.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 366–370 |
CollapsibleIfStatements | These nested if statements could be combined | 1577–1580 |
CollapsibleIfStatements | These nested if statements could be combined | 1602–1606 |
CollapsibleIfStatements | These nested if statements could be combined | 1756–1759 |
CollapsibleIfStatements | These nested if statements could be combined | 1776–1779 |
Maven Core - org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 158 |
Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsReader.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 64 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 80 |
Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsWriter.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 49 |
Maven Core - 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 |
Maven Embedder - org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 80 |
Maven Embedder - org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 156 |
Maven Model Builder - org/apache/maven/model/io/DefaultModelReader.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 71 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 83 |
Maven Model Builder - org/apache/maven/model/io/DefaultModelWriter.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 67 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 87 |
Maven Model Builder - org/apache/maven/model/merge/MavenModelMerger.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 85–89 |
Maven Model Builder - org/apache/maven/model/validation/DefaultModelValidator.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 231 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 555 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 620 |
Maven Model - org/apache/maven/model/merge/ModelMerger.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 162–166 |
CollapsibleIfStatements | These nested if statements could be combined | 192–196 |
CollapsibleIfStatements | These nested if statements could be combined | 206–210 |
CollapsibleIfStatements | These nested if statements could be combined | 220–225 |
CollapsibleIfStatements | These nested if statements could be combined | 235–239 |
CollapsibleIfStatements | These nested if statements could be combined | 249–253 |
CollapsibleIfStatements | These nested if statements could be combined | 262–266 |
CollapsibleIfStatements | These nested if statements could be combined | 276–280 |
CollapsibleIfStatements | These nested if statements could be combined | 289–293 |
CollapsibleIfStatements | These nested if statements could be combined | 303–307 |
CollapsibleIfStatements | These nested if statements could be combined | 624–628 |
CollapsibleIfStatements | These nested if statements could be combined | 639–643 |
CollapsibleIfStatements | These nested if statements could be combined | 662–666 |
CollapsibleIfStatements | These nested if statements could be combined | 676–680 |
CollapsibleIfStatements | These nested if statements could be combined | 690–694 |
CollapsibleIfStatements | These nested if statements could be combined | 704–708 |
CollapsibleIfStatements | These nested if statements could be combined | 743–748 |
CollapsibleIfStatements | These nested if statements could be combined | 757–761 |
CollapsibleIfStatements | These nested if statements could be combined | 770–774 |
CollapsibleIfStatements | These nested if statements could be combined | 783–787 |
CollapsibleIfStatements | These nested if statements could be combined | 846–850 |
CollapsibleIfStatements | These nested if statements could be combined | 860–864 |
CollapsibleIfStatements | These nested if statements could be combined | 874–878 |
CollapsibleIfStatements | These nested if statements could be combined | 888–892 |
CollapsibleIfStatements | These nested if statements could be combined | 910–914 |
CollapsibleIfStatements | These nested if statements could be combined | 924–928 |
CollapsibleIfStatements | These nested if statements could be combined | 938–942 |
CollapsibleIfStatements | These nested if statements could be combined | 966–970 |
CollapsibleIfStatements | These nested if statements could be combined | 980–984 |
CollapsibleIfStatements | These nested if statements could be combined | 994–998 |
CollapsibleIfStatements | These nested if statements could be combined | 1008–1012 |
CollapsibleIfStatements | These nested if statements could be combined | 1022–1026 |
CollapsibleIfStatements | These nested if statements could be combined | 1036–1040 |
CollapsibleIfStatements | These nested if statements could be combined | 1050–1054 |
CollapsibleIfStatements | These nested if statements could be combined | 1064–1068 |
CollapsibleIfStatements | These nested if statements could be combined | 1092–1096 |
CollapsibleIfStatements | These nested if statements could be combined | 1106–1110 |
CollapsibleIfStatements | These nested if statements could be combined | 1128–1132 |
CollapsibleIfStatements | These nested if statements could be combined | 1142–1146 |
CollapsibleIfStatements | These nested if statements could be combined | 1173–1177 |
CollapsibleIfStatements | These nested if statements could be combined | 1187–1191 |
CollapsibleIfStatements | These nested if statements could be combined | 1201–1205 |
CollapsibleIfStatements | These nested if statements could be combined | 1230–1234 |
CollapsibleIfStatements | These nested if statements could be combined | 1297–1301 |
CollapsibleIfStatements | These nested if statements could be combined | 1311–1315 |
CollapsibleIfStatements | These nested if statements could be combined | 1325–1329 |
CollapsibleIfStatements | These nested if statements could be combined | 1339–1343 |
CollapsibleIfStatements | These nested if statements could be combined | 1360–1364 |
CollapsibleIfStatements | These nested if statements could be combined | 1374–1378 |
CollapsibleIfStatements | These nested if statements could be combined | 1396–1400 |
CollapsibleIfStatements | These nested if statements could be combined | 1410–1414 |
CollapsibleIfStatements | These nested if statements could be combined | 1424–1428 |
CollapsibleIfStatements | These nested if statements could be combined | 1438–1442 |
CollapsibleIfStatements | These nested if statements could be combined | 1462–1466 |
CollapsibleIfStatements | These nested if statements could be combined | 1476–1480 |
CollapsibleIfStatements | These nested if statements could be combined | 1490–1494 |
CollapsibleIfStatements | These nested if statements could be combined | 1504–1508 |
CollapsibleIfStatements | These nested if statements could be combined | 1518–1522 |
CollapsibleIfStatements | These nested if statements could be combined | 1553–1557 |
CollapsibleIfStatements | These nested if statements could be combined | 1580–1584 |
CollapsibleIfStatements | These nested if statements could be combined | 1594–1598 |
CollapsibleIfStatements | These nested if statements could be combined | 1608–1612 |
CollapsibleIfStatements | These nested if statements could be combined | 1622–1626 |
CollapsibleIfStatements | These nested if statements could be combined | 1636–1640 |
CollapsibleIfStatements | These nested if statements could be combined | 1650–1654 |
CollapsibleIfStatements | These nested if statements could be combined | 1704–1708 |
CollapsibleIfStatements | These nested if statements could be combined | 1718–1722 |
CollapsibleIfStatements | These nested if statements could be combined | 1743–1748 |
CollapsibleIfStatements | These nested if statements could be combined | 1759–1764 |
CollapsibleIfStatements | These nested if statements could be combined | 1774–1779 |
CollapsibleIfStatements | These nested if statements could be combined | 1788–1792 |
CollapsibleIfStatements | These nested if statements could be combined | 1801–1805 |
CollapsibleIfStatements | These nested if statements could be combined | 1815–1819 |
CollapsibleIfStatements | These nested if statements could be combined | 1828–1832 |
CollapsibleIfStatements | These nested if statements could be combined | 1850–1854 |
CollapsibleIfStatements | These nested if statements could be combined | 1864–1868 |
CollapsibleIfStatements | These nested if statements could be combined | 1897–1900 |
CollapsibleIfStatements | These nested if statements could be combined | 1910–1913 |
CollapsibleIfStatements | These nested if statements could be combined | 1982–1986 |
CollapsibleIfStatements | These nested if statements could be combined | 2007–2011 |
CollapsibleIfStatements | These nested if statements could be combined | 2021–2025 |
CollapsibleIfStatements | These nested if statements could be combined | 2035–2039 |
CollapsibleIfStatements | These nested if statements could be combined | 2049–2053 |
CollapsibleIfStatements | These nested if statements could be combined | 2063–2067 |
CollapsibleIfStatements | These nested if statements could be combined | 2092–2096 |
CollapsibleIfStatements | These nested if statements could be combined | 2106–2110 |
CollapsibleIfStatements | These nested if statements could be combined | 2120–2124 |
CollapsibleIfStatements | These nested if statements could be combined | 2146–2150 |
CollapsibleIfStatements | These nested if statements could be combined | 2160–2164 |
CollapsibleIfStatements | These nested if statements could be combined | 2174–2178 |
CollapsibleIfStatements | These nested if statements could be combined | 2269–2273 |
CollapsibleIfStatements | These nested if statements could be combined | 2283–2287 |
CollapsibleIfStatements | These nested if statements could be combined | 2297–2301 |
CollapsibleIfStatements | These nested if statements could be combined | 2311–2315 |
CollapsibleIfStatements | These nested if statements could be combined | 2346–2350 |
CollapsibleIfStatements | These nested if statements could be combined | 2389–2393 |
CollapsibleIfStatements | These nested if statements could be combined | 2403–2407 |
CollapsibleIfStatements | These nested if statements could be combined | 2440–2444 |
CollapsibleIfStatements | These nested if statements could be combined | 2454–2458 |
CollapsibleIfStatements | These nested if statements could be combined | 2468–2471 |
CollapsibleIfStatements | These nested if statements could be combined | 2487–2491 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 251 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionResolver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 313 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'request'. | 48 |
Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsBuilder.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 164 |
Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsReader.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 65 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 81 |
Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsWriter.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 67 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 87 |
Priority 4
Maven Artifact - org/apache/maven/artifact/DefaultArtifact.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 146 |
UselessParentheses | Useless parentheses. | 146 |
UselessParentheses | Useless parentheses. | 155 |
UselessParentheses | Useless parentheses. | 155 |
UselessParentheses | Useless parentheses. | 374 |
UselessParentheses | Useless parentheses. | 374 |
UselessParentheses | Useless parentheses. | 492 |
UselessParentheses | Useless parentheses. | 492 |
Maven Artifact - org/apache/maven/artifact/versioning/ComparableVersion.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 138 |
UselessParentheses | Useless parentheses. | 138 |
UselessParentheses | Useless parentheses. | 224 |
UselessParentheses | Useless parentheses. | 224 |
UselessParentheses | Useless parentheses. | 410 |
UselessParentheses | Useless parentheses. | 430 |
UselessParentheses | Useless parentheses. | 506 |
UselessParentheses | Useless parentheses. | 567 |
UselessParentheses | Useless parentheses. | 590 |
UselessParentheses | Useless parentheses. | 795 |
UselessParentheses | Useless parentheses. | 840 |
UselessParentheses | Useless parentheses. | 840 |
Maven Artifact - org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 145 |
UselessParentheses | Useless parentheses. | 215 |
Maven Artifact - org/apache/maven/artifact/versioning/Restriction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 74 |
UselessParentheses | Useless parentheses. | 87 |
Maven Artifact - org/apache/maven/artifact/versioning/VersionRange.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 230 |
Maven Compat - org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 252 |
UselessParentheses | Useless parentheses. | 252 |
UselessParentheses | Useless parentheses. | 296 |
Maven Compat - org/apache/maven/project/ModelUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 57 |
UselessParentheses | Useless parentheses. | 57 |
UselessParentheses | Useless parentheses. | 65 |
UselessParentheses | Useless parentheses. | 79 |
UselessParentheses | Useless parentheses. | 99 |
UselessParentheses | Useless parentheses. | 104 |
UselessParentheses | Useless parentheses. | 117 |
UselessParentheses | Useless parentheses. | 192 |
UselessParentheses | Useless parentheses. | 192 |
UselessParentheses | Useless parentheses. | 203 |
UselessParentheses | Useless parentheses. | 203 |
UselessParentheses | Useless parentheses. | 220 |
UselessParentheses | Useless parentheses. | 224 |
UselessParentheses | Useless parentheses. | 237 |
UselessParentheses | Useless parentheses. | 251 |
UselessParentheses | Useless parentheses. | 288 |
Maven Compat - org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 109 |
UselessParentheses | Useless parentheses. | 115 |
UselessParentheses | Useless parentheses. | 127 |
UselessParentheses | Useless parentheses. | 127 |
UselessParentheses | Useless parentheses. | 369 |
UselessParentheses | Useless parentheses. | 369 |
UselessParentheses | Useless parentheses. | 377 |
UselessParentheses | Useless parentheses. | 387 |
UselessParentheses | Useless parentheses. | 401 |
UselessParentheses | Useless parentheses. | 431 |
UselessParentheses | Useless parentheses. | 461 |
UselessParentheses | Useless parentheses. | 461 |
UselessParentheses | Useless parentheses. | 467 |
UselessParentheses | Useless parentheses. | 467 |
UselessParentheses | Useless parentheses. | 475 |
UselessParentheses | Useless parentheses. | 479 |
UselessParentheses | Useless parentheses. | 501 |
Maven Compat - org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 338 |
UselessParentheses | Useless parentheses. | 342 |
Maven Compat - org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 110 |
UselessParentheses | Useless parentheses. | 150 |
Maven Compat - org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 217 |
UselessParentheses | Useless parentheses. | 217 |
UselessParentheses | Useless parentheses. | 276 |
UselessParentheses | Useless parentheses. | 276 |
UselessParentheses | Useless parentheses. | 379 |
UselessParentheses | Useless parentheses. | 379 |
UselessParentheses | Useless parentheses. | 635 |
UselessParentheses | Useless parentheses. | 642 |
UselessParentheses | Useless parentheses. | 648 |
UselessParentheses | Useless parentheses. | 649 |
UselessParentheses | Useless parentheses. | 686 |
Maven Compat - org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 158 |
UselessParentheses | Useless parentheses. | 159 |
Maven Compat - org/apache/maven/repository/metadata/MetadataGraphEdge.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 184 |
UselessParentheses | Useless parentheses. | 185 |
Maven Core - org/apache/maven/ReactorReader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 253 |
UselessParentheses | Useless parentheses. | 254 |
Maven Core - org/apache/maven/RepositoryUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 65 |
Maven Core - 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 |
Maven Core - org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 111 |
UselessParentheses | Useless parentheses. | 232 |
Maven Core - org/apache/maven/execution/SettingsAdapter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 60 |
Maven Core - org/apache/maven/lifecycle/internal/DependencyContext.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 96–97 |
Maven Core - org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 171 |
UselessParentheses | Useless parentheses. | 171 |
UselessParentheses | Useless parentheses. | 409 |
UselessParentheses | Useless parentheses. | 409 |
UselessParentheses | Useless parentheses. | 409 |
UselessParentheses | Useless parentheses. | 409 |
UselessParentheses | Useless parentheses. | 447–448 |
UselessParentheses | Useless parentheses. | 453 |
Maven Core - org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 531 |
UselessParentheses | Useless parentheses. | 531 |
Maven Core - 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' | 254 |
Maven Core - org/apache/maven/project/DefaultProjectBuilder.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 786 |
UselessParentheses | Useless parentheses. | 786 |
UselessParentheses | Useless parentheses. | 786 |
UselessParentheses | Useless parentheses. | 787 |
Maven Core - org/apache/maven/project/MavenProject.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 458 |
UselessParentheses | Useless parentheses. | 458 |
UselessParentheses | Useless parentheses. | 503 |
UselessParentheses | Useless parentheses. | 503 |
UselessParentheses | Useless parentheses. | 1003 |
UselessParentheses | Useless parentheses. | 1097 |
UselessParentheses | Useless parentheses. | 1097 |
UselessParentheses | Useless parentheses. | 1266 |
UselessParentheses | Useless parentheses. | 1280 |
UselessParentheses | Useless parentheses. | 1292 |
UselessParentheses | Useless parentheses. | 1297 |
UselessParentheses | Useless parentheses. | 1302 |
UselessParentheses | Useless parentheses. | 1617 |
UselessParentheses | Useless parentheses. | 1666 |
UselessParentheses | Useless parentheses. | 1694 |
UselessParentheses | Useless parentheses. | 1790 |
Maven Core - org/apache/maven/project/ProjectSorter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 244 |
Maven Core - org/apache/maven/project/artifact/MavenMetadataSource.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 487 |
UselessParentheses | Useless parentheses. | 487 |
Maven Core - org/apache/maven/repository/ArtifactTransferEvent.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 309 |
UselessParentheses | Useless parentheses. | 309 |
Maven Embedder - org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 82 |
UselessParentheses | Useless parentheses. | 99 |
UselessParentheses | Useless parentheses. | 103 |
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 116 |
Maven Embedder - org/apache/maven/cli/MavenCli.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 588 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 591 |
UselessParentheses | Useless parentheses. | 1118 |
UselessParentheses | Useless parentheses. | 1119 |
UselessParentheses | Useless parentheses. | 1495 |
UselessParentheses | Useless parentheses. | 1495 |
Maven Embedder - org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 119 |
UselessParentheses | Useless parentheses. | 333 |
Maven Embedder - org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 58–60 |
Maven Embedder - org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 248 |
Maven Embedder - org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 79 |
Maven Model Builder - org/apache/maven/model/building/DefaultModelBuilder.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 936–937 |
Maven Model Builder - org/apache/maven/model/building/ModelProblemUtils.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 117 |
UselessParentheses | Useless parentheses. | 119 |
UselessParentheses | Useless parentheses. | 121 |
Maven Model Builder - org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 131 |
Maven Model Builder - org/apache/maven/model/validation/DefaultModelValidator.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 290 |
UselessParentheses | Useless parentheses. | 297 |
Maven Plugin API - org/apache/maven/plugin/descriptor/MojoDescriptor.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 698 |
UselessParentheses | Useless parentheses. | 699 |
Maven Plugin API - org/apache/maven/plugin/descriptor/Parameter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 123 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionResolver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 419–420 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/RelocatedArtifact.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 50 |
UselessParentheses | Useless parentheses. | 51 |
UselessParentheses | Useless parentheses. | 52 |
UselessParentheses | Useless parentheses. | 53 |
UselessParentheses | Useless parentheses. | 97 |
UselessParentheses | Useless parentheses. | 119 |
Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 58 |
Files
Maven Artifact - org/apache/maven/artifact/DefaultArtifact.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 146 |
UselessParentheses | Useless parentheses. | 4 | 146 |
UselessParentheses | Useless parentheses. | 4 | 155 |
UselessParentheses | Useless parentheses. | 4 | 155 |
UselessParentheses | Useless parentheses. | 4 | 374 |
UselessParentheses | Useless parentheses. | 4 | 374 |
UselessParentheses | Useless parentheses. | 4 | 492 |
UselessParentheses | Useless parentheses. | 4 | 492 |
Maven Artifact - org/apache/maven/artifact/versioning/ComparableVersion.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 138 |
UselessParentheses | Useless parentheses. | 4 | 138 |
UselessParentheses | Useless parentheses. | 4 | 224 |
UselessParentheses | Useless parentheses. | 4 | 224 |
UselessParentheses | Useless parentheses. | 4 | 410 |
UselessParentheses | Useless parentheses. | 4 | 430 |
UselessParentheses | Useless parentheses. | 4 | 506 |
UselessParentheses | Useless parentheses. | 4 | 567 |
UselessParentheses | Useless parentheses. | 4 | 590 |
UselessParentheses | Useless parentheses. | 4 | 795 |
UselessParentheses | Useless parentheses. | 4 | 840 |
UselessParentheses | Useless parentheses. | 4 | 840 |
Maven Artifact - org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 145 |
UselessParentheses | Useless parentheses. | 4 | 215 |
Maven Artifact - org/apache/maven/artifact/versioning/Restriction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 74 |
UselessParentheses | Useless parentheses. | 4 | 87 |
Maven Artifact - org/apache/maven/artifact/versioning/VersionRange.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 135–138 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 153–156 |
UselessParentheses | Useless parentheses. | 4 | 230 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 559–562 |
Maven Compat - org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 115–117 |
Maven Compat - org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 96–98 |
Maven Compat - org/apache/maven/artifact/repository/DefaultArtifactRepository.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'uniqueVersion'. | 3 | 79 |
Maven Compat - org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 141–153 |
UselessParentheses | Useless parentheses. | 4 | 252 |
UselessParentheses | Useless parentheses. | 4 | 252 |
UselessParentheses | Useless parentheses. | 4 | 296 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 441–453 |
Maven Compat - org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidThreadGroup | Avoid using java.lang.ThreadGroup; it is not thread safe | 3 | 577 |
Maven Compat - org/apache/maven/artifact/resolver/WarningResolutionListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'logger'. | 3 | 34 |
Maven Compat - org/apache/maven/project/ModelUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 57 |
UselessParentheses | Useless parentheses. | 4 | 57 |
UselessParentheses | Useless parentheses. | 4 | 65 |
UselessParentheses | Useless parentheses. | 4 | 79 |
UselessParentheses | Useless parentheses. | 4 | 99 |
UselessParentheses | Useless parentheses. | 4 | 104 |
UselessParentheses | Useless parentheses. | 4 | 117 |
UselessParentheses | Useless parentheses. | 4 | 192 |
UselessParentheses | Useless parentheses. | 4 | 192 |
UselessParentheses | Useless parentheses. | 4 | 203 |
UselessParentheses | Useless parentheses. | 4 | 203 |
UselessParentheses | Useless parentheses. | 4 | 220 |
UselessParentheses | Useless parentheses. | 4 | 224 |
UselessParentheses | Useless parentheses. | 4 | 237 |
UselessParentheses | Useless parentheses. | 4 | 251 |
UselessParentheses | Useless parentheses. | 4 | 288 |
Maven Compat - org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 109 |
UselessParentheses | Useless parentheses. | 4 | 115 |
UselessParentheses | Useless parentheses. | 4 | 127 |
UselessParentheses | Useless parentheses. | 4 | 127 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 210–213 |
UselessParentheses | Useless parentheses. | 4 | 369 |
UselessParentheses | Useless parentheses. | 4 | 369 |
UselessParentheses | Useless parentheses. | 4 | 377 |
UselessParentheses | Useless parentheses. | 4 | 387 |
UselessParentheses | Useless parentheses. | 4 | 401 |
UselessParentheses | Useless parentheses. | 4 | 431 |
UselessParentheses | Useless parentheses. | 4 | 461 |
UselessParentheses | Useless parentheses. | 4 | 461 |
UselessParentheses | Useless parentheses. | 4 | 467 |
UselessParentheses | Useless parentheses. | 4 | 467 |
UselessParentheses | Useless parentheses. | 4 | 475 |
UselessParentheses | Useless parentheses. | 4 | 479 |
UselessParentheses | Useless parentheses. | 4 | 501 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 590–607 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 612–616 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 621–626 |
EmptyIfStmt | Avoid empty if statements | 3 | 710–714 |
Maven Compat - org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 338 |
UselessParentheses | Useless parentheses. | 4 | 342 |
Maven Compat - org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'envars'. | 3 | 50 |
Maven Compat - org/apache/maven/project/path/DefaultPathTranslator.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 168–171 |
Maven Compat - org/apache/maven/repository/DefaultMirrorSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 3 | 163 |
Maven Compat - org/apache/maven/repository/MetadataResolutionResult.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'dirtyTree'. | 3 | 66 |
UnusedPrivateField | Avoid unused private fields such as 'resolvedGraph'. | 3 | 70 |
Maven Compat - org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 110 |
UselessParentheses | Useless parentheses. | 4 | 150 |
Maven Compat - org/apache/maven/repository/legacy/DefaultWagonManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'protocol'. | 3 | 803 |
Maven Compat - org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 183–191 |
UselessParentheses | Useless parentheses. | 4 | 217 |
UselessParentheses | Useless parentheses. | 4 | 217 |
UselessParentheses | Useless parentheses. | 4 | 276 |
UselessParentheses | Useless parentheses. | 4 | 276 |
UselessParentheses | Useless parentheses. | 4 | 379 |
UselessParentheses | Useless parentheses. | 4 | 379 |
UselessParentheses | Useless parentheses. | 4 | 635 |
UselessParentheses | Useless parentheses. | 4 | 642 |
UselessParentheses | Useless parentheses. | 4 | 648 |
UselessParentheses | Useless parentheses. | 4 | 649 |
UselessParentheses | Useless parentheses. | 4 | 686 |
Maven Compat - org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 158 |
UselessParentheses | Useless parentheses. | 4 | 159 |
Maven Compat - org/apache/maven/repository/metadata/ArtifactMetadata.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'af'. | 3 | 149 |
Maven Compat - org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 110–116 |
UnusedFormalParameter | Avoid unused method parameters such as 'v'. | 3 | 207 |
Maven Compat - org/apache/maven/repository/metadata/MetadataGraph.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'nVertices'. | 3 | 244 |
Maven Compat - org/apache/maven/repository/metadata/MetadataGraphEdge.java
Rule | Violation | Priority | Line |
---|---|---|---|
OverrideBothEqualsAndHashcode | Ensure you override both equals() and hashCode() | 3 | 85 |
UselessParentheses | Useless parentheses. | 4 | 184 |
UselessParentheses | Useless parentheses. | 4 | 185 |
Maven Core - org/apache/maven/DefaultMaven.java
Rule | Violation | Priority | Line |
---|---|---|---|
ReturnFromFinallyBlock | Avoid returning from a finally block | 3 | 317 |
UnusedFormalParameter | Avoid unused method parameters such as 'result'. | 3 | 540 |
Maven Core - org/apache/maven/ReactorReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 253 |
UselessParentheses | Useless parentheses. | 4 | 254 |
Maven Core - org/apache/maven/RepositoryUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 65 |
Maven Core - 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 |
Maven Core - org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 111 |
UselessParentheses | Useless parentheses. | 4 | 232 |
Maven Core - org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 60 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 75 |
Maven Core - org/apache/maven/bridge/MavenRepositorySystem.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 3 | 836 |
Maven Core - org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 53–55 |
Maven Core - org/apache/maven/execution/MavenSession.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'eventDispatcher'. | 3 | 337 |
Maven Core - org/apache/maven/execution/SettingsAdapter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'runtimeInfo'. | 3 | 48 |
UselessParentheses | Useless parentheses. | 4 | 60 |
Maven Core - 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 |
Maven Core - org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'pluginVersionResolver'. | 3 | 75 |
Maven Core - org/apache/maven/lifecycle/internal/DependencyContext.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 96–97 |
Maven Core - org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'projectExecutionListeners'. | 3 | 67 |
Maven Core - org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyIfStmt | Avoid empty if statements | 3 | 165–167 |
Maven Core - org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'muxer'. | 3 | 191 |
Maven Core - org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'e'. | 3 | 35 |
Maven Core - org/apache/maven/plugin/DefaultBuildPluginManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'mojoExecutionListeners'. | 3 | 64 |
Maven Core - 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 |
Maven Core - org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'logger'. | 3 | 90 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'pathTranslator'. | 3 | 90 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'project'. | 3 | 90 |
UnusedFormalParameter | Avoid unused constructor parameters such as 'properties'. | 3 | 91 |
UselessParentheses | Useless parentheses. | 4 | 171 |
UselessParentheses | Useless parentheses. | 4 | 171 |
UselessParentheses | Useless parentheses. | 4 | 409 |
UselessParentheses | Useless parentheses. | 4 | 409 |
UselessParentheses | Useless parentheses. | 4 | 409 |
UselessParentheses | Useless parentheses. | 4 | 409 |
UselessParentheses | Useless parentheses. | 4 | 447–448 |
UselessParentheses | Useless parentheses. | 4 | 453 |
EmptyIfStmt | Avoid empty if statements | 3 | 468–470 |
Maven Core - org/apache/maven/plugin/internal/DefaultMavenPluginManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 531 |
UselessParentheses | Useless parentheses. | 4 | 531 |
Maven Core - org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 113–120 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' | 4 | 254 |
Maven Core - org/apache/maven/project/DefaultProjectBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 786 |
UselessParentheses | Useless parentheses. | 4 | 786 |
UselessParentheses | Useless parentheses. | 4 | 786 |
UselessParentheses | Useless parentheses. | 4 | 787 |
Maven Core - org/apache/maven/project/DefaultProjectBuildingHelper.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'container'. | 3 | 72 |
Maven Core - org/apache/maven/project/MavenProject.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 366–370 |
UselessParentheses | Useless parentheses. | 4 | 458 |
UselessParentheses | Useless parentheses. | 4 | 458 |
UselessParentheses | Useless parentheses. | 4 | 503 |
UselessParentheses | Useless parentheses. | 4 | 503 |
UselessParentheses | Useless parentheses. | 4 | 1003 |
UselessParentheses | Useless parentheses. | 4 | 1097 |
UselessParentheses | Useless parentheses. | 4 | 1097 |
UselessParentheses | Useless parentheses. | 4 | 1266 |
UselessParentheses | Useless parentheses. | 4 | 1280 |
UselessParentheses | Useless parentheses. | 4 | 1292 |
UselessParentheses | Useless parentheses. | 4 | 1297 |
UselessParentheses | Useless parentheses. | 4 | 1302 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1577–1580 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1602–1606 |
UselessParentheses | Useless parentheses. | 4 | 1617 |
UselessParentheses | Useless parentheses. | 4 | 1666 |
UselessParentheses | Useless parentheses. | 4 | 1694 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1756–1759 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1776–1779 |
UselessParentheses | Useless parentheses. | 4 | 1790 |
Maven Core - org/apache/maven/project/ProjectSorter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 244 |
Maven Core - org/apache/maven/project/artifact/MavenMetadataSource.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 487 |
UselessParentheses | Useless parentheses. | 4 | 487 |
Maven Core - org/apache/maven/repository/ArtifactTransferEvent.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 309 |
UselessParentheses | Useless parentheses. | 4 | 309 |
Maven Core - org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 158 |
Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 64 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 80 |
Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsWriter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 3 | 49 |
Maven Core - 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 |
Maven Embedder - org/apache/maven/cli/CLIReportingUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 82 |
UselessParentheses | Useless parentheses. | 4 | 99 |
UselessParentheses | Useless parentheses. | 4 | 103 |
UselessParentheses | Useless parentheses. | 4 | 116 |
UselessParentheses | Useless parentheses. | 4 | 116 |
Maven Embedder - org/apache/maven/cli/MavenCli.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 588 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' | 4 | 591 |
UselessParentheses | Useless parentheses. | 4 | 1118 |
UselessParentheses | Useless parentheses. | 4 | 1119 |
UselessParentheses | Useless parentheses. | 4 | 1495 |
UselessParentheses | Useless parentheses. | 4 | 1495 |
Maven Embedder - org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedPrivateField | Avoid unused private fields such as 'settingsDecrypter'. | 3 | 80 |
Maven Embedder - org/apache/maven/cli/event/ExecutionEventLogger.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 119 |
UselessParentheses | Useless parentheses. | 4 | 333 |
Maven Embedder - org/apache/maven/cli/logging/Slf4jLoggerManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 58–60 |
Maven Embedder - org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 248 |
Maven Embedder - org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'event'. | 3 | 156 |
Maven Embedder - org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 79 |
Maven Model Builder - org/apache/maven/model/building/DefaultModelBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 936–937 |
Maven Model Builder - org/apache/maven/model/building/ModelProblemUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 117 |
UselessParentheses | Useless parentheses. | 4 | 119 |
UselessParentheses | Useless parentheses. | 4 | 121 |
Maven Model Builder - org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 131 |
Maven Model Builder - org/apache/maven/model/io/DefaultModelReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 71 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 83 |
Maven Model Builder - org/apache/maven/model/io/DefaultModelWriter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 3 | 67 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 3 | 87 |
Maven Model Builder - org/apache/maven/model/merge/MavenModelMerger.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 85–89 |
Maven Model Builder - org/apache/maven/model/validation/DefaultModelValidator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 231 |
UselessParentheses | Useless parentheses. | 4 | 290 |
UselessParentheses | Useless parentheses. | 4 | 297 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 555 |
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 620 |
Maven Model - org/apache/maven/model/merge/ModelMerger.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 162–166 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 192–196 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 206–210 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 220–225 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 235–239 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 249–253 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 262–266 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 276–280 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 289–293 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 303–307 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 624–628 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 639–643 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 662–666 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 676–680 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 690–694 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 704–708 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 743–748 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 757–761 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 770–774 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 783–787 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 846–850 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 860–864 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 874–878 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 888–892 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 910–914 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 924–928 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 938–942 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 966–970 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 980–984 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 994–998 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1008–1012 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1022–1026 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1036–1040 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1050–1054 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1064–1068 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1092–1096 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1106–1110 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1128–1132 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1142–1146 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1173–1177 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1187–1191 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1201–1205 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1230–1234 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1297–1301 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1311–1315 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1325–1329 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1339–1343 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1360–1364 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1374–1378 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1396–1400 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1410–1414 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1424–1428 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1438–1442 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1462–1466 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1476–1480 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1490–1494 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1504–1508 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1518–1522 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1553–1557 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1580–1584 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1594–1598 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1608–1612 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1622–1626 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1636–1640 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1650–1654 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1704–1708 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1718–1722 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1743–1748 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1759–1764 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1774–1779 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1788–1792 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1801–1805 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1815–1819 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1828–1832 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1850–1854 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1864–1868 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1897–1900 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1910–1913 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1982–1986 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2007–2011 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2021–2025 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2035–2039 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2049–2053 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2063–2067 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2092–2096 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2106–2110 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2120–2124 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2146–2150 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2160–2164 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2174–2178 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2269–2273 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2283–2287 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2297–2301 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2311–2315 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2346–2350 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2389–2393 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2403–2407 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2440–2444 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2454–2458 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2468–2471 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2487–2491 |
Maven Plugin API - org/apache/maven/plugin/descriptor/MojoDescriptor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 698 |
UselessParentheses | Useless parentheses. | 4 | 699 |
Maven Plugin API - org/apache/maven/plugin/descriptor/Parameter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 123 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 251 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 313 |
UselessParentheses | Useless parentheses. | 4 | 419–420 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'request'. | 3 | 48 |
Maven Artifact Resolver Provider - org/apache/maven/repository/internal/RelocatedArtifact.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 50 |
UselessParentheses | Useless parentheses. | 4 | 51 |
UselessParentheses | Useless parentheses. | 4 | 52 |
UselessParentheses | Useless parentheses. | 4 | 53 |
UselessParentheses | Useless parentheses. | 4 | 97 |
UselessParentheses | Useless parentheses. | 4 | 119 |
Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsBuilder.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'request'. | 3 | 164 |
Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 58 |
Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsReader.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 65 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final | 3 | 81 |
Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsWriter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 3 | 67 |
UnnecessaryModifier | Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final | 3 | 87 |