[GitHub] [commons-cli] codecov-commenter commented on pull request #112: Delete unused assignment.

2022-06-24 Thread GitBox


codecov-commenter commented on PR #112:
URL: https://github.com/apache/commons-cli/pull/112#issuecomment-1165904980

   # 
[Codecov](https://codecov.io/gh/apache/commons-cli/pull/112?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#112](https://codecov.io/gh/apache/commons-cli/pull/112?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (5a69682) into 
[master](https://codecov.io/gh/apache/commons-cli/commit/88713a0697ec763d36bb4d6b30d7554b2e05a133?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (88713a0) will **decrease** coverage by `0.01%`.
   > The diff coverage is `n/a`.
   
   ```diff
   @@ Coverage Diff  @@
   ## master #112  +/-   ##
   
   - Coverage 93.21%   93.20%   -0.02% 
 Complexity  566  566  
   
 Files21   21  
 Lines  1209 1207   -2 
 Branches214  214  
   
   - Hits   1127 1125   -2 
 Misses   46   46  
 Partials 36   36  
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/commons-cli/pull/112?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[...ain/java/org/apache/commons/cli/OptionBuilder.java](https://codecov.io/gh/apache/commons-cli/pull/112/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2NvbW1vbnMvY2xpL09wdGlvbkJ1aWxkZXIuamF2YQ==)
 | `95.16% <ø> (-0.08%)` | :arrow_down: |
   | 
[...a/org/apache/commons/cli/PatternOptionBuilder.java](https://codecov.io/gh/apache/commons-cli/pull/112/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2NvbW1vbnMvY2xpL1BhdHRlcm5PcHRpb25CdWlsZGVyLmphdmE=)
 | `92.85% <ø> (-0.17%)` | :arrow_down: |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/commons-cli/pull/112?src=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/commons-cli/pull/112?src=pr=footer_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
 Last update 
[88713a0...5a69682](https://codecov.io/gh/apache/commons-cli/pull/112?src=pr=lastupdated_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   


-- 
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-cli] codecov-commenter commented on pull request #111: The maximum can be calculated using a Math.max() instead of doing it manually.

2022-06-24 Thread GitBox


codecov-commenter commented on PR #111:
URL: https://github.com/apache/commons-cli/pull/111#issuecomment-1165902603

   # 
[Codecov](https://codecov.io/gh/apache/commons-cli/pull/111?src=pr=h1_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#111](https://codecov.io/gh/apache/commons-cli/pull/111?src=pr=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (1d64f90) into 
[master](https://codecov.io/gh/apache/commons-cli/commit/88713a0697ec763d36bb4d6b30d7554b2e05a133?el=desc_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 (88713a0) will **not change** coverage.
   > The diff coverage is `100.00%`.
   
   ```diff
   @@Coverage Diff@@
   ## master #111   +/-   ##
   =
 Coverage 93.21%   93.21%   
   + Complexity  566  565-1 
   =
 Files21   21   
 Lines  1209 1209   
 Branches214  213-1 
   =
 Hits   1127 1127   
 Misses   46   46   
 Partials 36   36   
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/commons-cli/pull/111?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[...ain/java/org/apache/commons/cli/HelpFormatter.java](https://codecov.io/gh/apache/commons-cli/pull/111/diff?src=pr=tree_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2NvbW1vbnMvY2xpL0hlbHBGb3JtYXR0ZXIuamF2YQ==)
 | `91.07% <100.00%> (ø)` | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/commons-cli/pull/111?src=pr=continue_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/commons-cli/pull/111?src=pr=footer_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
 Last update 
[88713a0...1d64f90](https://codecov.io/gh/apache/commons-cli/pull/111?src=pr=lastupdated_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral_source=github_content=comment_campaign=pr+comments_term=The+Apache+Software+Foundation).
   


-- 
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] (CONFIGURATION-815) Package depends on log4j 1.2.17

2022-06-24 Thread Michael Osipov (Jira)


[ 
https://issues.apache.org/jira/browse/CONFIGURATION-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17558636#comment-17558636
 ] 

Michael Osipov commented on CONFIGURATION-815:
--

That is just test, I woldn't even bother or replace with SLF4J Simple.

> Package depends on log4j 1.2.17
> ---
>
> Key: CONFIGURATION-815
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-815
> Project: Commons Configuration
>  Issue Type: Task
>Reporter: Henri Yandell
>Priority: Major
>
> Commons Configuration has a test dependency on log4j 1.2.17. As log4j 1.x is 
> EOL; it feels like that should be updated/replaced.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Created] (CONFIGURATION-815) Package depends on log4j 1.2.17

2022-06-24 Thread Henri Yandell (Jira)
Henri Yandell created CONFIGURATION-815:
---

 Summary: Package depends on log4j 1.2.17
 Key: CONFIGURATION-815
 URL: https://issues.apache.org/jira/browse/CONFIGURATION-815
 Project: Commons Configuration
  Issue Type: Task
Reporter: Henri Yandell


Commons Configuration has a test dependency on log4j 1.2.17. As log4j 1.x is 
EOL; it feels like that should be updated/replaced.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[GitHub] [commons-collections] Claudenw opened a new pull request, #315: replaced merge with old mergeInPlace

2022-06-24 Thread GitBox


Claudenw opened a new pull request, #315:
URL: https://github.com/apache/commons-collections/pull/315

   removed mergeInPlace
   
   fixes https://issues.apache.org/jira/browse/COLLECTIONS-829


-- 
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] [Updated] (VFS-797) JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol. Error is: org.apache.commons.vfs2.FileSystemException: Invalid descende

2022-06-24 Thread New User (Jira)


 [ 
https://issues.apache.org/jira/browse/VFS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

New User updated VFS-797:
-
Priority: Minor  (was: Blocker)

> JIRA Fix VFS-741 is causing an error in reading the files from azure host 
> using azsb protocol.Error is: 
> org.apache.commons.vfs2.FileSystemException: Invalid descendent file name 
> ".//somepath/subfolder/file.txt"
> --
>
> Key: VFS-797
> URL: https://issues.apache.org/jira/browse/VFS-797
> Project: Commons VFS
>  Issue Type: Bug
>Reporter: New User
>Assignee: Gary D. Gregory
>Priority: Minor
>
> I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
> getting an error for my  application in reading the files from azure host 
> using 'azsb' protocol. By default, it adds the prefix ./ in the filename 
> which is throwing an exception in resolving the filename.
>  
> The error that is thrown is as below:
> Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files 
> in "azsb://somehost/somepath/subfolder".Caused by: 
> org.apache.commons.vfs2.FileSystemException: Could not find files in 
> "azsb://somehost/somepath/subfolder". at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)
>  
> Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent 
> file name ".//somepath/subfolder/file.txt". at 
> org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
>  ... 7 common frames omitted
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Updated] (VFS-797) JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol. Error is: org.apache.commons.vfs2.FileSystemException: Invalid descende

