[GitHub] [commons-text] kinow merged pull request #289: Bump spotbugs from 4.5.0 to 4.5.1
kinow merged pull request #289: URL: https://github.com/apache/commons-text/pull/289 -- 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-imaging] kinow merged pull request #188: Bump spotbugs from 4.5.0 to 4.5.1
kinow merged pull request #188: URL: https://github.com/apache/commons-imaging/pull/188 -- 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] [Work logged] (LANG-1666) Add ObjectUtils.equalsAny
[ https://issues.apache.org/jira/browse/LANG-1666?focusedWorklogId=692934&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-692934 ] ASF GitHub Bot logged work on LANG-1666: Author: ASF GitHub Bot Created on: 09/Dec/21 01:06 Start Date: 09/Dec/21 01:06 Worklog Time Spent: 10m Work Description: garydgregory commented on pull request #782: URL: https://github.com/apache/commons-lang/pull/782#issuecomment-989362810 See also the method `org.apache.commons.lang3.ArrayUtils.containsAny(Object[], Object...)` in git 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: 692934) Time Spent: 1h (was: 50m) > 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: 1h > 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.20.1#820001)
[GitHub] [commons-lang] garydgregory commented on pull request #782: [LANG-1666] Implemented ObjectUtils.equalsAny
garydgregory commented on pull request #782: URL: https://github.com/apache/commons-lang/pull/782#issuecomment-989362810 See also the method `org.apache.commons.lang3.ArrayUtils.containsAny(Object[], Object...)` in git 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
[jira] [Work logged] (LANG-1677) It should be possible to exclude fields in ReflectionDiffBuilder
[ https://issues.apache.org/jira/browse/LANG-1677?focusedWorklogId=692888&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-692888 ] ASF GitHub Bot logged work on LANG-1677: Author: ASF GitHub Bot Created on: 08/Dec/21 21:28 Start Date: 08/Dec/21 21:28 Worklog Time Spent: 10m Work Description: garydgregory commented on pull request #838: URL: https://github.com/apache/commons-lang/pull/838#issuecomment-989210626 Hi @debae Thank you for your patience. The code coverage for this new feature is not good enough IMO. Run `mvn clean site`, then browse the site in `target\site\index.html`, navigate to the JaCoCo report and you will see how your tests should be improved. For _new_ code, I'd like to get 100% code coverage which should be reasonable in this case. TY! -- 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: 692888) Time Spent: 0.5h (was: 20m) > It should be possible to exclude fields in ReflectionDiffBuilder > > > Key: LANG-1677 > URL: https://issues.apache.org/jira/browse/LANG-1677 > Project: Commons Lang > Issue Type: Wish > Components: lang.builder.* >Affects Versions: 3.12.0 >Reporter: Dennis Baerten >Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > When using ReflectionDiffBuilder to make a diff between two object it will be > default include all fields. As stated in the documentation static and > transient fields are excluded. > Using the transient modifier in combination with other frameworks ( such as > Hibernate ) also has a side affect that those fields are not persisted. > The use case I'm trying to solve it making a diff of an object that get's > updated and has a LastModificationDate and LastModificationUser and thus will > always be a field in the diff. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[GitHub] [commons-lang] garydgregory commented on pull request #838: LANG-1677 : Add ReflectionDiffBuilder.setExcludeFieldNames(...) and DiffExclude a…
garydgregory commented on pull request #838: URL: https://github.com/apache/commons-lang/pull/838#issuecomment-989210626 Hi @debae Thank you for your patience. The code coverage for this new feature is not good enough IMO. Run `mvn clean site`, then browse the site in `target\site\index.html`, navigate to the JaCoCo report and you will see how your tests should be improved. For _new_ code, I'd like to get 100% code coverage which should be reasonable in this case. TY! -- 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 #289: Bump spotbugs from 4.5.0 to 4.5.1
dependabot[bot] opened a new pull request #289: URL: https://github.com/apache/commons-text/pull/289 Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.5.0 to 4.5.1. Release notes Sourced from https://github.com/spotbugs/spotbugs/releases";>spotbugs's releases. SpotBugs 4.5.1 CHANGELOG https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md";>https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md CHECKSUM file checksum (sha256) spotbugs-4.5.1-javadoc.jar 899cbc1214eb942e01980cd9d6a64e937598e25c9c1ef7d3af2da43bce729636 spotbugs-4.5.1-sources.jar b52e0b2e883dcbea58268c5355f1fa4c7090c5d941a93ddf844fa09534ef66e4 spotbugs-4.5.1.tgz e846b2e374fad74621e45e8b01c31eb9a2636d60b4cd30168944bed98dcb5a4c spotbugs-4.5.1.zip 26dd83027cd5e5a7e6a3f4c7a4239f27a9af8de209c7e37890835fc8cf035de7 spotbugs-annotations-4.5.1-javadoc.jar a66f6df0d2f53a88180980cbb465f558ec1614fc409b72f412949b10ec68db29 spotbugs-annotations-4.5.1-sources.jar b338136e3e82d585348cde58a8fe3a678e16f51a35c31c1463e05fefef557aad spotbugs-annotations.jar 083cc7dcb72f1e39d1da4389753f29c91546376d05be730db812974f74e570d7 spotbugs-ant-4.5.1-javadoc.jar 90a0ab972f2f6a51c3096f1ac7d06681dda5358c0dcbdb1d558bf0da2093 spotbugs-ant-4.5.1-sources.jar 06f19afbb2fd63e554d1588328feea5aabe0ea4c104191986de03ba1e2f518cb spotbugs-ant.jar e31cbd498a93ac92d19658bf45ca3a973b63e8932efca8da1cfd530ec9e547b3 spotbugs.jar 91c014d3a53b72ba4d0920f567dd1679a5621ed74ccb3bb9e6df84a22d2ff952 test-harness-4.5.1-javadoc.jar 77d6754b87ed52889148d7cae0f3a85be4c7a2923bcda456b7d7e512cefbe2db test-harness-4.5.1-sources.jar 2c1f5ef929453f3b682c7eb7c1e22db3082b5f74c5a5be439be5dc31dd7a31aa test-harness-4.5.1.jar 45ca0e944ee5704318d79f67815cde7ca5f7fb22814e325d00e2d25d9b552659 test-harness-core-4.5.1-javadoc.jar 76adfa13f8fe997cd06ef35beeccb8115af89f8d3e3a8a0936fd0cffe36fe1ab test-harness-core-4.5.1-sources.jar f320f5eb4069e9686b760b2a6a0760989753225f9e9ce1226e3258ec64795d8a test-harness-core-4.5.1.jar fd1a0c06a5eaff50ed0953d42fb7d69a41031c6a6630ad5e47c38a9f0eaca285 test-harness-jupiter-4.5.1-javadoc.jar c0bbd1ce2724acc7a5037b21ebe47f3a18ddb70be7cac9cc494009a9d5e71c9e test-harness-jupiter-4.5.1-sources.jar 210353a57016e26b1a654d936a15f039613fa1ac532d485c1b1d03902f6c6315 test-harness-jupiter-4.5.1.jar 18095fec31b85981ecaafdef86ca9ae1e9588e1b9bc6d209f82829cf9d0c13f4 Changelog Sourced from https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md";>spotbugs's changelog. 4.5.1 - 2021-12-08 Fixed Ant task does not produce XML anymore (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1827";>#1827) Do not emit false positives of MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR and MC_OVERRIDABLE_METHOD_CALL_IN_CLONE for final classes (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1812";>#1812). Reports cannot be created on Windows platform (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1842";>#1842) Commits https://github.com/spotbugs/spotbugs/commit/77c98d05f8386d3d00fc91c7ffad1f9d1a48967f";>77c98d0 release v4.5.1 https://github.com/spotbugs/spotbugs/commit/d9dbb639ff3b02f3d67b0daed250e686103faee6";>d9dbb63 build: bump up Gradle to the latest release https://github.com/spotbugs/spotbugs/commit/cf92eba5152f7c313ae48fec585aca30907cd169";>cf92eba docs: update docs to support the new major release of Gradle plugin https://github.com/spotbugs/spotbugs/commit/03e5bd7aeb614da39cfac1c46fadd86d310c9475";>03e5bd7 fix MC_OVERRIDABLE_METHOD_CALL false positive for final class (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1813";>#1813) https://github.com/spotbugs/spotbugs/commit/daf74d0d9a2be9649d10262ec54d9c1fce1caff2";>daf74d0 build(deps): bump checker-qual from 3.19.0 to 3.20.0 https://github.com/spotbugs/spotbugs/commit/ff31e03cb40c3eef8e95825a86c6d4bbd94630eb";>ff31e03 HTML report is not generated on the Windows platform (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1842";>#1842) https://github.com/spotbugs/spotbugs/commit/d9df81c51aa51d989df25c9df309f91e6e0e8155";>d9df81c build(deps): bump org.ajoberstar.grgit from 4.1.0 to 4.1.1 https://github.com/spotbugs/spotbugs/commit/95ffc0d33e2afc71c6b89d35eb958f7a18118606";>95ffc0d build(deps): bump junit-bom from 5.8.1 to 5.8.2 https://github.com/spotbugs/spotbugs/commit/45d9069b744a8b66b3ec5156e4033ad3285cb968";>45d9069 build(deps): bump com.gradle.enterprise from 3.3.1 to 3.7.2 https://github.com/spotbugs/spotbugs/commit/7d3d2d7af3453759ad4d22e7b9dcfa37ff7e77be";>7d3d2d7 build(deps): bump com.github.spot
[jira] [Created] (COMPRESS-601) Unpacking 7zip archives on Android
Vladimir Ignjatijevic created COMPRESS-601: -- Summary: Unpacking 7zip archives on Android Key: COMPRESS-601 URL: https://issues.apache.org/jira/browse/COMPRESS-601 Project: Commons Compress Issue Type: Improvement Components: Compressors Affects Versions: 1.21 Reporter: Vladimir Ignjatijevic Having some troubles unpacking a 7zip archive on Android using: * org.apache.commons:commons-compress:1.21 * org.tukaani:xz:1.9 First I've tried with this archive: [https://kohina.duckdns.org/HVSC/HVSC_75-all-of-them.7z] I'm getting following exception: java.io.IOException: Unsupported compression method [3, 4, 1] >From the creators of this archive I've found out that all files in this >archive are compressed with BCJ2 LZMA except for some of them which are PPMd. I was suggested to try this one which has only BCJ2 LZMA: [https://kohina.duckdns.org/HVSC/HVSC_74-all-of-them.7z] There I get the following exception: java.io.IOException: Multi input/output stream coders are not yet supported Am I doing something wrong or these methods are still not supported by SevenZip? -- This message was sent by Atlassian Jira (v8.20.1#820001)
[GitHub] [commons-imaging] dependabot[bot] opened a new pull request #188: Bump spotbugs from 4.5.0 to 4.5.1
dependabot[bot] opened a new pull request #188: URL: https://github.com/apache/commons-imaging/pull/188 Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.5.0 to 4.5.1. Release notes Sourced from https://github.com/spotbugs/spotbugs/releases";>spotbugs's releases. SpotBugs 4.5.1 CHANGELOG https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md";>https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md CHECKSUM file checksum (sha256) spotbugs-4.5.1-javadoc.jar 899cbc1214eb942e01980cd9d6a64e937598e25c9c1ef7d3af2da43bce729636 spotbugs-4.5.1-sources.jar b52e0b2e883dcbea58268c5355f1fa4c7090c5d941a93ddf844fa09534ef66e4 spotbugs-4.5.1.tgz e846b2e374fad74621e45e8b01c31eb9a2636d60b4cd30168944bed98dcb5a4c spotbugs-4.5.1.zip 26dd83027cd5e5a7e6a3f4c7a4239f27a9af8de209c7e37890835fc8cf035de7 spotbugs-annotations-4.5.1-javadoc.jar a66f6df0d2f53a88180980cbb465f558ec1614fc409b72f412949b10ec68db29 spotbugs-annotations-4.5.1-sources.jar b338136e3e82d585348cde58a8fe3a678e16f51a35c31c1463e05fefef557aad spotbugs-annotations.jar 083cc7dcb72f1e39d1da4389753f29c91546376d05be730db812974f74e570d7 spotbugs-ant-4.5.1-javadoc.jar 90a0ab972f2f6a51c3096f1ac7d06681dda5358c0dcbdb1d558bf0da2093 spotbugs-ant-4.5.1-sources.jar 06f19afbb2fd63e554d1588328feea5aabe0ea4c104191986de03ba1e2f518cb spotbugs-ant.jar e31cbd498a93ac92d19658bf45ca3a973b63e8932efca8da1cfd530ec9e547b3 spotbugs.jar 91c014d3a53b72ba4d0920f567dd1679a5621ed74ccb3bb9e6df84a22d2ff952 test-harness-4.5.1-javadoc.jar 77d6754b87ed52889148d7cae0f3a85be4c7a2923bcda456b7d7e512cefbe2db test-harness-4.5.1-sources.jar 2c1f5ef929453f3b682c7eb7c1e22db3082b5f74c5a5be439be5dc31dd7a31aa test-harness-4.5.1.jar 45ca0e944ee5704318d79f67815cde7ca5f7fb22814e325d00e2d25d9b552659 test-harness-core-4.5.1-javadoc.jar 76adfa13f8fe997cd06ef35beeccb8115af89f8d3e3a8a0936fd0cffe36fe1ab test-harness-core-4.5.1-sources.jar f320f5eb4069e9686b760b2a6a0760989753225f9e9ce1226e3258ec64795d8a test-harness-core-4.5.1.jar fd1a0c06a5eaff50ed0953d42fb7d69a41031c6a6630ad5e47c38a9f0eaca285 test-harness-jupiter-4.5.1-javadoc.jar c0bbd1ce2724acc7a5037b21ebe47f3a18ddb70be7cac9cc494009a9d5e71c9e test-harness-jupiter-4.5.1-sources.jar 210353a57016e26b1a654d936a15f039613fa1ac532d485c1b1d03902f6c6315 test-harness-jupiter-4.5.1.jar 18095fec31b85981ecaafdef86ca9ae1e9588e1b9bc6d209f82829cf9d0c13f4 Changelog Sourced from https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md";>spotbugs's changelog. 4.5.1 - 2021-12-08 Fixed Ant task does not produce XML anymore (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1827";>#1827) Do not emit false positives of MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR and MC_OVERRIDABLE_METHOD_CALL_IN_CLONE for final classes (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1812";>#1812). Reports cannot be created on Windows platform (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1842";>#1842) Commits https://github.com/spotbugs/spotbugs/commit/77c98d05f8386d3d00fc91c7ffad1f9d1a48967f";>77c98d0 release v4.5.1 https://github.com/spotbugs/spotbugs/commit/d9dbb639ff3b02f3d67b0daed250e686103faee6";>d9dbb63 build: bump up Gradle to the latest release https://github.com/spotbugs/spotbugs/commit/cf92eba5152f7c313ae48fec585aca30907cd169";>cf92eba docs: update docs to support the new major release of Gradle plugin https://github.com/spotbugs/spotbugs/commit/03e5bd7aeb614da39cfac1c46fadd86d310c9475";>03e5bd7 fix MC_OVERRIDABLE_METHOD_CALL false positive for final class (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1813";>#1813) https://github.com/spotbugs/spotbugs/commit/daf74d0d9a2be9649d10262ec54d9c1fce1caff2";>daf74d0 build(deps): bump checker-qual from 3.19.0 to 3.20.0 https://github.com/spotbugs/spotbugs/commit/ff31e03cb40c3eef8e95825a86c6d4bbd94630eb";>ff31e03 HTML report is not generated on the Windows platform (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1842";>#1842) https://github.com/spotbugs/spotbugs/commit/d9df81c51aa51d989df25c9df309f91e6e0e8155";>d9df81c build(deps): bump org.ajoberstar.grgit from 4.1.0 to 4.1.1 https://github.com/spotbugs/spotbugs/commit/95ffc0d33e2afc71c6b89d35eb958f7a18118606";>95ffc0d build(deps): bump junit-bom from 5.8.1 to 5.8.2 https://github.com/spotbugs/spotbugs/commit/45d9069b744a8b66b3ec5156e4033ad3285cb968";>45d9069 build(deps): bump com.gradle.enterprise from 3.3.1 to 3.7.2 https://github.com/spotbugs/spotbugs/commit/7d3d2d7af3453759ad4d22e7b9dcfa37ff7e77be";>7d3d2d7 build(deps): bump com.github.s
[jira] [Resolved] (NUMBERS-177) Scaled complementary error function
[ https://issues.apache.org/jira/browse/NUMBERS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert resolved NUMBERS-177. -- Resolution: Implemented Added in commit: 797eba323327f8bc232213c25a5b1ccbfadbc2bb > Scaled complementary error function > --- > > Key: NUMBERS-177 > URL: https://issues.apache.org/jira/browse/NUMBERS-177 > Project: Commons Numbers > Issue Type: New Feature > Components: gamma >Affects Versions: 1.1 >Reporter: Alex Herbert >Priority: Minor > Fix For: 1.1 > > Attachments: erfc.png, erfcx.large.png, erfcx.medium.png, > erfcx.small.png, expn.png > > > Add a scaled complementary error function: > {noformat} > erfcx(x) = exp(x^2) * erfc(x) > {noformat} > For small x this can use the current rational function approximations for erf > or erfc and remove the scaling down by exp(-x^2). For large x this can use > the [continued fraction expansion of > erfc|https://en.wikipedia.org/wiki/Error_function#Continued_fraction_expansion] > and remove the scaling by e^-z: > {noformat} > z1 > erfc z = e^-z^2 - > sqrt(pi)z^2 + 1/2 >--- >1 + 1 >--- >z^2 + 3/2 > - > 1 + 2 > - > z^2 + ... > {noformat} > At very large x the rational function cannot be evaluated as {{z^2 + 0.5 ~ > z^2}} and the following approximation can be used: > {noformat} > 1 1 > erfcx z = * - > sqrt(pi) z > {noformat} > This occurs at 2^26 or approximately 6.71e7. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (NET-707) FTPClient::listFiles() doesn't include files with spaces for AS400
[ https://issues.apache.org/jira/browse/NET-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455322#comment-17455322 ] Dmytro Sylaiev commented on NET-707: Hi [~ggregory] the systemType value in FTPClient::createParser is OS/400 is the remote operating system. The TCP/IP version is "V6R1M0". Linux native bash ftp client works well with fileName with spaces: {noformat} ftp> passive Passive mode on. ftp> cd /home 250-NAMEFMT set to 1. 250 "/home" is current directory. ftp> ls 227 Entering Passive Mode (192,168,244,186,34,255). 125 List started. NOTMYUSER 29550 10/12/08 18:33:53 *STMF AUD_DET_081210_183341_A1_Fichier_demandeurs.pdf NOTMYUSER 13950 10/12/08 18:56:51 *STMF AUD MYUSER 3 06/12/21 18:31:29 *STMF file with space.txt 250 List completed. ftp> syst 215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".{noformat} > FTPClient::listFiles() doesn't include files with spaces for AS400 > -- > > Key: NET-707 > URL: https://issues.apache.org/jira/browse/NET-707 > Project: Commons Net > Issue Type: Bug > Environment: AS400 ftp server >Reporter: Dmytro Sylaiev >Priority: Major > > For the FTP server on AS400 I got the different response size for > FTPClient::listFiles() and FTPClient::listNames() (first one doesn't include > file with spaces) > > TheOS400FTPEntryParser pattern is > {noformat} > private static final String REGEX = > "(\\S+)\\s+" // user > + "(?:(\\d+)\\s+)?" // size, empty for members > + "(?:(\\S+)\\s+(\\S+)\\s+)?" // date stuff, empty for members > + "(\\*STMF|\\*DIR|\\*FILE|\\*MEM)\\s+" // *STMF/*DIR/*FILE/*MEM > + "(?:(\\S+)\\s*)?"; // file name, missing, when CWD is a > *FILE{noformat} > and the server response for LIST command > {noformat} > MYUSER 3 06/12/21 18:31:29 *STMF file with space.txt {noformat} > doesn't match that regex. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[GitHub] [commons-lang] dependabot[bot] closed pull request #826: Bump spotbugs from 4.2.3 to 4.5.0
dependabot[bot] closed pull request #826: URL: https://github.com/apache/commons-lang/pull/826 -- 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 #826: Bump spotbugs from 4.2.3 to 4.5.0
dependabot[bot] commented on pull request #826: URL: https://github.com/apache/commons-lang/pull/826#issuecomment-988905729 Superseded by #839. -- 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 #839: Bump spotbugs from 4.2.3 to 4.5.1
dependabot[bot] opened a new pull request #839: URL: https://github.com/apache/commons-lang/pull/839 Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.2.3 to 4.5.1. Release notes Sourced from https://github.com/spotbugs/spotbugs/releases";>spotbugs's releases. SpotBugs 4.5.1 CHANGELOG https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md";>https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md CHECKSUM file checksum (sha256) spotbugs-4.5.1-javadoc.jar 899cbc1214eb942e01980cd9d6a64e937598e25c9c1ef7d3af2da43bce729636 spotbugs-4.5.1-sources.jar b52e0b2e883dcbea58268c5355f1fa4c7090c5d941a93ddf844fa09534ef66e4 spotbugs-4.5.1.tgz e846b2e374fad74621e45e8b01c31eb9a2636d60b4cd30168944bed98dcb5a4c spotbugs-4.5.1.zip 26dd83027cd5e5a7e6a3f4c7a4239f27a9af8de209c7e37890835fc8cf035de7 spotbugs-annotations-4.5.1-javadoc.jar a66f6df0d2f53a88180980cbb465f558ec1614fc409b72f412949b10ec68db29 spotbugs-annotations-4.5.1-sources.jar b338136e3e82d585348cde58a8fe3a678e16f51a35c31c1463e05fefef557aad spotbugs-annotations.jar 083cc7dcb72f1e39d1da4389753f29c91546376d05be730db812974f74e570d7 spotbugs-ant-4.5.1-javadoc.jar 90a0ab972f2f6a51c3096f1ac7d06681dda5358c0dcbdb1d558bf0da2093 spotbugs-ant-4.5.1-sources.jar 06f19afbb2fd63e554d1588328feea5aabe0ea4c104191986de03ba1e2f518cb spotbugs-ant.jar e31cbd498a93ac92d19658bf45ca3a973b63e8932efca8da1cfd530ec9e547b3 spotbugs.jar 91c014d3a53b72ba4d0920f567dd1679a5621ed74ccb3bb9e6df84a22d2ff952 test-harness-4.5.1-javadoc.jar 77d6754b87ed52889148d7cae0f3a85be4c7a2923bcda456b7d7e512cefbe2db test-harness-4.5.1-sources.jar 2c1f5ef929453f3b682c7eb7c1e22db3082b5f74c5a5be439be5dc31dd7a31aa test-harness-4.5.1.jar 45ca0e944ee5704318d79f67815cde7ca5f7fb22814e325d00e2d25d9b552659 test-harness-core-4.5.1-javadoc.jar 76adfa13f8fe997cd06ef35beeccb8115af89f8d3e3a8a0936fd0cffe36fe1ab test-harness-core-4.5.1-sources.jar f320f5eb4069e9686b760b2a6a0760989753225f9e9ce1226e3258ec64795d8a test-harness-core-4.5.1.jar fd1a0c06a5eaff50ed0953d42fb7d69a41031c6a6630ad5e47c38a9f0eaca285 test-harness-jupiter-4.5.1-javadoc.jar c0bbd1ce2724acc7a5037b21ebe47f3a18ddb70be7cac9cc494009a9d5e71c9e test-harness-jupiter-4.5.1-sources.jar 210353a57016e26b1a654d936a15f039613fa1ac532d485c1b1d03902f6c6315 test-harness-jupiter-4.5.1.jar 18095fec31b85981ecaafdef86ca9ae1e9588e1b9bc6d209f82829cf9d0c13f4 SpotBugs 4.5.0 CHANGELOG Changed Replace "分析" with "解析" in Japanese document (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1573";>#1573) https://github.com/KengoTODA";>@KengoTODA Add a section to document how to integrate find-sec-bugs into spotbugs-maven-plugin (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/540";>#540) https://github.com/luana-martins";>@luana-martins Bump gson from 2.8.8 to 2.8.9 (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1784";>#1784) Changes related to dominators analysis in package edu.umd.cs.findbugs.classfile.engine.bcel (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1741";>#1741): https://github.com/gamesh411";>@gamesh411 DominatorsAnalysisFactory renamed to NonExceptionDominatorsAnalysisFactory (clarification) NonExceptionPostdominatorsAnalysisFactory renamed to NonExceptionPostDominatorsAnalysisFactory (spelling) NonImplicitExceptionDominatorsAnalysis introduced (API consistency) Added Rule DCN_NULLPOINTER_EXCEPTION covers catching NullPointerExceptions in accordance with SEI Cert rule https://wiki.sei.cmu.edu/confluence/display/java/ERR08-J.+Do+not+catch+NullPointerException+or+any+of+its+ancestors";>ERR08-J (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1740";>#1740) https://github.com/gamesh411";>@gamesh411 Multiple types of report can be generated in batch. Set multiple commandline options for report configuration like -html=report/spotbugs.html -xml:withMessages=report/spotbugs.xml. https://github.com/KengoTODA";>@KengoTODA New rule REFL_REFLECTION_INCREASES_ACCESSIBILITY_OF_CLASS to detect public methods instantiating a class they get in their parameter. This rule based on the SEI CERT rule SEC05-J. Do not use reflection to increase accessibility of classes, methods, or fields. (https://wiki.sei.cmu.edu/confluence/display/java/SEC05-J.+Do+not+use+reflection+to+increase+accessibility+of+classes%2C+methods%2C+or+fields";>#SEC05-J) https://github.com/baloghadamsoftware";>@baloghadamsoftware New detector FindOverridableMethodCall to detect invocation of overridable method in constructors (MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR) and clone() method (MC_
[jira] [Commented] (NUMBERS-177) Scaled complementary error function
[ https://issues.apache.org/jira/browse/NUMBERS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455249#comment-17455249 ] Alex Herbert commented on NUMBERS-177: -- h2. Erfcx(z < 0.5) The previous post did not show performance for erfcx(z < 0.5). When |z| < 0.5 the erfc function is computed using 1 - erf. The erfcx result is: {noformat} (1 - erf(z)) * exp(z*z) exp(z*z) - erf(z) * exp(z*z) {noformat} At small values of z the exp(z*z) result approaches 1. We can rearrange the formula to use expm1: {noformat} exp(z*z) - erf(z) * exp(z*z) (exp(z*z) - 1) - erf(z) * (exp(z*z) - 1) - erf(z) + 1 expm1(z*z) - erf(z) * expm1(z*z) - erf(z) + 1 {noformat} When z is negative (0 > z > -0.5) all terms are positive and can be summed in order of magnitude. When z is positive (0 < z < 0.5) then the term -erf(z) is negative. This can create cancellation. However the magnitude of each term is larger than the round-off error from adding the previous term to the sum. At the limit: {noformat} a + b + c + d a = -erf(0.5) * expm1(0.5^2) = -0.147 b = expm1(0.5^2)= 0.284 c = -erf(0.5)= -0.520 d = = 1.0 -0.147 + 0.284 = 0.136 + -0.520 = -0.384 + 1.0 = 0.616 = erfcx(0.5) {noformat} Thus cancellation is not significant. I computed the result of erfcx(z < 0.5) for 1e9 random values between 2^-27 and 0.5 across 1 bins. Note that below 2^-27 the value exp(z*z) is 1 and the result erfcx(z) = 1 - erf(z). The terms were added in standard precision or added using 128-bit precision (xp). The following is a plot of the max error and the difference between the two results: !erfcx.small.png! Summing in extended precision is better. But it cannot overcome the main source of error which is error in the term erf(z). This is largest term in magnitude that is computed (since the term 1 is exact). The difference in the max error is very low. Thus summing the terms in extended precision is not a useful addition. Note that the step in the max error at large z occurs around z = 0.4736. This corresponds to changes in the precision of expm1(z*z) and erf(z): {noformat} sqrt(log1p(0.25)) ~ 0.4723 erf inverse(0.5) ~ 0.4769 {noformat} > Scaled complementary error function > --- > > Key: NUMBERS-177 > URL: https://issues.apache.org/jira/browse/NUMBERS-177 > Project: Commons Numbers > Issue Type: New Feature > Components: gamma >Affects Versions: 1.1 >Reporter: Alex Herbert >Priority: Minor > Fix For: 1.1 > > Attachments: erfc.png, erfcx.large.png, erfcx.medium.png, > erfcx.small.png, expn.png > > > Add a scaled complementary error function: > {noformat} > erfcx(x) = exp(x^2) * erfc(x) > {noformat} > For small x this can use the current rational function approximations for erf > or erfc and remove the scaling down by exp(-x^2). For large x this can use > the [continued fraction expansion of > erfc|https://en.wikipedia.org/wiki/Error_function#Continued_fraction_expansion] > and remove the scaling by e^-z: > {noformat} > z1 > erfc z = e^-z^2 - > sqrt(pi)z^2 + 1/2 >--- >1 + 1 >--- >z^2 + 3/2 > - > 1 + 2 > - > z^2 + ... > {noformat} > At very large x the rational function cannot be evaluated as {{z^2 + 0.5 ~ > z^2}} and the following approximation can be used: > {noformat} > 1 1 > erfcx z = * - > sqrt(pi) z > {noformat} > This occurs at 2^26 or approximately 6.71e7. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Updated] (NUMBERS-177) Scaled complementary error function
[ https://issues.apache.org/jira/browse/NUMBERS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert updated NUMBERS-177: - Attachment: erfcx.small.png > Scaled complementary error function > --- > > Key: NUMBERS-177 > URL: https://issues.apache.org/jira/browse/NUMBERS-177 > Project: Commons Numbers > Issue Type: New Feature > Components: gamma >Affects Versions: 1.1 >Reporter: Alex Herbert >Priority: Minor > Fix For: 1.1 > > Attachments: erfc.png, erfcx.large.png, erfcx.medium.png, > erfcx.small.png, expn.png > > > Add a scaled complementary error function: > {noformat} > erfcx(x) = exp(x^2) * erfc(x) > {noformat} > For small x this can use the current rational function approximations for erf > or erfc and remove the scaling down by exp(-x^2). For large x this can use > the [continued fraction expansion of > erfc|https://en.wikipedia.org/wiki/Error_function#Continued_fraction_expansion] > and remove the scaling by e^-z: > {noformat} > z1 > erfc z = e^-z^2 - > sqrt(pi)z^2 + 1/2 >--- >1 + 1 >--- >z^2 + 3/2 > - > 1 + 2 > - > z^2 + ... > {noformat} > At very large x the rational function cannot be evaluated as {{z^2 + 0.5 ~ > z^2}} and the following approximation can be used: > {noformat} > 1 1 > erfcx z = * - > sqrt(pi) z > {noformat} > This occurs at 2^26 or approximately 6.71e7. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (POOL-403) GenericKeyedObjectPool getNumActive and getNumIdle Javadoc do not match behaviour
[ https://issues.apache.org/jira/browse/POOL-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455211#comment-17455211 ] Gary D. Gregory commented on POOL-403: -- I think we should consider how to update the Javadoc such that a user might not get confused enough to take the time to create a ticket like this one. > GenericKeyedObjectPool getNumActive and getNumIdle Javadoc do not match > behaviour > - > > Key: POOL-403 > URL: https://issues.apache.org/jira/browse/POOL-403 > Project: Commons Pool > Issue Type: Improvement >Affects Versions: 2.11.1 >Reporter: KON-SUN-TACK >Priority: Minor > > In GenericKeyedObjectPool Javadoc, getNumActive(K key) and getNumIdle(K key) > states: > "Returns a negative value if this information is not available." > But it seems they actually return 0 instead. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[GitHub] [commons-bsf] dependabot[bot] commented on pull request #30: Bump spotbugs from 4.2.0 to 4.5.0
dependabot[bot] commented on pull request #30: URL: https://github.com/apache/commons-bsf/pull/30#issuecomment-988732964 Superseded by #32. -- 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-bsf] dependabot[bot] closed pull request #30: Bump spotbugs from 4.2.0 to 4.5.0
dependabot[bot] closed pull request #30: URL: https://github.com/apache/commons-bsf/pull/30 -- 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-bsf] dependabot[bot] opened a new pull request #32: Bump spotbugs from 4.2.0 to 4.5.1
dependabot[bot] opened a new pull request #32: URL: https://github.com/apache/commons-bsf/pull/32 Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.2.0 to 4.5.1. Release notes Sourced from https://github.com/spotbugs/spotbugs/releases";>spotbugs's releases. SpotBugs 4.5.1 CHANGELOG https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md";>https://github.com/spotbugs/spotbugs/blob/4.5.1/CHANGELOG.md CHECKSUM file checksum (sha256) spotbugs-4.5.1-javadoc.jar 899cbc1214eb942e01980cd9d6a64e937598e25c9c1ef7d3af2da43bce729636 spotbugs-4.5.1-sources.jar b52e0b2e883dcbea58268c5355f1fa4c7090c5d941a93ddf844fa09534ef66e4 spotbugs-4.5.1.tgz e846b2e374fad74621e45e8b01c31eb9a2636d60b4cd30168944bed98dcb5a4c spotbugs-4.5.1.zip 26dd83027cd5e5a7e6a3f4c7a4239f27a9af8de209c7e37890835fc8cf035de7 spotbugs-annotations-4.5.1-javadoc.jar a66f6df0d2f53a88180980cbb465f558ec1614fc409b72f412949b10ec68db29 spotbugs-annotations-4.5.1-sources.jar b338136e3e82d585348cde58a8fe3a678e16f51a35c31c1463e05fefef557aad spotbugs-annotations.jar 083cc7dcb72f1e39d1da4389753f29c91546376d05be730db812974f74e570d7 spotbugs-ant-4.5.1-javadoc.jar 90a0ab972f2f6a51c3096f1ac7d06681dda5358c0dcbdb1d558bf0da2093 spotbugs-ant-4.5.1-sources.jar 06f19afbb2fd63e554d1588328feea5aabe0ea4c104191986de03ba1e2f518cb spotbugs-ant.jar e31cbd498a93ac92d19658bf45ca3a973b63e8932efca8da1cfd530ec9e547b3 spotbugs.jar 91c014d3a53b72ba4d0920f567dd1679a5621ed74ccb3bb9e6df84a22d2ff952 test-harness-4.5.1-javadoc.jar 77d6754b87ed52889148d7cae0f3a85be4c7a2923bcda456b7d7e512cefbe2db test-harness-4.5.1-sources.jar 2c1f5ef929453f3b682c7eb7c1e22db3082b5f74c5a5be439be5dc31dd7a31aa test-harness-4.5.1.jar 45ca0e944ee5704318d79f67815cde7ca5f7fb22814e325d00e2d25d9b552659 test-harness-core-4.5.1-javadoc.jar 76adfa13f8fe997cd06ef35beeccb8115af89f8d3e3a8a0936fd0cffe36fe1ab test-harness-core-4.5.1-sources.jar f320f5eb4069e9686b760b2a6a0760989753225f9e9ce1226e3258ec64795d8a test-harness-core-4.5.1.jar fd1a0c06a5eaff50ed0953d42fb7d69a41031c6a6630ad5e47c38a9f0eaca285 test-harness-jupiter-4.5.1-javadoc.jar c0bbd1ce2724acc7a5037b21ebe47f3a18ddb70be7cac9cc494009a9d5e71c9e test-harness-jupiter-4.5.1-sources.jar 210353a57016e26b1a654d936a15f039613fa1ac532d485c1b1d03902f6c6315 test-harness-jupiter-4.5.1.jar 18095fec31b85981ecaafdef86ca9ae1e9588e1b9bc6d209f82829cf9d0c13f4 SpotBugs 4.5.0 CHANGELOG Changed Replace "分析" with "解析" in Japanese document (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/1573";>#1573) https://github.com/KengoTODA";>@KengoTODA Add a section to document how to integrate find-sec-bugs into spotbugs-maven-plugin (https://github-redirect.dependabot.com/spotbugs/spotbugs/issues/540";>#540) https://github.com/luana-martins";>@luana-martins Bump gson from 2.8.8 to 2.8.9 (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1784";>#1784) Changes related to dominators analysis in package edu.umd.cs.findbugs.classfile.engine.bcel (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1741";>#1741): https://github.com/gamesh411";>@gamesh411 DominatorsAnalysisFactory renamed to NonExceptionDominatorsAnalysisFactory (clarification) NonExceptionPostdominatorsAnalysisFactory renamed to NonExceptionPostDominatorsAnalysisFactory (spelling) NonImplicitExceptionDominatorsAnalysis introduced (API consistency) Added Rule DCN_NULLPOINTER_EXCEPTION covers catching NullPointerExceptions in accordance with SEI Cert rule https://wiki.sei.cmu.edu/confluence/display/java/ERR08-J.+Do+not+catch+NullPointerException+or+any+of+its+ancestors";>ERR08-J (https://github-redirect.dependabot.com/spotbugs/spotbugs/pull/1740";>#1740) https://github.com/gamesh411";>@gamesh411 Multiple types of report can be generated in batch. Set multiple commandline options for report configuration like -html=report/spotbugs.html -xml:withMessages=report/spotbugs.xml. https://github.com/KengoTODA";>@KengoTODA New rule REFL_REFLECTION_INCREASES_ACCESSIBILITY_OF_CLASS to detect public methods instantiating a class they get in their parameter. This rule based on the SEI CERT rule SEC05-J. Do not use reflection to increase accessibility of classes, methods, or fields. (https://wiki.sei.cmu.edu/confluence/display/java/SEC05-J.+Do+not+use+reflection+to+increase+accessibility+of+classes%2C+methods%2C+or+fields";>#SEC05-J) https://github.com/baloghadamsoftware";>@baloghadamsoftware New detector FindOverridableMethodCall to detect invocation of overridable method in constructors (MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR) and clone() method (MC_OVE
[GitHub] [commons-cli] coveralls commented on pull request #83: Bump spotbugs from 4.4.2 to 4.5.1
coveralls commented on pull request #83: URL: https://github.com/apache/commons-cli/pull/83#issuecomment-988611366 [![Coverage Status](https://coveralls.io/builds/44843805/badge)](https://coveralls.io/builds/44843805) Coverage remained the same at 96.195% when pulling **d93e46b0d6d49510fc72b18c5e47513e4d485111 on dependabot/maven/com.github.spotbugs-spotbugs-4.5.1** into **ae7bc3f3cf57cabf3e663ba5df76affa36633255 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