[pmd-commits] [pmd/pmd] 8e0c47: Update documentation
Branch: refs/heads/gh-pages Home: https://github.com/pmd/pmd Commit: 8e0c47f3c0c1e58d520b4c6674163e22848c8a66 https://github.com/pmd/pmd/commit/8e0c47f3c0c1e58d520b4c6674163e22848c8a66 Author: PMD CI (pmd-bot) Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M feed.xml M pmd_release_notes.html M search.json M sitemap.xml M tag_devdocs.html M tag_extending.html M tag_getting_started.html M tag_languages.html M tag_metrics.html M tag_release_notes.html M tag_rule_references.html M tag_tools.html M tag_troubleshooting.html M tag_userdocs.html Log Message: --- Update documentation https://github.com/pmd/pmd/actions/runs/968102560 https://github.com/pmd/pmd/compare/bd5242f8e986...40a797ff72db ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] 94db5c: Update documentation
Branch: refs/heads/gh-pages Home: https://github.com/pmd/pmd Commit: 94db5c05aacbdd286d7b52cd21d3dbf769dc238b https://github.com/pmd/pmd/commit/94db5c05aacbdd286d7b52cd21d3dbf769dc238b Author: PMD CI (pmd-bot) Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M feed.xml M pmd_release_notes.html M search.json M sitemap.xml M tag_devdocs.html M tag_extending.html M tag_getting_started.html M tag_languages.html M tag_metrics.html M tag_release_notes.html M tag_rule_references.html M tag_tools.html M tag_troubleshooting.html M tag_userdocs.html Log Message: --- Update documentation https://github.com/pmd/pmd/actions/runs/968095957 https://github.com/pmd/pmd/compare/7260e8806cc9...bd5242f8e986 ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] 40a797: [doc] Update release notes, fixed typo
Branch: refs/heads/master Home: https://github.com/pmd/pmd Commit: 40a797ff72db5a4f9c90e9497051c405bbdb1350 https://github.com/pmd/pmd/commit/40a797ff72db5a4f9c90e9497051c405bbdb1350 Author: Andreas Dangel Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M docs/pages/release_notes.md Log Message: --- [doc] Update release notes, fixed typo Co-authored-by: Clément Fournier ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] bd5242: [doc] Update release notes, fixed typo
Branch: refs/heads/master Home: https://github.com/pmd/pmd Commit: bd5242f8e9864d90d39ee26aacce3273c8129aad https://github.com/pmd/pmd/commit/bd5242f8e9864d90d39ee26aacce3273c8129aad Author: Andreas Dangel Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M docs/pages/release_notes.md Log Message: --- [doc] Update release notes, fixed typo Co-Authored: Clément Fournier ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] ad3cb5: [core] Rework classpath fingerprinting
Branch: refs/heads/pmd/7.0.x Home: https://github.com/pmd/pmd Commit: ad3cb53625180bd5d920ecf11c9cdace04cc8427 https://github.com/pmd/pmd/commit/ad3cb53625180bd5d920ecf11c9cdace04cc8427 Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/main/java/net/sourceforge/pmd/benchmark/TimedOperationCategory.java M pmd-core/src/main/java/net/sourceforge/pmd/cache/AbstractAnalysisCache.java M pmd-core/src/main/java/net/sourceforge/pmd/cache/FileAnalysisCache.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ClasspathEntryFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ClasspathFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/NoopFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/RawFileFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinter.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/FileAnalysisCacheTest.java A pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/AbstractClasspathEntryFingerprinterTest.java A pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/RawFileFingerprinterTest.java A pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinterTest.java Log Message: --- [core] Rework classpath fingerprinting As per #2704, we improve on the classpath checksum computation to detect changes. While the old implementation computed full reads of all files in the classpath to compute an Adler32 checksum, we now introduce a series of fingerprinting strategies, specialized for different file formats: - For .class files, we still perform the same old whole-file checksum - For .jar / .zip files, we first tinker with the entries to: - Ignore non .class files - Sort all entries (order is irrelevant, well-formed jars don't include duplicates) - Focus on the archived file contents themselves (their checksum) rather than any metadata (ie: modification time) - For all other files, we ignore them (noop) The ignoring of irrelevant changes both within jar / files and simply referenced in the classpath improves the likelihood of the cache remaining valid between runs, even with multi-module projects. We take the chance to include time tracking to cache operations. They remain blazing fast on SSD. I've not been able to try it on a HDD, but given zip / jars now require to read only the central directory rather than the whole file I expect a positive improvement. Commit: 4c18f9b47f9881fcfec337649dcc316b543f7154 https://github.com/pmd/pmd/commit/4c18f9b47f9881fcfec337649dcc316b543f7154 Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M docs/pages/release_notes.md Log Message: --- Update changelog Commit: a4e784868d2929f49aab5593411b80bbe3d5b719 https://github.com/pmd/pmd/commit/a4e784868d2929f49aab5593411b80bbe3d5b719 Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/main/java/net/sourceforge/pmd/cache/AbstractAnalysisCache.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/FileAnalysisCacheTest.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinterTest.java Log Message: --- Tidy up code Commit: 4a25e50a629ce6c9fb67cec65b568b99b7125f0a https://github.com/pmd/pmd/commit/4a25e50a629ce6c9fb67cec65b568b99b7125f0a Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/test/java/net/sourceforge/pmd/cache/FileAnalysisCacheTest.java Log Message: --- Fix failing tests Commit: 0dc62de4cd973291da64f1fd6a3d3906191f22ad https://github.com/pmd/pmd/commit/0dc62de4cd973291da64f1fd6a3d3906191f22ad Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ClasspathFingerprinter.java M pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinter.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/AbstractClasspathEntryFingerprinterTest.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/RawFileFingerprinterTest.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinterTest.java Log Message: --- Fix Checkstyle issues Commit: b24e2edd254d0404422a77863423ad541fcd6995 https://github.com/pmd/pmd/commit/b24e2edd254d0404422a77863423ad541fcd6995 Author: Andreas Dangel Date: 2021-06-18 (Fri, 18 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/test/res
[pmd-commits] [pmd/pmd] 92a41e: Update documentation
Branch: refs/heads/gh-pages Home: https://github.com/pmd/pmd Commit: 92a41e07f840f1e8cd8aabb6a4d7ce4a4a627e83 https://github.com/pmd/pmd/commit/92a41e07f840f1e8cd8aabb6a4d7ce4a4a627e83 Author: PMD CI (pmd-bot) Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M feed.xml M pmd_release_notes.html M search.json M sitemap.xml M tag_devdocs.html M tag_extending.html M tag_getting_started.html M tag_languages.html M tag_metrics.html M tag_release_notes.html M tag_rule_references.html M tag_tools.html M tag_troubleshooting.html M tag_userdocs.html Log Message: --- Update documentation https://github.com/pmd/pmd/actions/runs/967998971 https://github.com/pmd/pmd/compare/5dd45d09f097...7260e8806cc9 ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] ad3cb5: [core] Rework classpath fingerprinting
Branch: refs/heads/master Home: https://github.com/pmd/pmd Commit: ad3cb53625180bd5d920ecf11c9cdace04cc8427 https://github.com/pmd/pmd/commit/ad3cb53625180bd5d920ecf11c9cdace04cc8427 Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/main/java/net/sourceforge/pmd/benchmark/TimedOperationCategory.java M pmd-core/src/main/java/net/sourceforge/pmd/cache/AbstractAnalysisCache.java M pmd-core/src/main/java/net/sourceforge/pmd/cache/FileAnalysisCache.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ClasspathEntryFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ClasspathFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/NoopFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/RawFileFingerprinter.java A pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinter.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/FileAnalysisCacheTest.java A pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/AbstractClasspathEntryFingerprinterTest.java A pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/RawFileFingerprinterTest.java A pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinterTest.java Log Message: --- [core] Rework classpath fingerprinting As per #2704, we improve on the classpath checksum computation to detect changes. While the old implementation computed full reads of all files in the classpath to compute an Adler32 checksum, we now introduce a series of fingerprinting strategies, specialized for different file formats: - For .class files, we still perform the same old whole-file checksum - For .jar / .zip files, we first tinker with the entries to: - Ignore non .class files - Sort all entries (order is irrelevant, well-formed jars don't include duplicates) - Focus on the archived file contents themselves (their checksum) rather than any metadata (ie: modification time) - For all other files, we ignore them (noop) The ignoring of irrelevant changes both within jar / files and simply referenced in the classpath improves the likelihood of the cache remaining valid between runs, even with multi-module projects. We take the chance to include time tracking to cache operations. They remain blazing fast on SSD. I've not been able to try it on a HDD, but given zip / jars now require to read only the central directory rather than the whole file I expect a positive improvement. Commit: 4c18f9b47f9881fcfec337649dcc316b543f7154 https://github.com/pmd/pmd/commit/4c18f9b47f9881fcfec337649dcc316b543f7154 Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M docs/pages/release_notes.md Log Message: --- Update changelog Commit: a4e784868d2929f49aab5593411b80bbe3d5b719 https://github.com/pmd/pmd/commit/a4e784868d2929f49aab5593411b80bbe3d5b719 Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/main/java/net/sourceforge/pmd/cache/AbstractAnalysisCache.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/FileAnalysisCacheTest.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinterTest.java Log Message: --- Tidy up code Commit: 4a25e50a629ce6c9fb67cec65b568b99b7125f0a https://github.com/pmd/pmd/commit/4a25e50a629ce6c9fb67cec65b568b99b7125f0a Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/test/java/net/sourceforge/pmd/cache/FileAnalysisCacheTest.java Log Message: --- Fix failing tests Commit: 0dc62de4cd973291da64f1fd6a3d3906191f22ad https://github.com/pmd/pmd/commit/0dc62de4cd973291da64f1fd6a3d3906191f22ad Author: Juan Martín Sotuyo Dodero Date: 2021-06-02 (Wed, 02 Jun 2021) Changed paths: M pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ClasspathFingerprinter.java M pmd-core/src/main/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinter.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/AbstractClasspathEntryFingerprinterTest.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/RawFileFingerprinterTest.java M pmd-core/src/test/java/net/sourceforge/pmd/cache/internal/ZipFileFingerprinterTest.java Log Message: --- Fix Checkstyle issues Commit: b24e2edd254d0404422a77863423ad541fcd6995 https://github.com/pmd/pmd/commit/b24e2edd254d0404422a77863423ad541fcd6995 Author: Andreas Dangel Date: 2021-06-18 (Fri, 18 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/test/resour
[pmd-commits] [pmd/pmd] b739c0: [java] LiteralsFirstInComparisons false positive w...
Branch: refs/heads/pmd/7.0.x Home: https://github.com/pmd/pmd Commit: b739c0ef042fc033a73de1deabf3280143b9b075 https://github.com/pmd/pmd/commit/b739c0ef042fc033a73de1deabf3280143b9b075 Author: Andreas Dangel Date: 2021-06-11 (Fri, 11 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/LiteralsFirstInComparisonsRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/LiteralsFirstInComparisons.xml Log Message: --- [java] LiteralsFirstInComparisons false positive with two constants Fixes #3315 Commit: 065da32b19bb64585bd89cbbf50f9d2550d05657 https://github.com/pmd/pmd/commit/065da32b19bb64585bd89cbbf50f9d2550d05657 Author: Arnaud Jeansen Date: 2021-06-14 (Mon, 14 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/JUnitTestsShouldIncludeAssertRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnitTestsShouldIncludeAssert.xml Log Message: --- Tweak assertion definition to avoid false positive with modern JUnit5 / AssertJ Commit: 985926d81f2474b1faf072da51cf620591938bc2 https://github.com/pmd/pmd/commit/985926d81f2474b1faf072da51cf620591938bc2 Author: Arnaud Jeansen Date: 2021-06-16 (Wed, 16 Jun 2021) Changed paths: M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnitTestsShouldIncludeAssert.xml Log Message: --- Add Unit Test for Jupiter Assertions Commit: f89478125a7da59653c8f173f62706a0c81871cb https://github.com/pmd/pmd/commit/f89478125a7da59653c8f173f62706a0c81871cb Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloneMethodMustImplementCloneableRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/CloneMethodMustImplementCloneable.xml Log Message: --- [java] CloneMethodMustImplementCloneable: FN with local classes Commit: aed6970704a4763b844bdac29ca24b10c85c8d1e https://github.com/pmd/pmd/commit/aed6970704a4763b844bdac29ca24b10c85c8d1e Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/CloneMethodMustImplementCloneable.xml Log Message: --- [doc] Update release notes (#3343) Commit: 528e8cf538edc3c2b960b3a62444f20178e77cc4 https://github.com/pmd/pmd/commit/528e8cf538edc3c2b960b3a62444f20178e77cc4 Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/InefficientEmptyStringCheckRule.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/inefficientemptystringcheck/StringTrimIsEmpty.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/inefficientemptystringcheck/StringTrimLength.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/inefficientemptystringcheck/StringTrimMethodArgument.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/InefficientEmptyStringCheck.xml Log Message: --- [java] InefficientEmptyStringCheck FN with trim.length on method call Commit: 43d5104a2c37aeec7bac7b296a727001f7dbe136 https://github.com/pmd/pmd/commit/43d5104a2c37aeec7bac7b296a727001f7dbe136 Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M docs/pages/release_notes.md Log Message: --- [doc] Update release notes (#3334) Commit: 63971f0fb8f8b2848b530f9b3e2af98eea7e91ee https://github.com/pmd/pmd/commit/63971f0fb8f8b2848b530f9b3e2af98eea7e91ee Author: Andreas Dangel Date: 2021-06-18 (Fri, 18 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/resources/category/java/performance.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/UseArraysAsList.xml Log Message: --- [java] UseArraysAsList false negative with for-each loop Fixes #3331 Commit: beb2896e08e0b2f133fc22b7cb8150cd22641677 https://github.com/pmd/pmd/commit/beb2896e08e0b2f133fc22b7cb8150cd22641677 Author: Andreas Dangel Date: 2021-06-18 (Fri, 18 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/LiteralsFirstInComparisonsRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/LiteralsFirstInComparisons.xml Log Message: --- [java] LiteralsFirstInComparison - fix FP with non-string arguments Commit: 4d3b20a
[pmd-commits] [pmd/pmd] b319eb: Update documentation
Branch: refs/heads/gh-pages Home: https://github.com/pmd/pmd Commit: b319eb7ed9f9b0bfe81b45a38634d9a1dc721ce6 https://github.com/pmd/pmd/commit/b319eb7ed9f9b0bfe81b45a38634d9a1dc721ce6 Author: PMD CI (pmd-bot) Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M feed.xml M pmd_release_notes.html M pmd_rules_java.html M pmd_rules_java_performance.html M search.json M sitemap.xml M tag_devdocs.html M tag_extending.html M tag_getting_started.html M tag_languages.html M tag_metrics.html M tag_release_notes.html M tag_rule_references.html M tag_tools.html M tag_troubleshooting.html M tag_userdocs.html Log Message: --- Update documentation https://github.com/pmd/pmd/actions/runs/967506045 https://github.com/pmd/pmd/compare/07bfe2c43b68...5dd45d09f097 ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] b739c0: [java] LiteralsFirstInComparisons false positive w...
Branch: refs/heads/master Home: https://github.com/pmd/pmd Commit: b739c0ef042fc033a73de1deabf3280143b9b075 https://github.com/pmd/pmd/commit/b739c0ef042fc033a73de1deabf3280143b9b075 Author: Andreas Dangel Date: 2021-06-11 (Fri, 11 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/LiteralsFirstInComparisonsRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/LiteralsFirstInComparisons.xml Log Message: --- [java] LiteralsFirstInComparisons false positive with two constants Fixes #3315 Commit: 065da32b19bb64585bd89cbbf50f9d2550d05657 https://github.com/pmd/pmd/commit/065da32b19bb64585bd89cbbf50f9d2550d05657 Author: Arnaud Jeansen Date: 2021-06-14 (Mon, 14 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/JUnitTestsShouldIncludeAssertRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnitTestsShouldIncludeAssert.xml Log Message: --- Tweak assertion definition to avoid false positive with modern JUnit5 / AssertJ Commit: 985926d81f2474b1faf072da51cf620591938bc2 https://github.com/pmd/pmd/commit/985926d81f2474b1faf072da51cf620591938bc2 Author: Arnaud Jeansen Date: 2021-06-16 (Wed, 16 Jun 2021) Changed paths: M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnitTestsShouldIncludeAssert.xml Log Message: --- Add Unit Test for Jupiter Assertions Commit: f89478125a7da59653c8f173f62706a0c81871cb https://github.com/pmd/pmd/commit/f89478125a7da59653c8f173f62706a0c81871cb Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloneMethodMustImplementCloneableRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/CloneMethodMustImplementCloneable.xml Log Message: --- [java] CloneMethodMustImplementCloneable: FN with local classes Commit: aed6970704a4763b844bdac29ca24b10c85c8d1e https://github.com/pmd/pmd/commit/aed6970704a4763b844bdac29ca24b10c85c8d1e Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/CloneMethodMustImplementCloneable.xml Log Message: --- [doc] Update release notes (#3343) Commit: 528e8cf538edc3c2b960b3a62444f20178e77cc4 https://github.com/pmd/pmd/commit/528e8cf538edc3c2b960b3a62444f20178e77cc4 Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/InefficientEmptyStringCheckRule.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/inefficientemptystringcheck/StringTrimIsEmpty.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/inefficientemptystringcheck/StringTrimLength.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/inefficientemptystringcheck/StringTrimMethodArgument.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/InefficientEmptyStringCheck.xml Log Message: --- [java] InefficientEmptyStringCheck FN with trim.length on method call Commit: 43d5104a2c37aeec7bac7b296a727001f7dbe136 https://github.com/pmd/pmd/commit/43d5104a2c37aeec7bac7b296a727001f7dbe136 Author: Andreas Dangel Date: 2021-06-17 (Thu, 17 Jun 2021) Changed paths: M docs/pages/release_notes.md Log Message: --- [doc] Update release notes (#3334) Commit: 63971f0fb8f8b2848b530f9b3e2af98eea7e91ee https://github.com/pmd/pmd/commit/63971f0fb8f8b2848b530f9b3e2af98eea7e91ee Author: Andreas Dangel Date: 2021-06-18 (Fri, 18 Jun 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/resources/category/java/performance.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/UseArraysAsList.xml Log Message: --- [java] UseArraysAsList false negative with for-each loop Fixes #3331 Commit: beb2896e08e0b2f133fc22b7cb8150cd22641677 https://github.com/pmd/pmd/commit/beb2896e08e0b2f133fc22b7cb8150cd22641677 Author: Andreas Dangel Date: 2021-06-18 (Fri, 18 Jun 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/LiteralsFirstInComparisonsRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/LiteralsFirstInComparisons.xml Log Message: --- [java] LiteralsFirstInComparison - fix FP with non-string arguments Commit: 4d3b20a1b2
[pmd-commits] [pmd/pmd] 1bf075: [java] InvalidLogMessageFormat may examine the val...
Branch: refs/heads/pmd/7.0.x Home: https://github.com/pmd/pmd Commit: 1bf07540e35baf169e0b3d987f6d35622c467ffe https://github.com/pmd/pmd/commit/1bf07540e35baf169e0b3d987f6d35622c467ffe Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/InvalidLogMessageFormatRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/InvalidLogMessageFormat.xml Log Message: --- [java] InvalidLogMessageFormat may examine the value of a different but identically named String variable Uses symbol table to find a referenced variable. Fixes #3284 Commit: 9a7cacdfa1d863ba6c09e5b47beb376521c527a4 https://github.com/pmd/pmd/commit/9a7cacdfa1d863ba6c09e5b47beb376521c527a4 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/main/resources/category/java/bestpractices.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml Log Message: --- [java] GuardLogStatement: False positive with compile-time constant arguments Fixes #957 Commit: 8229ef7c44a0ac137c7fa5c269d87787158e74e4 https://github.com/pmd/pmd/commit/8229ef7c44a0ac137c7fa5c269d87787158e74e4 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml Log Message: --- [java] GuardLogStatementRule - fix more false positives Commit: 53f88e7ed6896b1f125bddfef7838fc180b2e7c3 https://github.com/pmd/pmd/commit/53f88e7ed6896b1f125bddfef7838fc180b2e7c3 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-core/etc/xslt/cpdhtml.xslt A pmd-core/src/test/java/net/sourceforge/pmd/cpd/CpdXsltTest.java A pmd-core/src/test/resources/net/sourceforge/pmd/cpd/ExpectedCpdHtmlReport.html A pmd-core/src/test/resources/net/sourceforge/pmd/cpd/SampleCpdReport.xml Log Message: --- [core] cpd: Error Loading stylesheet cpdhtml.xslt Fixes #2637 Commit: d51ceda978150568772608e57731adbe871c7cf8 https://github.com/pmd/pmd/commit/d51ceda978150568772608e57731adbe871c7cf8 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml Log Message: --- [java] GuardLogStatementRule - fix false negative with lambda Commit: 0a01da81e3399ce6a47624d3aa5d90584aeaf1dc https://github.com/pmd/pmd/commit/0a01da81e3399ce6a47624d3aa5d90584aeaf1dc Author: Andreas Dangel Date: 2021-05-21 (Fri, 21 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedAssignment.xml Log Message: --- [java] UnusedAssignment false positive when reporting unused variables Fixes #3114 Commit: a025cfacda099c8dbb6ddfee3a7c0fc478a27a9d https://github.com/pmd/pmd/commit/a025cfacda099c8dbb6ddfee3a7c0fc478a27a9d Author: Clément Fournier Date: 2021-05-25 (Tue, 25 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/resources/category/java/bestpractices.xml M pmd-java/src/main/resources/category/java/codestyle.xml M pmd-java/src/main/resources/category/java/errorprone.xml M pmd-java/src/main/resources/rulesets/java/quickstart.xml A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/JUnit5TestShouldBePackagePrivateTest.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnit5TestShouldBePackagePrivate.xml Log Message: --- Merge branch 'master' into pr/3291 Commit: e2af1d78065f2fe247cd3d10e363ebe8e97b24dc https://github.com/pmd/pmd/commit/e2af1d78065f2fe247cd3d10e363ebe8e97b24dc Author: Clément Fournier Date: 2021-05-25 (Tue, 25 May 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTVariableDeclaratorId.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentRule.java Log Message: --- Change fix We don't need a set of used variables Commit: aea3a170424f77ea31b
[pmd-commits] [pmd/pmd] f94545: Update documentation
Branch: refs/heads/gh-pages Home: https://github.com/pmd/pmd Commit: f94545d5bdc649607d8d7df83fd5ae9fa7080e18 https://github.com/pmd/pmd/commit/f94545d5bdc649607d8d7df83fd5ae9fa7080e18 Author: PMD CI (pmd-bot) Date: 2021-06-24 (Thu, 24 Jun 2021) Changed paths: M 404.html M feed.xml M index.html M js/mydoc_scroll.html M license.html M news.html M news_archive.html M pmd_about_help.html M pmd_apex_metrics_index.html M pmd_devdocs_building.html M pmd_devdocs_development.html M pmd_devdocs_experimental_ast_dump.html M pmd_devdocs_how_pmd_works.html M pmd_devdocs_major_adding_new_cpd_language.html M pmd_devdocs_major_adding_new_language.html M pmd_devdocs_major_adding_new_metrics_framework.html M pmd_devdocs_pmdtester.html M pmd_devdocs_roadmap.html M pmd_devdocs_rule_deprecation_policy.html M pmd_devdocs_writing_documentation.html M pmd_java_metrics_index.html M pmd_languages_jsp.html M pmd_languages_plsql.html M pmd_next_major_development.html M pmd_projectdocs_committers_infrastructure.html M pmd_projectdocs_committers_main_landing_page.html M pmd_projectdocs_committers_merging_pull_requests.html M pmd_projectdocs_committers_releasing.html M pmd_projectdocs_credits.html M pmd_projectdocs_faq.html M pmd_projectdocs_trivia_meaning.html M pmd_projectdocs_trivia_news.html M pmd_projectdocs_trivia_products.html M pmd_projectdocs_trivia_similarprojects.html M pmd_release_notes.html M pmd_release_notes_old.html M pmd_rules_apex.html M pmd_rules_apex_bestpractices.html M pmd_rules_apex_codestyle.html M pmd_rules_apex_design.html M pmd_rules_apex_documentation.html M pmd_rules_apex_errorprone.html M pmd_rules_apex_performance.html M pmd_rules_apex_security.html M pmd_rules_ecmascript.html M pmd_rules_ecmascript_bestpractices.html M pmd_rules_ecmascript_codestyle.html M pmd_rules_ecmascript_errorprone.html M pmd_rules_java.html M pmd_rules_java_bestpractices.html M pmd_rules_java_codestyle.html M pmd_rules_java_design.html M pmd_rules_java_documentation.html M pmd_rules_java_errorprone.html M pmd_rules_java_multithreading.html M pmd_rules_java_performance.html M pmd_rules_java_security.html M pmd_rules_jsp.html M pmd_rules_jsp_bestpractices.html M pmd_rules_jsp_codestyle.html M pmd_rules_jsp_design.html M pmd_rules_jsp_errorprone.html M pmd_rules_jsp_security.html M pmd_rules_modelica.html M pmd_rules_modelica_bestpractices.html M pmd_rules_plsql.html M pmd_rules_plsql_bestpractices.html M pmd_rules_plsql_codestyle.html M pmd_rules_plsql_design.html M pmd_rules_plsql_errorprone.html M pmd_rules_pom.html M pmd_rules_pom_errorprone.html M pmd_rules_scala.html M pmd_rules_vf.html M pmd_rules_vf_security.html M pmd_rules_vm.html M pmd_rules_vm_bestpractices.html M pmd_rules_vm_design.html M pmd_rules_vm_errorprone.html M pmd_rules_xml.html M pmd_rules_xml_errorprone.html M pmd_rules_xsl.html M pmd_rules_xsl_codestyle.html M pmd_rules_xsl_performance.html M pmd_userdocs_best_practices.html M pmd_userdocs_cli_reference.html M pmd_userdocs_configuring_rules.html M pmd_userdocs_cpd.html M pmd_userdocs_cpd_report_formats.html M pmd_userdocs_extending_defining_properties.html M pmd_userdocs_extending_designer_reference.html M pmd_userdocs_extending_metrics_howto.html M pmd_userdocs_extending_rule_guidelines.html M pmd_userdocs_extending_testing.html M pmd_userdocs_extending_writing_java_rules.html M pmd_userdocs_extending_writing_pmd_rules.html M pmd_userdocs_extending_writing_rules_intro.html M pmd_userdocs_extending_writing_xpath_rules.html M pmd_userdocs_extending_your_first_rule.html M pmd_userdocs_incremental_analysis.html M pmd_userdocs_installation.html M pmd_userdocs_making_rulesets.html M pmd_userdocs_report_formats.html M pmd_userdocs_suppressing_warnings.html M pmd_userdocs_tools.html M pmd_userdocs_tools_ant.html M pmd_userdocs_tools_ci.html M pmd_userdocs_tools_gradle.html M pmd_userdocs_tools_java_api.html M pmd_userdocs_tools_maven.html M tag_devdocs.html M tag_extending.html M tag_getting_started.html M tag_languages.html M tag_metrics.html M tag_release_notes.html M tag_rule_references.html M tag_tools.html M tag_troubleshooting.html M tag_userdocs.html Log Message: --- Update documentation https://github.com/pmd/pmd/actions/runs/967108091 https://github.com/pmd/pmd/compare/b71c1cf92e20...07bfe2c43b68 ___ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits
[pmd-commits] [pmd/pmd] 1bf075: [java] InvalidLogMessageFormat may examine the val...
Branch: refs/heads/master Home: https://github.com/pmd/pmd Commit: 1bf07540e35baf169e0b3d987f6d35622c467ffe https://github.com/pmd/pmd/commit/1bf07540e35baf169e0b3d987f6d35622c467ffe Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/InvalidLogMessageFormatRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/InvalidLogMessageFormat.xml Log Message: --- [java] InvalidLogMessageFormat may examine the value of a different but identically named String variable Uses symbol table to find a referenced variable. Fixes #3284 Commit: 9a7cacdfa1d863ba6c09e5b47beb376521c527a4 https://github.com/pmd/pmd/commit/9a7cacdfa1d863ba6c09e5b47beb376521c527a4 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/main/resources/category/java/bestpractices.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml Log Message: --- [java] GuardLogStatement: False positive with compile-time constant arguments Fixes #957 Commit: 8229ef7c44a0ac137c7fa5c269d87787158e74e4 https://github.com/pmd/pmd/commit/8229ef7c44a0ac137c7fa5c269d87787158e74e4 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml Log Message: --- [java] GuardLogStatementRule - fix more false positives Commit: 53f88e7ed6896b1f125bddfef7838fc180b2e7c3 https://github.com/pmd/pmd/commit/53f88e7ed6896b1f125bddfef7838fc180b2e7c3 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-core/etc/xslt/cpdhtml.xslt A pmd-core/src/test/java/net/sourceforge/pmd/cpd/CpdXsltTest.java A pmd-core/src/test/resources/net/sourceforge/pmd/cpd/ExpectedCpdHtmlReport.html A pmd-core/src/test/resources/net/sourceforge/pmd/cpd/SampleCpdReport.xml Log Message: --- [core] cpd: Error Loading stylesheet cpdhtml.xslt Fixes #2637 Commit: d51ceda978150568772608e57731adbe871c7cf8 https://github.com/pmd/pmd/commit/d51ceda978150568772608e57731adbe871c7cf8 Author: Andreas Dangel Date: 2021-05-20 (Thu, 20 May 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/GuardLogStatementRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/GuardLogStatement.xml Log Message: --- [java] GuardLogStatementRule - fix false negative with lambda Commit: 0a01da81e3399ce6a47624d3aa5d90584aeaf1dc https://github.com/pmd/pmd/commit/0a01da81e3399ce6a47624d3aa5d90584aeaf1dc Author: Andreas Dangel Date: 2021-05-21 (Fri, 21 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedAssignment.xml Log Message: --- [java] UnusedAssignment false positive when reporting unused variables Fixes #3114 Commit: a025cfacda099c8dbb6ddfee3a7c0fc478a27a9d https://github.com/pmd/pmd/commit/a025cfacda099c8dbb6ddfee3a7c0fc478a27a9d Author: Clément Fournier Date: 2021-05-25 (Tue, 25 May 2021) Changed paths: M docs/pages/release_notes.md M pmd-java/src/main/resources/category/java/bestpractices.xml M pmd-java/src/main/resources/category/java/codestyle.xml M pmd-java/src/main/resources/category/java/errorprone.xml M pmd-java/src/main/resources/rulesets/java/quickstart.xml A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/JUnit5TestShouldBePackagePrivateTest.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/JUnit5TestShouldBePackagePrivate.xml Log Message: --- Merge branch 'master' into pr/3291 Commit: e2af1d78065f2fe247cd3d10e363ebe8e97b24dc https://github.com/pmd/pmd/commit/e2af1d78065f2fe247cd3d10e363ebe8e97b24dc Author: Clément Fournier Date: 2021-05-25 (Tue, 25 May 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTVariableDeclaratorId.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentRule.java Log Message: --- Change fix We don't need a set of used variables Commit: aea3a170424f77ea31b623