2022-06-24 Thread New User (Jira)


 [ 
https://issues.apache.org/jira/browse/VFS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

New User updated VFS-797:
-
Summary: JIRA Fix VFS-741 is causing an error in reading the files from 
azure host using azsb protocol.Error is: 
org.apache.commons.vfs2.FileSystemException: Invalid descendent file name 
".//somepath/subfolder/file.txt"  (was: JIRA Fix VFS-741 is causing an error in 
reading the files from azure host using azsb protocol.Error is: 
org.apache.commons.vfs2.FileSystemException: Invalid descendent file name 
".//devexports/AgreementPrice/ECPServiceConfig.txt")

> JIRA Fix VFS-741 is causing an error in reading the files from azure host 
> using azsb protocol.Error is: 
> org.apache.commons.vfs2.FileSystemException: Invalid descendent file name 
> ".//somepath/subfolder/file.txt"
> --
>
> Key: VFS-797
> URL: https://issues.apache.org/jira/browse/VFS-797
> Project: Commons VFS
>  Issue Type: Bug
>Reporter: New User
>Assignee: Gary D. Gregory
>Priority: Blocker
>
> I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
> getting an error for my  application in reading the files from azure host 
> using 'azsb' protocol. By default, it adds the prefix ./ in the filename 
> which is throwing an exception in resolving the filename.
>  
> The error that is thrown is as below:
> Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files 
> in "azsb://somehost/somepath/subfolder".Caused by: 
> org.apache.commons.vfs2.FileSystemException: Could not find files in 
> "azsb://somehost/somepath/subfolder". at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)
>  
> Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent 
> file name ".//somepath/subfolder/file.txt". at 
> org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
>  ... 7 common frames omitted
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Work logged] (NUMBERS-188) Static Method Refactor and Functional Interfaces

