[jira] [Commented] (IO-741) FileUtils.listFiles does not list matching files if File parameter is a symbolic link
[ https://issues.apache.org/jira/browse/IO-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17391932#comment-17391932 ] Zach Sherman commented on IO-741: - [~ggregory], very sorry for the delay on this. We were able to verify that this issue is fixed in 2.11. Thank you for getting the fix out so quickly. > FileUtils.listFiles does not list matching files if File parameter is a > symbolic link > - > > Key: IO-741 > URL: https://issues.apache.org/jira/browse/IO-741 > Project: Commons IO > Issue Type: Bug > Components: Utilities >Affects Versions: 2.9.0, 2.10.0 >Reporter: Zach Sherman >Priority: Major > Fix For: 2.11.0 > > > This is a regression from 2.6.0. We are using the following FileUtils > utility function to list matching files under a directory: > {noformat} > public static Collection listFiles(File directory, String[] extensions, > boolean recursive){noformat} > > In particular the call we are making is: > {noformat} > FileUtils.listFiles(extension, new String[]{"jar"}, false);{noformat} > This used to return all matching files in 2.6.0 when the directory was a > symlink, but it no longer does. Breaking through the code in a debugger, I > was able to manually add the FileVisitOptions.FOLLOW_LINKS option, but this > is not specifiable from an external caller outside of commons-io. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Work logged] (LANG-1666) Add ObjectUtils.equalsAny
[ https://issues.apache.org/jira/browse/LANG-1666?focusedWorklogId=632620=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-632620 ] ASF GitHub Bot logged work on LANG-1666: Author: ASF GitHub Bot Created on: 02/Aug/21 21:35 Start Date: 02/Aug/21 21:35 Worklog Time Spent: 10m Work Description: coveralls commented on pull request #782: URL: https://github.com/apache/commons-lang/pull/782#issuecomment-891350615 [![Coverage Status](https://coveralls.io/builds/41845052/badge)](https://coveralls.io/builds/41845052) Coverage increased (+0.002%) to 94.997% when pulling **ba9f48cf41b0694d156dc586815b1c49c824f272 on felhag:LANG-1666-equals-any** into **7c658527094083b2037d362916adf8eb2493ea65 on apache:master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking --- Worklog Id: (was: 632620) Time Spent: 20m (was: 10m) > Add ObjectUtils.equalsAny > - > > Key: LANG-1666 > URL: https://issues.apache.org/jira/browse/LANG-1666 > Project: Commons Lang > Issue Type: New Feature >Reporter: Felix Hagemans >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > I think an {{equalsAny}} utility method would be a nice simple addition to > the ObjectUtils class. For example: > {code:java}if (valueA.equals(someObject.getSomeGetter()) || > valueB.equals(someObject.getSomeGetter()) { ... }{code} > could be written a lot cleaner: > {code:java}if (ObjectUtils.equalsAny(someObject.getSomeGetter(), valueA, > valueB) { ... }{code} > It would work similar to the already existing StringUtils.equalsAny method. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[GitHub] [commons-lang] coveralls commented on pull request #782: [LANG-1666] Implemented ObjectUtils.equalsAny
coveralls commented on pull request #782: URL: https://github.com/apache/commons-lang/pull/782#issuecomment-891350615 [![Coverage Status](https://coveralls.io/builds/41845052/badge)](https://coveralls.io/builds/41845052) Coverage increased (+0.002%) to 94.997% when pulling **ba9f48cf41b0694d156dc586815b1c49c824f272 on felhag:LANG-1666-equals-any** into **7c658527094083b2037d362916adf8eb2493ea65 on apache:master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-text] dependabot[bot] commented on pull request #253: Bump checkstyle from 8.44 to 8.45
dependabot[bot] commented on pull request #253: URL: https://github.com/apache/commons-text/pull/253#issuecomment-891336708 OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-text] kinow closed pull request #253: Bump checkstyle from 8.44 to 8.45
kinow closed pull request #253: URL: https://github.com/apache/commons-text/pull/253 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-text] dependabot[bot] opened a new pull request #253: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #253: URL: https://github.com/apache/commons-text/pull/253 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-collections] garydgregory merged pull request #245: Bump checkstyle from 8.44 to 8.45
garydgregory merged pull request #245: URL: https://github.com/apache/commons-collections/pull/245 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-lang] coveralls commented on pull request #783: Bump checkstyle from 8.43 to 8.45
coveralls commented on pull request #783: URL: https://github.com/apache/commons-lang/pull/783#issuecomment-891108194 [![Coverage Status](https://coveralls.io/builds/41834497/badge)](https://coveralls.io/builds/41834497) Coverage decreased (-0.01%) to 94.982% when pulling **9b0e0f394b01f8e02102b72680f412d5dcf221fd on dependabot/maven/com.puppycrawl.tools-checkstyle-8.45** into **7c658527094083b2037d362916adf8eb2493ea65 on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-lang] dependabot[bot] commented on pull request #774: Bump checkstyle from 8.43 to 8.44
dependabot[bot] commented on pull request #774: URL: https://github.com/apache/commons-lang/pull/774#issuecomment-891098817 Superseded by #783. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-lang] dependabot[bot] opened a new pull request #783: Bump checkstyle from 8.43 to 8.45
dependabot[bot] opened a new pull request #783: URL: https://github.com/apache/commons-lang/pull/783 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.43 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 checkstyle-8.44 https://checkstyle.org/releasenotes.html#Release_8.44;>https://checkstyle.org/releasenotes.html#Release_8.44 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.43...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.43=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact
[GitHub] [commons-lang] dependabot[bot] closed pull request #774: Bump checkstyle from 8.43 to 8.44
dependabot[bot] closed pull request #774: URL: https://github.com/apache/commons-lang/pull/774 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-csv] coveralls commented on pull request #174: Bump checkstyle from 8.44 to 8.45
coveralls commented on pull request #174: URL: https://github.com/apache/commons-csv/pull/174#issuecomment-890981580 [![Coverage Status](https://coveralls.io/builds/41829412/badge)](https://coveralls.io/builds/41829412) Coverage remained the same at 98.323% when pulling **5a82c6650c060ed4d1943622f8d8c20fd3e7f31d on dependabot/maven/com.puppycrawl.tools-checkstyle-8.45** into **d714ff63ebe25eb6bddb1160f814c465f8764b89 on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-collections] coveralls commented on pull request #245: Bump checkstyle from 8.44 to 8.45
coveralls commented on pull request #245: URL: https://github.com/apache/commons-collections/pull/245#issuecomment-890980293 [![Coverage Status](https://coveralls.io/builds/41829296/badge)](https://coveralls.io/builds/41829296) Coverage decreased (-0.03%) to 90.112% when pulling **19d2653a6b71938c0bf43b2e0280aa2930b2ace6 on dependabot/maven/com.puppycrawl.tools-checkstyle-8.45** into **fc99d0908305463cc7464d661d28b6d5b0ce94b4 on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-csv] coveralls commented on pull request #173: Bump commons.pmd-impl.version from 6.36.0 to 6.37.0
coveralls commented on pull request #173: URL: https://github.com/apache/commons-csv/pull/173#issuecomment-890980042 [![Coverage Status](https://coveralls.io/builds/41829359/badge)](https://coveralls.io/builds/41829359) Coverage remained the same at 98.323% when pulling **2394c02b5d35452cd0b53bd0abd4cb77af619ba5 on dependabot/maven/commons.pmd-impl.version-6.37.0** into **d714ff63ebe25eb6bddb1160f814c465f8764b89 on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-jexl] coveralls commented on pull request #59: Bump checkstyle from 8.44 to 8.45
coveralls commented on pull request #59: URL: https://github.com/apache/commons-jexl/pull/59#issuecomment-890976678 [![Coverage Status](https://coveralls.io/builds/41829206/badge)](https://coveralls.io/builds/41829206) Coverage remained the same at 87.122% when pulling **9fe0cf16918dffe24f0bbc95d0b20df982a8fd5a on dependabot/maven/com.puppycrawl.tools-checkstyle-8.45** into **6e68ab9a2e7187507689deaecaf648b65ffeb99a on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-csv] dependabot[bot] opened a new pull request #174: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #174: URL: https://github.com/apache/commons-csv/pull/174 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-csv] dependabot[bot] opened a new pull request #173: Bump commons.pmd-impl.version from 6.36.0 to 6.37.0
dependabot[bot] opened a new pull request #173: URL: https://github.com/apache/commons-csv/pull/173 Bumps `commons.pmd-impl.version` from 6.36.0 to 6.37.0. Updates `pmd-core` from 6.36.0 to 6.37.0 Release notes Sourced from https://github.com/pmd/pmd/releases;>pmd-core's releases. PMD 6.37.0 (31-July-2021) 31-July-2021 - 6.37.0 The PMD team is pleased to announce PMD 6.37.0. This is a minor release. Table Of Contents https://github.com/pmd/pmd/blob/HEAD/#new-and-noteworthy;>New and noteworthy https://github.com/pmd/pmd/blob/HEAD/#java-17-support;>Java 17 Support https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer;>Updated PMD Designer https://github.com/pmd/pmd/blob/HEAD/#new-rules;>New rules https://github.com/pmd/pmd/blob/HEAD/#renamed-rules;>Renamed rules https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules;>Deprecated rules https://github.com/pmd/pmd/blob/HEAD/#fixed-issues;>Fixed Issues https://github.com/pmd/pmd/blob/HEAD/#api-changes;>API Changes https://github.com/pmd/pmd/blob/HEAD/#pmd-cli;>PMD CLI https://github.com/pmd/pmd/blob/HEAD/#experimental-apis;>Experimental APIs https://github.com/pmd/pmd/blob/HEAD/#internal-api;>Internal API https://github.com/pmd/pmd/blob/HEAD/#external-contributions;>External Contributions https://github.com/pmd/pmd/blob/HEAD/#stats;>Stats New and noteworthy Java 17 Support This release of PMD brings support for Java 17. PMD supports https://openjdk.java.net/jeps/409;>JEP 409: Sealed Classes which has been promoted to be a standard language feature of Java 17. PMD also supports https://openjdk.java.net/jeps/406;>JEP 406: Pattern Matching for switch (Preview) as a preview language feature. In order to analyze a project with PMD that uses these language features, you'll need to enable it via the environment variable PMD_JAVA_OPTS and select the new language version 17-preview: export PMD_JAVA_OPTS=--enable-preview ./run.sh pmd -language java -version 17-preview ... Note: Support for Java 15 preview language features have been removed. The version 15-preview is no longer available. Updated PMD Designer This PMD release ships a new version of the pmd-designer. For the changes, see https://github.com/pmd/pmd-designer/releases/tag/6.37.0;>PMD Designer Changelog. New rules This release ships with 3 new Java rules. https://pmd.github.io/pmd-6.37.0/pmd_rules_java_bestpractices.html#primitivewrapperinstantiation;>PrimitiveWrapperInstantiation reports usages of primitive wrapper ... (truncated) Commits https://github.com/pmd/pmd/commit/18df47ce6eaa0f692f92da004d84deb3c20b50b7;>18df47c [maven-release-plugin] prepare release pmd_releases/6.37.0 https://github.com/pmd/pmd/commit/c7cc40fcda426c0c521fe63e795d63684a4daf6f;>c7cc40f Remove dogfood profile temporarily for release https://github.com/pmd/pmd/commit/b6ce0d59e2a134cece5f8fe5674703f7ba91390f;>b6ce0d5 Prepare pmd release 6.37.0 https://github.com/pmd/pmd/commit/f31cc46eabfaebcb06d2e60d4e2b8ccb895cf0a1;>f31cc46 Merge pull request https://github-redirect.dependabot.com/pmd/pmd/issues/3417;>#3417 from aidan-harding:language-detection https://github.com/pmd/pmd/commit/7be50ea14687c043deadd927aef3e7b9dd184416;>7be50ea Update pmd-designer from 6.27.0 to 6.37.0 https://github.com/pmd/pmd/commit/2362316bfb4760f661ec3cbee9959fd477b029bb;>2362316 [doc] Update sourceLanguages for ant https://github.com/pmd/pmd/commit/a33b465e362c377829073478212ed943edee0f4a;>a33b465 [doc] Update release notes (https://github-redirect.dependabot.com/pmd/pmd/issues/2133;>#2133, https://github-redirect.dependabot.com/pmd/pmd/issues/3417;>#3417) https://github.com/pmd/pmd/commit/9221cf090a923bd6e6b864277c83fb807497ca8a;>9221cf0 Merge branch 'master' into pr-3417 https://github.com/pmd/pmd/commit/88547fc14c14da0685ca72a087b5a4994f2cdb61;>88547fc [core] Fixups from pull request review https://github.com/pmd/pmd/commit/fea395cfa9d6064be602b6095eb8df58b23e1b74;>fea395c [xml] Add simple test case for -force-language Additional commits viewable in https://github.com/pmd/pmd/compare/pmd_releases/6.36.0...pmd_releases/6.37.0;>compare view Updates `pmd-java` from 6.36.0 to 6.37.0 Release notes Sourced from https://github.com/pmd/pmd/releases;>pmd-java's releases. PMD 6.37.0 (31-July-2021) 31-July-2021 - 6.37.0 The PMD team is pleased to announce PMD 6.37.0. This is a minor release. Table Of Contents https://github.com/pmd/pmd/blob/HEAD/#new-and-noteworthy;>New and noteworthy https://github.com/pmd/pmd/blob/HEAD/#java-17-support;>Java 17 Support https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer;>Updated PMD Designer https://github.com/pmd/pmd/blob/HEAD/#new-rules;>New rules
[GitHub] [commons-collections] dependabot[bot] opened a new pull request #245: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #245: URL: https://github.com/apache/commons-collections/pull/245 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-pool] dependabot[bot] opened a new pull request #92: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #92: URL: https://github.com/apache/commons-pool/pull/92 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-jexl] dependabot[bot] opened a new pull request #59: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #59: URL: https://github.com/apache/commons-jexl/pull/59 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Resolved] (RNG-148) UnitSphereSampler does not check for infinite length dimension
[ https://issues.apache.org/jira/browse/RNG-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert resolved RNG-148. -- Resolution: Not A Problem > UnitSphereSampler does not check for infinite length dimension > -- > > Key: RNG-148 > URL: https://issues.apache.org/jira/browse/RNG-148 > Project: Commons RNG > Issue Type: Bug > Components: sampling >Affects Versions: 1.3 >Reporter: Alex Herbert >Priority: Trivial > > The UnitSphereSampler does not check the vector to be normalised has infinite > length. > A check is already made for zero length (see RNG-55) since the underlying > Gaussian sampler can return zero values. A check should also be made for > infinite length. The normalisation is only valid if the sum is a finite > positive value. > The code can be fixed by changing: > {code:java} > if (sum == 0) { > // Zero-norm vector is discarded. > return sample(); > } > {code} > to: > {code:java} > if (sum == 0 || sum == Double.POSITIVE_INFINITY) { > // Invalid vector is discarded. > return sample(); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (RNG-146) GaussianSampler should not allow infinite standard deviation
[ https://issues.apache.org/jira/browse/RNG-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert resolved RNG-146. -- Fix Version/s: 1.4 Resolution: Fixed > GaussianSampler should not allow infinite standard deviation > > > Key: RNG-146 > URL: https://issues.apache.org/jira/browse/RNG-146 > Project: Commons RNG > Issue Type: Bug > Components: sampling >Affects Versions: 1.3 >Reporter: Alex Herbert >Priority: Trivial > Fix For: 1.4 > > > The GaussianSampler requires the standard deviation is strictly positive. It > allows an infinite value. This will produce a NaN output if the > NormalizedGaussianSampler returns 0: > {code:java} > @Test > public void testInfiniteStdDev() { > NormalizedGaussianSampler gauss = new NormalizedGaussianSampler() { > @Override > public double sample() { > return 0; > } > }; > GaussianSampler s = new GaussianSampler(gauss, 0, > Double.POSITIVE_INFINITY); > Assert.assertEquals(Double.NaN, s.sample(), 0.0); > } > {code} > A fix is to require the standard deviation is finite. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (RNG-125) Run the performance benchmarks for new generators
[ https://issues.apache.org/jira/browse/RNG-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert resolved RNG-125. -- Fix Version/s: 1.4 Resolution: Implemented User guide updated in commit: e7562282221b96746abe7bb7363fe1da0c14cb27 > Run the performance benchmarks for new generators > - > > Key: RNG-125 > URL: https://issues.apache.org/jira/browse/RNG-125 > Project: Commons RNG > Issue Type: Task > Components: core, sampling >Affects Versions: 1.4 >Reporter: Alex Herbert >Priority: Minor > Fix For: 1.4 > > > Any new generators or samplers added for the 1.4 release should be added to > the performance benchmarks in the user guide. > Currently the new generators are: > {noformat} > PCG_XSH_RR_32_OS > PCG_XSH_RS_32_OS > PCG_RXS_M_XS_64_OS > {noformat} > > These are expected to perform exactly the same as the non-fixed increment > versions. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (RNG-123) PCG generators may exhibit massive stream correlation
[ https://issues.apache.org/jira/browse/RNG-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert resolved RNG-123. -- Resolution: Implemented > PCG generators may exhibit massive stream correlation > - > > Key: RNG-123 > URL: https://issues.apache.org/jira/browse/RNG-123 > Project: Commons RNG > Issue Type: Improvement > Components: core >Affects Versions: 1.3 >Reporter: Sebastiano Vigna >Assignee: Alex Herbert >Priority: Major > Fix For: 1.4 > > Time Spent: 0.5h > Remaining Estimate: 0h > > [This is based on an issue I posted on the Rust development mailing list.] > The documentation of the PCG generators does not state explicit that > different seeds generate independent sequences, but the existence of a > 128-bit seed implies somehow the idea that the whole seed is meaningful. > The user should be made aware that the second parameter (the constant of the > underlying LCG) is almost useless from a mathematical and statistical > viewpoint. > Changing constant to an LCG with power-of-two modulus and a constant like the > one used in PCG simply adds a constant to the sequence (more precisely, there > are two equivalence classes of constants, and in each equivalence class the > sequences are identical, except for an additive constant). > The minimal scrambling done by the generator usually cannot cancel this fact, > and as a result changing the constant is equivalent to changing the initial > state (modulo an additive constant). You can try to run this program: > > {noformat} > import org.apache.commons.rng.core.source32.PcgXshRr32; > import com.google.common.primitives.Ints; > public class TestPCG { > public static void main(final String[] args) { > final long state = Long.parseLong(args[0]); > final long c = Long.parseLong(args[1]); > final long d = Long.parseLong(args[2]); > if (c % 2 != d % 2) throw new IllegalArgumentException(); > final long C = c << 1 | 1; > final long D = d << 1 | 1; > final long r = 1314878037273365987L * ((d - c) >>> 1); > final PcgXshRr32 rng0 = new PcgXshRr32(new long[] { state, c }); > final PcgXshRr32 rng1 = new PcgXshRr32(new long[] { > 0xc097ef87329e28a5L *(6364136223846793005L * (state + C) + C - r > - D) - D, d }); > for(;;) { > final int a = rng0.nextInt(); > System.out.write(Ints.toByteArray(a), 0, 4); > final int b = rng1.nextInt(); > System.out.write(Ints.toByteArray(b), 0, 4); > } > } > }{noformat} > You can pass any state as first argument, and any two constants as the > following two arguments, as long as they are either both even or both odd . > The program will set up a second initial state so that the sequences > generated by the PRNGs using the two constants as seed are based on almost > identical underlying LCG sequences, in spite of having arbitrary, different > constants and different initial states. The two streams should be > independent, but if you pipe the output in PractRand you'll get immediately > {noformat} > rng=RNG_stdin32, seed=unknown > length= 4 megabytes (2^22 bytes), time= 2.1 seconds > Test Name Raw Processed Evaluation > BCFN(0+0,13-5,T) R=+263.2 p = 3.4e-103 FAIL ! > BCFN(0+1,13-5,T) R=+128.6 p = 1.5e-50FAIL > BCFN(0+2,13-6,T) R= +65.2 p = 9.2e-23FAIL !! > BCFN(0+3,13-6,T) R= +15.4 p = 1.0e-5 mildly suspicious > DC6-9x1Bytes-1R= +59.1 p = 4.2e-33FAIL !!! > DC6-6x2Bytes-1R= +34.1 p = 9.0e-19FAIL ! > DC6-5x4Bytes-1R= +15.2 p = 7.7e-8 very suspicious > [Low4/16]BCFN(0+1,13-6,T) R= +12.0 p = 1.5e-4 unusual > [Low4/16]FPF-14+6/64:(4,14-8) R= +9.2 p = 1.1e-6 unusual > [...] > [Low8/32]FPF-14+6/4:(9,14-9) R= +27.4 p = 1.6e-17FAIL > [Low8/32]FPF-14+6/4:(10,14-10)R= +16.4 p = 2.5e-9 suspicious > [Low8/32]FPF-14+6/4:all R=+283.4 p = 8.4e-255 FAIL !! > [Low8/32]Gap-16:A R=+414.8 p = 2.4e-336 FAIL !!! > [Low8/32]Gap-16:B R= +1736 p = 5e-1320FAIL > {noformat} > You can also offset one of generator by hundred of iterations, but the > sequences are so correlated that the result won't change. If you peek at the > state of the two generators you'll see that their difference is constant. > I think the reader should be made aware of the danger. If you start several > generators of this kind the state is too small to guarantee that there will > be no overlap. Once you get overlap, since there
[jira] [Resolved] (RNG-132) Package rng.sampling.shape for sampling coordinates from shapes
[ https://issues.apache.org/jira/browse/RNG-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert resolved RNG-132. -- Fix Version/s: 1.4 Resolution: Implemented > Package rng.sampling.shape for sampling coordinates from shapes > --- > > Key: RNG-132 > URL: https://issues.apache.org/jira/browse/RNG-132 > Project: Commons RNG > Issue Type: Task > Components: sampling >Affects Versions: 1.4 >Reporter: Alex Herbert >Assignee: Alex Herbert >Priority: Major > Fix For: 1.4 > > > Create a {{rng.sampling.shape}} package in the sampling module to contain > work-in-progress samplers for shapes. > * UnitSphereSampler (N-surface) [1] > * UnitBallSampler (N-volume) > * UnitSimplexSampler (N-surface) > * LineSampler (N-dimension points on a line segment or polyline) > * TriangleSampler (N-dimension points within a triangle in a 2D plane) > * TetrahedronSampler (3D points inside a tetrahedron) > * SurfaceSampler (ND points on a triangulated surface) [2] > * VolumeSampler (3D points inside a volume composed of tetrahedrons) > * UnitCubeSampler (N-volume) > [1] The UnitSphereSampler can be deprecated and a new version created to use > a factory method to create the sampler (allowing optimisation for low > dimensions). > [2] The SurfaceSampler would be a composite sampler. For sampling a surface > the TriangleSampler can be combined with the > AliasMethodSamplerDiscreteSampler. The surface should be triangulated. The > area of each triangle is used to create a distribution of which triangle to > pick using the alias method. A sample is then taken from the chosen triangle. > Shape geometry will not be validated beyond basic testing for non-finite > values of input coordinates. Validation of shapes could potentially be done > by creating a {{commons-geometry-sampling}} module in the commons geometry > project. > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[GitHub] [commons-parent] dependabot[bot] opened a new pull request #54: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #54: URL: https://github.com/apache/commons-parent/pull/54 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-vfs] dependabot[bot] opened a new pull request #208: Bump commons.pmd.version from 6.36.0 to 6.37.0
dependabot[bot] opened a new pull request #208: URL: https://github.com/apache/commons-vfs/pull/208 Bumps `commons.pmd.version` from 6.36.0 to 6.37.0. Updates `pmd-core` from 6.36.0 to 6.37.0 Release notes Sourced from https://github.com/pmd/pmd/releases;>pmd-core's releases. PMD 6.37.0 (31-July-2021) 31-July-2021 - 6.37.0 The PMD team is pleased to announce PMD 6.37.0. This is a minor release. Table Of Contents https://github.com/pmd/pmd/blob/HEAD/#new-and-noteworthy;>New and noteworthy https://github.com/pmd/pmd/blob/HEAD/#java-17-support;>Java 17 Support https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer;>Updated PMD Designer https://github.com/pmd/pmd/blob/HEAD/#new-rules;>New rules https://github.com/pmd/pmd/blob/HEAD/#renamed-rules;>Renamed rules https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules;>Deprecated rules https://github.com/pmd/pmd/blob/HEAD/#fixed-issues;>Fixed Issues https://github.com/pmd/pmd/blob/HEAD/#api-changes;>API Changes https://github.com/pmd/pmd/blob/HEAD/#pmd-cli;>PMD CLI https://github.com/pmd/pmd/blob/HEAD/#experimental-apis;>Experimental APIs https://github.com/pmd/pmd/blob/HEAD/#internal-api;>Internal API https://github.com/pmd/pmd/blob/HEAD/#external-contributions;>External Contributions https://github.com/pmd/pmd/blob/HEAD/#stats;>Stats New and noteworthy Java 17 Support This release of PMD brings support for Java 17. PMD supports https://openjdk.java.net/jeps/409;>JEP 409: Sealed Classes which has been promoted to be a standard language feature of Java 17. PMD also supports https://openjdk.java.net/jeps/406;>JEP 406: Pattern Matching for switch (Preview) as a preview language feature. In order to analyze a project with PMD that uses these language features, you'll need to enable it via the environment variable PMD_JAVA_OPTS and select the new language version 17-preview: export PMD_JAVA_OPTS=--enable-preview ./run.sh pmd -language java -version 17-preview ... Note: Support for Java 15 preview language features have been removed. The version 15-preview is no longer available. Updated PMD Designer This PMD release ships a new version of the pmd-designer. For the changes, see https://github.com/pmd/pmd-designer/releases/tag/6.37.0;>PMD Designer Changelog. New rules This release ships with 3 new Java rules. https://pmd.github.io/pmd-6.37.0/pmd_rules_java_bestpractices.html#primitivewrapperinstantiation;>PrimitiveWrapperInstantiation reports usages of primitive wrapper ... (truncated) Commits https://github.com/pmd/pmd/commit/18df47ce6eaa0f692f92da004d84deb3c20b50b7;>18df47c [maven-release-plugin] prepare release pmd_releases/6.37.0 https://github.com/pmd/pmd/commit/c7cc40fcda426c0c521fe63e795d63684a4daf6f;>c7cc40f Remove dogfood profile temporarily for release https://github.com/pmd/pmd/commit/b6ce0d59e2a134cece5f8fe5674703f7ba91390f;>b6ce0d5 Prepare pmd release 6.37.0 https://github.com/pmd/pmd/commit/f31cc46eabfaebcb06d2e60d4e2b8ccb895cf0a1;>f31cc46 Merge pull request https://github-redirect.dependabot.com/pmd/pmd/issues/3417;>#3417 from aidan-harding:language-detection https://github.com/pmd/pmd/commit/7be50ea14687c043deadd927aef3e7b9dd184416;>7be50ea Update pmd-designer from 6.27.0 to 6.37.0 https://github.com/pmd/pmd/commit/2362316bfb4760f661ec3cbee9959fd477b029bb;>2362316 [doc] Update sourceLanguages for ant https://github.com/pmd/pmd/commit/a33b465e362c377829073478212ed943edee0f4a;>a33b465 [doc] Update release notes (https://github-redirect.dependabot.com/pmd/pmd/issues/2133;>#2133, https://github-redirect.dependabot.com/pmd/pmd/issues/3417;>#3417) https://github.com/pmd/pmd/commit/9221cf090a923bd6e6b864277c83fb807497ca8a;>9221cf0 Merge branch 'master' into pr-3417 https://github.com/pmd/pmd/commit/88547fc14c14da0685ca72a087b5a4994f2cdb61;>88547fc [core] Fixups from pull request review https://github.com/pmd/pmd/commit/fea395cfa9d6064be602b6095eb8df58b23e1b74;>fea395c [xml] Add simple test case for -force-language Additional commits viewable in https://github.com/pmd/pmd/compare/pmd_releases/6.36.0...pmd_releases/6.37.0;>compare view Updates `pmd-java` from 6.36.0 to 6.37.0 Release notes Sourced from https://github.com/pmd/pmd/releases;>pmd-java's releases. PMD 6.37.0 (31-July-2021) 31-July-2021 - 6.37.0 The PMD team is pleased to announce PMD 6.37.0. This is a minor release. Table Of Contents https://github.com/pmd/pmd/blob/HEAD/#new-and-noteworthy;>New and noteworthy https://github.com/pmd/pmd/blob/HEAD/#java-17-support;>Java 17 Support https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer;>Updated PMD Designer https://github.com/pmd/pmd/blob/HEAD/#new-rules;>New rules
[GitHub] [commons-parent] dependabot[bot] opened a new pull request #53: Bump commons.pmd-impl.version from 6.36.0 to 6.37.0
dependabot[bot] opened a new pull request #53: URL: https://github.com/apache/commons-parent/pull/53 Bumps `commons.pmd-impl.version` from 6.36.0 to 6.37.0. Updates `pmd-core` from 6.36.0 to 6.37.0 Release notes Sourced from https://github.com/pmd/pmd/releases;>pmd-core's releases. PMD 6.37.0 (31-July-2021) 31-July-2021 - 6.37.0 The PMD team is pleased to announce PMD 6.37.0. This is a minor release. Table Of Contents https://github.com/pmd/pmd/blob/HEAD/#new-and-noteworthy;>New and noteworthy https://github.com/pmd/pmd/blob/HEAD/#java-17-support;>Java 17 Support https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer;>Updated PMD Designer https://github.com/pmd/pmd/blob/HEAD/#new-rules;>New rules https://github.com/pmd/pmd/blob/HEAD/#renamed-rules;>Renamed rules https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules;>Deprecated rules https://github.com/pmd/pmd/blob/HEAD/#fixed-issues;>Fixed Issues https://github.com/pmd/pmd/blob/HEAD/#api-changes;>API Changes https://github.com/pmd/pmd/blob/HEAD/#pmd-cli;>PMD CLI https://github.com/pmd/pmd/blob/HEAD/#experimental-apis;>Experimental APIs https://github.com/pmd/pmd/blob/HEAD/#internal-api;>Internal API https://github.com/pmd/pmd/blob/HEAD/#external-contributions;>External Contributions https://github.com/pmd/pmd/blob/HEAD/#stats;>Stats New and noteworthy Java 17 Support This release of PMD brings support for Java 17. PMD supports https://openjdk.java.net/jeps/409;>JEP 409: Sealed Classes which has been promoted to be a standard language feature of Java 17. PMD also supports https://openjdk.java.net/jeps/406;>JEP 406: Pattern Matching for switch (Preview) as a preview language feature. In order to analyze a project with PMD that uses these language features, you'll need to enable it via the environment variable PMD_JAVA_OPTS and select the new language version 17-preview: export PMD_JAVA_OPTS=--enable-preview ./run.sh pmd -language java -version 17-preview ... Note: Support for Java 15 preview language features have been removed. The version 15-preview is no longer available. Updated PMD Designer This PMD release ships a new version of the pmd-designer. For the changes, see https://github.com/pmd/pmd-designer/releases/tag/6.37.0;>PMD Designer Changelog. New rules This release ships with 3 new Java rules. https://pmd.github.io/pmd-6.37.0/pmd_rules_java_bestpractices.html#primitivewrapperinstantiation;>PrimitiveWrapperInstantiation reports usages of primitive wrapper ... (truncated) Commits https://github.com/pmd/pmd/commit/18df47ce6eaa0f692f92da004d84deb3c20b50b7;>18df47c [maven-release-plugin] prepare release pmd_releases/6.37.0 https://github.com/pmd/pmd/commit/c7cc40fcda426c0c521fe63e795d63684a4daf6f;>c7cc40f Remove dogfood profile temporarily for release https://github.com/pmd/pmd/commit/b6ce0d59e2a134cece5f8fe5674703f7ba91390f;>b6ce0d5 Prepare pmd release 6.37.0 https://github.com/pmd/pmd/commit/f31cc46eabfaebcb06d2e60d4e2b8ccb895cf0a1;>f31cc46 Merge pull request https://github-redirect.dependabot.com/pmd/pmd/issues/3417;>#3417 from aidan-harding:language-detection https://github.com/pmd/pmd/commit/7be50ea14687c043deadd927aef3e7b9dd184416;>7be50ea Update pmd-designer from 6.27.0 to 6.37.0 https://github.com/pmd/pmd/commit/2362316bfb4760f661ec3cbee9959fd477b029bb;>2362316 [doc] Update sourceLanguages for ant https://github.com/pmd/pmd/commit/a33b465e362c377829073478212ed943edee0f4a;>a33b465 [doc] Update release notes (https://github-redirect.dependabot.com/pmd/pmd/issues/2133;>#2133, https://github-redirect.dependabot.com/pmd/pmd/issues/3417;>#3417) https://github.com/pmd/pmd/commit/9221cf090a923bd6e6b864277c83fb807497ca8a;>9221cf0 Merge branch 'master' into pr-3417 https://github.com/pmd/pmd/commit/88547fc14c14da0685ca72a087b5a4994f2cdb61;>88547fc [core] Fixups from pull request review https://github.com/pmd/pmd/commit/fea395cfa9d6064be602b6095eb8df58b23e1b74;>fea395c [xml] Add simple test case for -force-language Additional commits viewable in https://github.com/pmd/pmd/compare/pmd_releases/6.36.0...pmd_releases/6.37.0;>compare view Updates `pmd-java` from 6.36.0 to 6.37.0 Release notes Sourced from https://github.com/pmd/pmd/releases;>pmd-java's releases. PMD 6.37.0 (31-July-2021) 31-July-2021 - 6.37.0 The PMD team is pleased to announce PMD 6.37.0. This is a minor release. Table Of Contents https://github.com/pmd/pmd/blob/HEAD/#new-and-noteworthy;>New and noteworthy https://github.com/pmd/pmd/blob/HEAD/#java-17-support;>Java 17 Support https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer;>Updated PMD Designer https://github.com/pmd/pmd/blob/HEAD/#new-rules;>New rules
[GitHub] [commons-dbutils] coveralls commented on pull request #79: Bump checkstyle from 8.37 to 8.45
coveralls commented on pull request #79: URL: https://github.com/apache/commons-dbutils/pull/79#issuecomment-890888212 [![Coverage Status](https://coveralls.io/builds/41824983/badge)](https://coveralls.io/builds/41824983) Coverage remained the same at 65.619% when pulling **3c8c33ddbabc7db5683cf8c5eafe08809447fe4d on dependabot/maven/com.puppycrawl.tools-checkstyle-8.45** into **0ec111e38a4f4458d16d4b0299cfe0f6ae86464a on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-dbutils] dependabot[bot] commented on pull request #76: Bump checkstyle from 8.37 to 8.44
dependabot[bot] commented on pull request #76: URL: https://github.com/apache/commons-dbutils/pull/76#issuecomment-890855626 Superseded by #79. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-dbutils] dependabot[bot] closed pull request #76: Bump checkstyle from 8.37 to 8.44
dependabot[bot] closed pull request #76: URL: https://github.com/apache/commons-dbutils/pull/76 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-dbutils] dependabot[bot] opened a new pull request #79: Bump checkstyle from 8.37 to 8.45
dependabot[bot] opened a new pull request #79: URL: https://github.com/apache/commons-dbutils/pull/79 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.37 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 checkstyle-8.44 https://checkstyle.org/releasenotes.html#Release_8.44;>https://checkstyle.org/releasenotes.html#Release_8.44 checkstyle-8.43 https://checkstyle.org/releasenotes.html#Release_8.43;>https://checkstyle.org/releasenotes.html#Release_8.43 checkstyle-8.42 https://checkstyle.org/releasenotes.html#Release_8.42;>https://checkstyle.org/releasenotes.html#Release_8.42 checkstyle-8.41.1 https://checkstyle.org/releasenotes.html#Release_8.41.1;>https://checkstyle.org/releasenotes.html#Release_8.41.1 checkstyle-8.41 https://checkstyle.org/releasenotes.html#Release_8.41;>https://checkstyle.org/releasenotes.html#Release_8.41 checkstyle-8.40 https://checkstyle.org/releasenotes.html#Release_8.40;>https://checkstyle.org/releasenotes.html#Release_8.40 checkstyle-8.39 https://checkstyle.org/releasenotes.html#Release_8.39;>https://checkstyle.org/releasenotes.html#Release_8.39 checkstyle-8.38 https://checkstyle.org/releasenotes.html#Release_8.38;>https://checkstyle.org/releasenotes.html#Release_8.38 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.37...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.37=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close
[jira] [Commented] (VFS-807) LocalFile migration to NIO is not done correctly
[ https://issues.apache.org/jira/browse/VFS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17391433#comment-17391433 ] L commented on VFS-807: --- I have added some tests verifying the bug. I did not succeed creating a PR. The attached file (vfs-807.diff) contains the test changes and the correct fix for this issue. # ProviderWriteTests.testOverwriteContent() fails with 2.9.0 and works in the latest master. # ProviderWriteAppendTests.testAppendToNonExsiting() fails with 2.9.0 and in the latest master. # They both succeed with the changes to LocalFile done in the patch. > LocalFile migration to NIO is not done correctly > > > Key: VFS-807 > URL: https://issues.apache.org/jira/browse/VFS-807 > Project: Commons VFS > Issue Type: Bug >Affects Versions: 2.9.0 >Reporter: L >Priority: Blocker > Fix For: 2.9.1 > > Attachments: TestJdkWriteFile.java, vfs-807.diff > > > According to release notes > ([https://archive.apache.org/dist/commons/vfs/RELEASE-NOTES.txt),] version > 2.9.0 includes the following change: > Replace construction of FileInputStream and FileOutputStream objects with > Files NIO APIs. #164. Thanks to Arturo Bernal. > Strangely, it was not completed: LocalFlie.java has the following now, even > in master: > {code:java} > /** > * Creates an input stream to read the content from. > */ > @Override > protected InputStream doGetInputStream(final int bufferSize) throws > Exception { > return new FileInputStream(file); > } > {code} > > But what is worse, doGetOutputStream is *completely* broken: > {code:java} > /** > * Creates an output stream to write the file content to. > */ > @Override > protected OutputStream doGetOutputStream(final boolean bAppend) throws > Exception { > return Files.newOutputStream(file.toPath(), bAppend ? > StandardOpenOption.APPEND : StandardOpenOption.CREATE); > } {code} > > This can be demonstrated with a small java program, see attachment. The > program just tries to write to a local file (into the same directory), using > different ways to do it: > # Java IO, how it was done before VFS 2.9.0 > # Java NIO the way VFS 2.9.0 does it > # Java NIO the way it must be done > What is important, the program also verifies the result. > VFS 2.9.0 fails in 2 cases: > # When the file does not exist and append must be performed: > java.nio.file.NoSuchFileException is thrown in this case. > # When the file exists and no append must be performed: the file is not > truncated, so whatever is written overwrites the beginning of the file, > keeping the rest. > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (VFS-807) LocalFile migration to NIO is not done correctly
[ https://issues.apache.org/jira/browse/VFS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] L updated VFS-807: -- Attachment: vfs-807.diff > LocalFile migration to NIO is not done correctly > > > Key: VFS-807 > URL: https://issues.apache.org/jira/browse/VFS-807 > Project: Commons VFS > Issue Type: Bug >Affects Versions: 2.9.0 >Reporter: L >Priority: Blocker > Fix For: 2.9.1 > > Attachments: TestJdkWriteFile.java, vfs-807.diff > > > According to release notes > ([https://archive.apache.org/dist/commons/vfs/RELEASE-NOTES.txt),] version > 2.9.0 includes the following change: > Replace construction of FileInputStream and FileOutputStream objects with > Files NIO APIs. #164. Thanks to Arturo Bernal. > Strangely, it was not completed: LocalFlie.java has the following now, even > in master: > {code:java} > /** > * Creates an input stream to read the content from. > */ > @Override > protected InputStream doGetInputStream(final int bufferSize) throws > Exception { > return new FileInputStream(file); > } > {code} > > But what is worse, doGetOutputStream is *completely* broken: > {code:java} > /** > * Creates an output stream to write the file content to. > */ > @Override > protected OutputStream doGetOutputStream(final boolean bAppend) throws > Exception { > return Files.newOutputStream(file.toPath(), bAppend ? > StandardOpenOption.APPEND : StandardOpenOption.CREATE); > } {code} > > This can be demonstrated with a small java program, see attachment. The > program just tries to write to a local file (into the same directory), using > different ways to do it: > # Java IO, how it was done before VFS 2.9.0 > # Java NIO the way VFS 2.9.0 does it > # Java NIO the way it must be done > What is important, the program also verifies the result. > VFS 2.9.0 fails in 2 cases: > # When the file does not exist and append must be performed: > java.nio.file.NoSuchFileException is thrown in this case. > # When the file exists and no append must be performed: the file is not > truncated, so whatever is written overwrites the beginning of the file, > keeping the rest. > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Reopened] (VFS-807) LocalFile migration to NIO is not done correctly
[ https://issues.apache.org/jira/browse/VFS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] L reopened VFS-807: --- Reopening: the fix is not complete. It fixes only part of the problem: overwriting the existing file. The second part: appending to a non-existing file still fails > LocalFile migration to NIO is not done correctly > > > Key: VFS-807 > URL: https://issues.apache.org/jira/browse/VFS-807 > Project: Commons VFS > Issue Type: Bug >Affects Versions: 2.9.0 >Reporter: L >Priority: Blocker > Fix For: 2.9.1 > > Attachments: TestJdkWriteFile.java > > > According to release notes > ([https://archive.apache.org/dist/commons/vfs/RELEASE-NOTES.txt),] version > 2.9.0 includes the following change: > Replace construction of FileInputStream and FileOutputStream objects with > Files NIO APIs. #164. Thanks to Arturo Bernal. > Strangely, it was not completed: LocalFlie.java has the following now, even > in master: > {code:java} > /** > * Creates an input stream to read the content from. > */ > @Override > protected InputStream doGetInputStream(final int bufferSize) throws > Exception { > return new FileInputStream(file); > } > {code} > > But what is worse, doGetOutputStream is *completely* broken: > {code:java} > /** > * Creates an output stream to write the file content to. > */ > @Override > protected OutputStream doGetOutputStream(final boolean bAppend) throws > Exception { > return Files.newOutputStream(file.toPath(), bAppend ? > StandardOpenOption.APPEND : StandardOpenOption.CREATE); > } {code} > > This can be demonstrated with a small java program, see attachment. The > program just tries to write to a local file (into the same directory), using > different ways to do it: > # Java IO, how it was done before VFS 2.9.0 > # Java NIO the way VFS 2.9.0 does it > # Java NIO the way it must be done > What is important, the program also verifies the result. > VFS 2.9.0 fails in 2 cases: > # When the file does not exist and append must be performed: > java.nio.file.NoSuchFileException is thrown in this case. > # When the file exists and no append must be performed: the file is not > truncated, so whatever is written overwrites the beginning of the file, > keeping the rest. > > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[GitHub] [commons-release-plugin] dependabot[bot] commented on pull request #64: Bump checkstyle from 8.44 to 8.45
dependabot[bot] commented on pull request #64: URL: https://github.com/apache/commons-release-plugin/pull/64#issuecomment-890833934 OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-release-plugin] kinow closed pull request #64: Bump checkstyle from 8.44 to 8.45
kinow closed pull request #64: URL: https://github.com/apache/commons-release-plugin/pull/64 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-release-plugin] coveralls commented on pull request #64: Bump checkstyle from 8.44 to 8.45
coveralls commented on pull request #64: URL: https://github.com/apache/commons-release-plugin/pull/64#issuecomment-890828852 [![Coverage Status](https://coveralls.io/builds/41822246/badge)](https://coveralls.io/builds/41822246) Coverage remained the same at 75.0% when pulling **43a8b06f1ec9b5e6f171bb3239f07b4491b79048 on dependabot/maven/com.puppycrawl.tools-checkstyle-8.45** into **a24caef1eedc632eff8e775cf37bd4b48e0c989f on master**. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [commons-release-plugin] dependabot[bot] opened a new pull request #64: Bump checkstyle from 8.44 to 8.45
dependabot[bot] opened a new pull request #64: URL: https://github.com/apache/commons-release-plugin/pull/64 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.44 to 8.45. Release notes Sourced from https://github.com/checkstyle/checkstyle/releases;>checkstyle's releases. checkstyle-8.45 https://checkstyle.org/releasenotes.html#Release_8.45;>https://checkstyle.org/releasenotes.html#Release_8.45 Commits https://github.com/checkstyle/checkstyle/commit/a0a0a254d0241e92fa7c5de76867830d015ee1c0;>a0a0a25 [maven-release-plugin] prepare release checkstyle-8.45 https://github.com/checkstyle/checkstyle/commit/cb09a15eaf1d47634c281bc967136aeeb0c2b6bd;>cb09a15 doc: release notes 8.45 https://github.com/checkstyle/checkstyle/commit/87cb4d4ed2f531bf5475cbc914d0d4eacc376429;>87cb4d4 minor: Fixed Checkstyle violations and AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/d77f682013b40917109851ba43837c729b6c0068;>d77f682 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10449;>#10449: Update inputs for ConstantNameCheckTest https://github.com/checkstyle/checkstyle/commit/2e453a571f868a83ef9bf9d3112f4168e68ac9d5;>2e453a5 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10448;>#10448: Update inputs for AbbreviationAsWordInNameCheckTest https://github.com/checkstyle/checkstyle/commit/5cbaa5025745c1e2a1eaba63513635a80ab5c7ec;>5cbaa50 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10447;>#10447: Update inputs for RedundantModifierCheckTest https://github.com/checkstyle/checkstyle/commit/c381aa94fc3caddfd2e052f041510d3aa4831102;>c381aa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10446;>#10446: Update inputs for ModifierOrderCheckTest https://github.com/checkstyle/checkstyle/commit/6f6d7e4b1ca24a56ac736cbe15da317589af1b30;>6f6d7e4 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10445;>#10445: Update inputs for InterfaceMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/f35987e987840ee38edb1be10ab9d1f9627b151a;>f35987e Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10444;>#10444: Update inputs for ClassMemberImpliedModifierCheckTest https://github.com/checkstyle/checkstyle/commit/1250fa90824eb2dd4ca352ae5b0eb7d24550e2bf;>1250fa9 Issue https://github-redirect.dependabot.com/checkstyle/checkstyle/issues/10389;>#10389: Update inputs for DesignForExtensionCheckTest Additional commits viewable in https://github.com/checkstyle/checkstyle/compare/checkstyle-8.44...checkstyle-8.45;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.puppycrawl.tools:checkstyle=maven=8.44=8.45)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[jira] [Commented] (COMPRESS-583) 1.21 generates different output binaries compared to older versions as well as on different OSes
[ https://issues.apache.org/jira/browse/COMPRESS-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17391366#comment-17391366 ] Peter Lee commented on COMPRESS-583: The website is updated. Please have a look. [~francium25] > 1.21 generates different output binaries compared to older versions as well > as on different OSes > > > Key: COMPRESS-583 > URL: https://issues.apache.org/jira/browse/COMPRESS-583 > Project: Commons Compress > Issue Type: Bug >Affects Versions: 1.21 >Reporter: Chanseok Oh >Priority: Major > > Upgrading {{commons-compress}} had always been generating the same compressed > output byte-to-byte for the same input (i.e., their SHA checksum didn't > change between versions). However, starting with 1.21, we noticed it's > generating different output than what previous versions are generating. > We also noticed that the same code generates different binaries on different > OSes. For example, 1.21 on Linux is different from 1.21 on Mac. > However, at least on the same OS, 1.21 seems to reproducibly generate the > same output. > See the context at [https://github.com/GoogleContainerTools/jib/pull/3342] > > *UPDATE*: running diffoscope reveals that 1.21 is picking up the user and > group of a local environment. > (output below manually reformatted slightly for readability) > {{$ diffoscope > 6d2763b0f3940d324ea6b55386429e5b173899608abf7d1bff62e25dd2e4dcea.tar.gz > 32258c626498c13412679442e3417811bc7ab801c6928da2c2a97e0bbc380a88.tar.gz}} > {{--- > 6d2763b0f3940d324ea6b55386429e5b173899608abf7d1bff62e25dd2e4dcea.tar.gz}} > {{+++ > 32258c626498c13412679442e3417811bc7ab801c6928da2c2a97e0bbc380a88.tar.gz}} > {{│ --- 6d2763b0f3940d324ea6b55386429e5b173899608abf7d1bff62e25dd2e4dcea.tar}} > {{├── +++ > 32258c626498c13412679442e3417811bc7ab801c6928da2c2a97e0bbc380a88.tar}} > {{│ ├── file list}} > {{│ │ @@ -1,3 +1,3 @@}} > {{│ │ {color:#de350b}-drwxr-xr-x 0 0 0 0 1970-01-01 > 00:00:01.00 app/{color}}} > {{│ │ {color:#00875a}+drwxr-xr-x 0 chanseok (252384) eng (5000) 0 1970-01-01 > 00:00:01.00 app/{color}}} > {{│ │ -rw-r--r-- 0 0 0 0 1970-01-01 00:00:01.00 > app/fileB.txt}} > {{│ │ -rw-r--r-- 0 0 0 0 1970-01-01 00:00:01.00 > app/fileC.txt}} -- This message was sent by Atlassian Jira (v8.3.4#803005)