2022-06-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NUMBERS-188?focusedWorklogId=784625=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-784625
 ]

ASF GitHub Bot logged work on NUMBERS-188:
--

Author: ASF GitHub Bot
Created on: 24/Jun/22 14:48
Start Date: 24/Jun/22 14:48
Worklog Time Spent: 10m 
  Work Description: sumanth-rajkumar opened a new pull request, #111:
URL: https://github.com/apache/commons-numbers/pull/111

   This PR refactors Complex class using functional interfaces and static 
methods. 
   This allows reuse of the refactored static functions for Operations on 
List/Matrices of Complex Numbers (NUMBERS-186)
   
   The changes retain binary backward compatibility.
   
   Summary of changes
   
   1) Introduced following interfaces  for Complex Number Operations
DComplex - interface representing a complex number with double precision in 
cartesian form
DComplexUnaryOperator - unary operations on DComplex
DComplexBinaryOperator - binary operations on DComplex
DComplexScalarFunction -  operations on a DComplex and double type 
returning a DComplex type
DComplexConstructor - interface to create the DComplex result object from 
real and imaginary parts
   
   2) Refactored instance methods of Complex class as static functions in 
ComplexFunctions and ComplexBiFunctions
   The static functions use the functional interface signatures described above
   
   3) Added default methods on functional interfaces to compose Complex 
operations.
   




Issue Time Tracking
---

Worklog Id: (was: 784625)
Remaining Estimate: 0h
Time Spent: 10m

> Static Method Refactor and Functional Interfaces
> 
>
> Key: NUMBERS-188
> URL: https://issues.apache.org/jira/browse/NUMBERS-188
> Project: Commons Numbers
>  Issue Type: Sub-task
>Reporter: Sumanth Sulur Rajkumar
>Priority: Minor
>  Labels: gsoc2022
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Refactored existing instance methods in Complex class as static functions in 
> ComplexFunctions class using functional interface signatures



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[GitHub] [commons-numbers] sumanth-rajkumar opened a new pull request, #111: NUMBERS-188: refactored Complex instance methods as static functions

2022-06-24 Thread GitBox


sumanth-rajkumar opened a new pull request, #111:
URL: https://github.com/apache/commons-numbers/pull/111

   This PR refactors Complex class using functional interfaces and static 
methods. 
   This allows reuse of the refactored static functions for Operations on 
List/Matrices of Complex Numbers (NUMBERS-186)
   
   The changes retain binary backward compatibility.
   
   Summary of changes
   
   1) Introduced following interfaces  for Complex Number Operations
DComplex - interface representing a complex number with double precision in 
cartesian form
DComplexUnaryOperator - unary operations on DComplex
DComplexBinaryOperator - binary operations on DComplex
DComplexScalarFunction -  operations on a DComplex and double type 
returning a DComplex type
DComplexConstructor - interface to create the DComplex result object from 
real and imaginary parts
   
   2) Refactored instance methods of Complex class as static functions in 
ComplexFunctions and ComplexBiFunctions
   The static functions use the functional interface signatures described above
   
   3) Added default methods on functional interfaces to compose Complex 
operations.
   


-- 
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] [Updated] (VFS-797) JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol. Error is: org.apache.commons.vfs2.FileSystemException: Invalid descende

2022-06-24 Thread New User (Jira)


 [ 
https://issues.apache.org/jira/browse/VFS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

New User updated VFS-797:
-
Description: 
I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
getting an error for my  application in reading the files from azure host using 
'azsb' protocol. By default, it adds the prefix ./ in the filename which is 
throwing an exception in resolving the filename.

 

The error that is thrown is as below:

Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://somehost/somepath/subfolder".Caused by: 
org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://somehost/somepath/subfolder". at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)

 

Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent file 
name ".//somepath/subfolder/file.txt". at 
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
 ... 7 common frames omitted

 

  was:
I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
getting an error for my  application in reading the files from azure host using 
'azsb' protocol. By default, it adds the prefix ./ in the filename which is 
throwing an exception in resolving the filename.

 

The error that is thrown is as below:

Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice".Caused by: 
org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice". at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)

 

Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent file 
name ".//somepath/subfolder/ECPServiceConfig.txt". at 
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
 ... 7 common frames omitted

 


> JIRA Fix VFS-741 is causing an error in reading the files from azure host 
> using azsb protocol.Error is: 
> org.apache.commons.vfs2.FileSystemException: Invalid descendent file name 
> ".//devexports/AgreementPrice/ECPServiceConfig.txt"
> -
>
> Key: VFS-797
> URL: https://issues.apache.org/jira/browse/VFS-797
> Project: Commons VFS
>  Issue Type: Bug
>Reporter: New User
>Assignee: Gary D. Gregory
>Priority: Blocker
>
> I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
> getting an error for my  application in reading the files from azure host 
> using 'azsb' protocol. By default, it adds the prefix ./ in the filename 
> which is throwing an exception in resolving the filename.
>  
> The error that is thrown is as below:
> Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files 
> in "azsb://somehost/somepath/subfolder".Caused by: 
> org.apache.commons.vfs2.FileSystemException: Could not find files in 
> "azsb://somehost/somepath/subfolder". at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)
>  
> Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent 
> file name ".//somepath/subfolder/file.txt". at 
> org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
>  at 
> 

[jira] [Updated] (VFS-797) JIRA Fix VFS-741 is causing an error in reading the files from azure host using azsb protocol. Error is: org.apache.commons.vfs2.FileSystemException: Invalid descende

2022-06-24 Thread New User (Jira)


 [ 
https://issues.apache.org/jira/browse/VFS-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

New User updated VFS-797:
-
Description: 
I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
getting an error for my  application in reading the files from azure host using 
'azsb' protocol. By default, it adds the prefix ./ in the filename which is 
throwing an exception in resolving the filename.

 

The error that is thrown is as below:

Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice".Caused by: 
org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice". at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)

 

Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent file 
name ".//somepath/subfolder/ECPServiceConfig.txt". at 
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
 ... 7 common frames omitted

 

  was:
I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
getting an error for my  application in reading the files from azure host using 
'azsb' protocol. By default, it adds the prefix ./ in the filename which is 
throwing an exception in resolving the filename.

 

The error that is thrown is as below:

Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice".Caused by: 
org.apache.commons.vfs2.FileSystemException: Could not find files in 
"azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice". at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:990)
 at 
com.bsc.intg.svcs.core.vfs.BSCVFSProvider.listFiles(BSCVFSProvider.java:234) at 
com.bsc.intg.svcs.core.vfs.BSCVFSListenerContainer.process(BSCVFSListenerContainer.java:142)
 ... 3 common frames omitted

 

Caused by: org.apache.commons.vfs2.FileSystemException: Invalid descendent file 
name ".//devexports/AgreementPrice/ECPServiceConfig.txt". at 
org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveName(DefaultFileSystemManager.java:806)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1116)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:93)
 at 
org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1012)
 ... 7 common frames omitted

 


> JIRA Fix VFS-741 is causing an error in reading the files from azure host 
> using azsb protocol.Error is: 
> org.apache.commons.vfs2.FileSystemException: Invalid descendent file name 
> ".//devexports/AgreementPrice/ECPServiceConfig.txt"
> -
>
> Key: VFS-797
> URL: https://issues.apache.org/jira/browse/VFS-797
> Project: Commons VFS
>  Issue Type: Bug
>Reporter: New User
>Assignee: Gary D. Gregory
>Priority: Blocker
>
> I have updated the VFS version to from 2.2 to 2.7.0. Since then I have been 
> getting an error for my  application in reading the files from azure host 
> using 'azsb' protocol. By default, it adds the prefix ./ in the filename 
> which is throwing an exception in resolving the filename.
>  
> The error that is thrown is as below:
> Caused by: org.apache.commons.vfs2.FileSystemException: Could not find files 
> in 
> "azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice".Caused 
> by: org.apache.commons.vfs2.FileSystemException: Could not find files in 
> "azsb://usw2bscssisdumps.core.windows.net/devexports/AgreementPrice". at 
> org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1015)
>  at 
> org.apache.commons.vfs2.provider.AbstractFileObject.listFiles(AbstractFileObject.java:1663)
>  at 
> 

[GitHub] [commons-compress] arturobernalg commented on a diff in pull request #298: Remove duplicate conditions. Use switch instead.

2022-06-24 Thread GitBox


arturobernalg commented on code in PR #298:
URL: https://github.com/apache/commons-compress/pull/298#discussion_r906011384


##
src/main/java/org/apache/commons/compress/harmony/pack200/MetadataBandGroup.java:
##
@@ -242,29 +242,40 @@ public void addParameterAnnotation(final int numParams, 
final int[] annoN, final
 for (Object element : t) {
 final String tag = (String) element;
 T.add(tag);
-if (tag.equals("B") || tag.equals("C") || tag.equals("I") || 
tag.equals("S") || tag.equals("Z")) {
-final Integer value = (Integer) valuesIterator.next();
-caseI_KI.add(cpBands.getConstant(value));
-} else if (tag.equals("D")) {
-final Double value = (Double) valuesIterator.next();
-caseD_KD.add(cpBands.getConstant(value));
-} else if (tag.equals("F")) {
-final Float value = (Float) valuesIterator.next();
-caseF_KF.add(cpBands.getConstant(value));
-} else if (tag.equals("J")) {
-final Long value = (Long) valuesIterator.next();
-caseJ_KJ.add(cpBands.getConstant(value));
-} else if (tag.equals("c")) {
-final String value = (String) valuesIterator.next();
-casec_RS.add(cpBands.getCPSignature(value));
-} else if (tag.equals("e")) {
-final String value = (String) valuesIterator.next();
-final String value2 = (String) valuesIterator.next();
-caseet_RS.add(cpBands.getCPSignature(value));
-caseec_RU.add(cpBands.getCPUtf8(value2));
-} else if (tag.equals("s")) {
-final String value = (String) valuesIterator.next();
-cases_RU.add(cpBands.getCPUtf8(value));
+switch (tag) {

Review Comment:
   i guess



-- 
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 commented on a diff in pull request #314: Move counting long predicate

2022-06-24 Thread GitBox


garydgregory commented on code in PR #314:
URL: 
https://github.com/apache/commons-collections/pull/314#discussion_r905997905


##
src/main/java/org/apache/commons/collections4/bloomfilter/CountingLongPredicate.java:
##
@@ -0,0 +1,68 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.collections4.bloomfilter;
+
+import java.util.function.LongPredicate;
+
+/**
+ * A long predicate that applies the test func to each member of the @{code 
ary} in sequence for each call to @{code test()}.
+ * if the @{code ary} is exhausted, the subsequent calls to to @{code test} 
are executed with a zero value.
+ * If the calls to @{code test} do not exhaust the @{code ary} the @{code 
forEachRemaining} method can be called to
+ * execute the @code{text} with a zero value for each remaining @{code idx} 
value.
+ *
+ */
+class CountingLongPredicate implements LongPredicate {
+int idx = 0;

Review Comment:
   Why are these not all private?



-- 
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-parent] garydgregory merged pull request #112: Bump apache from 24 to 26

2022-06-24 Thread GitBox


garydgregory merged PR #112:
URL: https://github.com/apache/commons-parent/pull/112


-- 
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-parent] dependabot[bot] commented on pull request #116: Bump checkstyle from 9.3 to 10.3

2022-06-24 Thread GitBox


dependabot[bot] commented on PR #116:
URL: https://github.com/apache/commons-parent/pull/116#issuecomment-1165497765

   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-parent] garydgregory closed pull request #116: Bump checkstyle from 9.3 to 10.3

2022-06-24 Thread GitBox


garydgregory closed pull request #116: Bump checkstyle from 9.3 to 10.3
URL: https://github.com/apache/commons-parent/pull/116


-- 
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-parent] garydgregory commented on pull request #116: Bump checkstyle from 9.3 to 10.3

2022-06-24 Thread GitBox


garydgregory commented on PR #116:
URL: https://github.com/apache/commons-parent/pull/116#issuecomment-1165497733

   Closing: Requires Java 11.


-- 
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-parent] garydgregory merged pull request #118: Bump actions/cache from 3.0.3 to 3.0.4

2022-06-24 Thread GitBox


garydgregory merged PR #118:
URL: https://github.com/apache/commons-parent/pull/118


-- 
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-parent] garydgregory merged pull request #119: Bump versions-maven-plugin from 2.10.0 to 2.11.0

2022-06-24 Thread GitBox


garydgregory merged PR #119:
URL: https://github.com/apache/commons-parent/pull/119


-- 
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-cli] garydgregory merged pull request #108: Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.0.0

2022-06-24 Thread GitBox


garydgregory merged PR #108:
URL: https://github.com/apache/commons-cli/pull/108


-- 
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-cli] garydgregory merged pull request #110: Bump maven-pmd-plugin from 3.16.0 to 3.17.0

2022-06-24 Thread GitBox


garydgregory merged PR #110:
URL: https://github.com/apache/commons-cli/pull/110


-- 
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] garydgregory merged pull request #119: Bump maven-pmd-plugin from 3.16.0 to 3.17.0

2022-06-24 Thread GitBox


garydgregory merged PR #119:
URL: https://github.com/apache/commons-release-plugin/pull/119


-- 
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] garydgregory merged pull request #239: Bump h2 from 2.1.212 to 2.1.214

2022-06-24 Thread GitBox


garydgregory merged PR #239:
URL: https://github.com/apache/commons-csv/pull/239


-- 
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] (COLLECTIONS-801) Simplify Bloom filter implementation

2022-06-24 Thread Claude Warren (Jira)


 [ 
https://issues.apache.org/jira/browse/COLLECTIONS-801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Warren resolved COLLECTIONS-801.
---
Fix Version/s: 4.5
   Resolution: Fixed

Closed with pull request 
 
h1. Simplify bloom filters #258

> Simplify Bloom filter implementation
> 
>
> Key: COLLECTIONS-801
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-801
> Project: Commons Collections
>  Issue Type: Improvement
>Affects Versions: 4.5
>Reporter: Claude Warren
>Priority: Minor
> Fix For: 4.5
>
>
> The initial Bloom filter implementation has a number of issues arising from 
> attempting to verify that filters were built the same way (ie. same number of 
> bits, number of functions, hashing algorithm, etc.)  The net result is that 
> there is significant overhead in the processing of the filters.  For a 
> structure that is intended to speed up decisions this is a fault.  There are 
> also issues with implementation hiding in the current code.
> The issue calls for:
>  * The removal of the hashing tracking, all the registration and verification 
> that the hashes are the same.  This becomes an operational issue for the 
> developer using the library.  In most cases this is a trivial problem.
>  * Removal of all methods that assume an implementation detail of the Bloom 
> filter.  Rather than getting a list of indices or a list of bitmap longs (or 
> bytes) the classes will implement a "Producer" style that uses IntConsumer, 
> LongConsumer, etc to receive the indices or bit maps.  This pattern to carry 
> forward to specialized filters like counting Bloom filters that will accept a 
> BitCountConsumer to receive the counts for each bit.
>  * There are cases where Bloom filters need to be updated and cases where 
> they do not.  The change should include merge() methods to produce new Bloom 
> filters and mergeInPlace() methods to update the Bloom filters.
>  * There are issues with some assumptions in the Hasher implementations 
> wherein the static hasher does not function as described.  Part of the goal 
> of this change is to simplify the mechanism to pass the internal state of one 
> bloom filter to another without either knowing the implementation of that 
> state in the other.  This will be done via the "Producer" interface described 
> above.  Hashers will be able to create IndexProducers that will produce the 
> indices for a Bloom filter shape.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[GitHub] [commons-bcel] garydgregory merged pull request #129: Bump maven-surefire-plugin from 3.0.0-M6 to 3.0.0-M7

2022-06-24 Thread GitBox


garydgregory merged PR #129:
URL: https://github.com/apache/commons-bcel/pull/129


-- 
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-bcel] garydgregory merged pull request #130: Bump maven-pmd-plugin from 3.16.0 to 3.17.0

2022-06-24 Thread GitBox


garydgregory merged PR #130:
URL: https://github.com/apache/commons-bcel/pull/130


-- 
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-dbcp] garydgregory merged pull request #196: Bump h2 from 2.1.212 to 2.1.214

2022-06-24 Thread GitBox


garydgregory merged PR #196:
URL: https://github.com/apache/commons-dbcp/pull/196


-- 
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-dbcp] garydgregory merged pull request #197: Bump narayana-jta from 5.12.6.Final to 5.12.7.Final

2022-06-24 Thread GitBox


garydgregory merged PR #197:
URL: https://github.com/apache/commons-dbcp/pull/197


-- 
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-compress] garydgregory commented on a diff in pull request #298: Remove duplicate conditions. Use switch instead.

2022-06-24 Thread GitBox


garydgregory commented on code in PR #298:
URL: https://github.com/apache/commons-compress/pull/298#discussion_r905963264


##
src/main/java/org/apache/commons/compress/harmony/pack200/MetadataBandGroup.java:
##
@@ -242,29 +242,40 @@ public void addParameterAnnotation(final int numParams, 
final int[] annoN, final
 for (Object element : t) {
 final String tag = (String) element;
 T.add(tag);
-if (tag.equals("B") || tag.equals("C") || tag.equals("I") || 
tag.equals("S") || tag.equals("Z")) {
-final Integer value = (Integer) valuesIterator.next();
-caseI_KI.add(cpBands.getConstant(value));
-} else if (tag.equals("D")) {
-final Double value = (Double) valuesIterator.next();
-caseD_KD.add(cpBands.getConstant(value));
-} else if (tag.equals("F")) {
-final Float value = (Float) valuesIterator.next();
-caseF_KF.add(cpBands.getConstant(value));
-} else if (tag.equals("J")) {
-final Long value = (Long) valuesIterator.next();
-caseJ_KJ.add(cpBands.getConstant(value));
-} else if (tag.equals("c")) {
-final String value = (String) valuesIterator.next();
-casec_RS.add(cpBands.getCPSignature(value));
-} else if (tag.equals("e")) {
-final String value = (String) valuesIterator.next();
-final String value2 = (String) valuesIterator.next();
-caseet_RS.add(cpBands.getCPSignature(value));
-caseec_RU.add(cpBands.getCPUtf8(value2));
-} else if (tag.equals("s")) {
-final String value = (String) valuesIterator.next();
-cases_RU.add(cpBands.getCPUtf8(value));
+switch (tag) {

Review Comment:
   Can `tag` be null here?



-- 
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] (JEXL-372) Add support for 'standard' for loop

2022-06-24 Thread Henri Biestro (Jira)


[ 
https://issues.apache.org/jira/browse/JEXL-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17558401#comment-17558401
 ] 

Henri Biestro commented on JEXL-372:


Good catch, thanks Dmitri.

> Add support for 'standard' for loop
> ---
>
> Key: JEXL-372
> URL: https://issues.apache.org/jira/browse/JEXL-372
> Project: Commons JEXL
>  Issue Type: Improvement
>Affects Versions: 3.2.1
>Reporter: Henri Biestro
>Assignee: Henri Biestro
>Priority: Major
> Fix For: 3.3
>
>
> It would be nice to allow the C/Javascript/Java for loop:
> for(init-expression; predicate-expression; step-expression) body
> This calls for the prefix/postfix increment/decrement operators.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)