[jira] [Created] (CONFIGURATION-662) Add API org.apache.commons.configuration2.DataConfiguration.getPath(String) methods

2017-04-09 Thread Gary Gregory (JIRA)
Gary Gregory created CONFIGURATION-662:
--

 Summary: Add API 
org.apache.commons.configuration2.DataConfiguration.getPath(String) methods
 Key: CONFIGURATION-662
 URL: https://issues.apache.org/jira/browse/CONFIGURATION-662
 Project: Commons Configuration
  Issue Type: New Feature
  Components: Type conversion
Reporter: Gary Gregory


Add API org.apache.commons.configuration2.DataConfiguration.getPath(String) 
methods. Uses the Java 7 NIO Path class.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (CONFIGURATION-661) Update platform requirement from Java 6 to 7

2017-04-09 Thread Gary Gregory (JIRA)
Gary Gregory created CONFIGURATION-661:
--

 Summary: Update platform requirement from Java 6 to 7
 Key: CONFIGURATION-661
 URL: https://issues.apache.org/jira/browse/CONFIGURATION-661
 Project: Commons Configuration
  Issue Type: New Feature
Affects Versions: 2.1.1
Reporter: Gary Gregory


Update platform requirement from Java 6 to 7.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (CONFIGURATION-658) Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) methods

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory closed CONFIGURATION-658.
--
Resolution: Fixed

In Subversion trunk.

> Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) 
> methods
> --
>
> Key: CONFIGURATION-658
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-658
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
> Fix For: 2.2
>
>
> Add org.apache.commons.configuration2.DataConfiguration APIs:
> - getURI(String)
> - getURI(String, URI)
> - getURIArray(String)
> - getURIArray(String, URI[])
> - getURIList(String)
> - getURIList(String, List)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CONFIGURATION-658) Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) methods

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory updated CONFIGURATION-658:
---
Description: 
Add org.apache.commons.configuration2.DataConfiguration APIs:

- getURI(String)
- getURI(String, URI)
- getURIArray(String)
- getURIArray(String, URI[])
- getURIList(String)
- getURIList(String, List)

  was:Add API 
org.apache.commons.configuration2.ImmutableConfiguration.getURI(String) and 
getURI(String, URI)


> Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) 
> methods
> --
>
> Key: CONFIGURATION-658
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-658
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
> Fix For: 2.2
>
>
> Add org.apache.commons.configuration2.DataConfiguration APIs:
> - getURI(String)
> - getURI(String, URI)
> - getURIArray(String)
> - getURIArray(String, URI[])
> - getURIList(String)
> - getURIList(String, List)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Issue Comment Deleted] (CONFIGURATION-658) Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) methods

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory updated CONFIGURATION-658:
---
Comment: was deleted

(was: In SVN trunk.)

> Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) 
> methods
> --
>
> Key: CONFIGURATION-658
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-658
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
> Fix For: 2.2
>
>
> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURI(String) and 
> getURI(String, URI)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Reopened] (CONFIGURATION-658) Add API org.apache.commons.configuration2.ImmutableConfiguration.getURI(String)

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory reopened CONFIGURATION-658:


> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURI(String)
> ---
>
> Key: CONFIGURATION-658
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-658
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
> Fix For: 2.2
>
>
> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURI(String) and 
> getURI(String, URI)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (CONFIGURATION-658) Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) methods

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory updated CONFIGURATION-658:
---
Summary: Add API 
org.apache.commons.configuration2.DataConfiguration.getURI(String) methods  
(was: Add API 
org.apache.commons.configuration2.ImmutableConfiguration.getURI(String))

> Add API org.apache.commons.configuration2.DataConfiguration.getURI(String) 
> methods
> --
>
> Key: CONFIGURATION-658
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-658
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
> Fix For: 2.2
>
>
> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURI(String) and 
> getURI(String, URI)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Deleted] (CONFIGURATION-659) Add API org.apache.commons.configuration2.ImmutableConfiguration.getURL(String)

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory deleted CONFIGURATION-659:
---


> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURL(String)
> ---
>
> Key: CONFIGURATION-659
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-659
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
>
> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURL(String) and 
> getURL(String, URL)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Closed] (CSV-196) Store the information of raw data read by lexer

2017-04-09 Thread Matt Sun (JIRA)

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

Matt Sun closed CSV-196.

   Resolution: Not A Bug
Fix Version/s: (was: Patch Needed)

> Store the information of raw data read by lexer
> ---
>
> Key: CSV-196
> URL: https://issues.apache.org/jira/browse/CSV-196
> Project: Commons CSV
>  Issue Type: Improvement
>  Components: Parser
>Affects Versions: 1.4
>Reporter: Matt Sun
>  Labels: patch
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> It will be good to have CSVParser class to store the info of whether a field 
> was enclosed by quotes in the original source file.
> For example, for this data sample:
> A, B, C
> a1, "b1", c1
> CSVParser gives us record a1, b1, c1, which is helpful because it parsed 
> double quotes, but we also lost the information of original data at the same 
> time. We can't tell from the CSVRecord returned whether the original data is 
> enclosed by double quotes or not.
> In our use case, we are integrating Apache Hadoop APIs with Commons CSV.  CSV 
> is one kind of input of Hadoop Jobs, which should support splitting input 
> data. To accurately split a CSV file into pieces, we need to count the bytes 
> of  data CSVParser actually read. CSVParser doesn't have accurate information 
> of whether a field was enclosed by quotes, neither does it store raw data of 
> the original source. Downstream users of commons CSVParser is not able to get 
> those info.
> To suggest a fix: Extend the token/CSVRecord to have a boolean field 
> indicating whether the column was enclosed by quotes. While Lexer is doing 
> getNextToken, set the flag if a field is encapsulated and successfully parsed.
> I find another issue reported with similar request, but it was marked as 
> resolved: [CSV91] 
> https://issues.apache.org/jira/browse/CSV-91?jql=project%20%3D%20CSV%20AND%20text%20~%20%22with%20quotes%22



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CSV-196) Store the information of raw data read by lexer

2017-04-09 Thread Matt Sun (JIRA)

[ 
https://issues.apache.org/jira/browse/CSV-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15962321#comment-15962321
 ] 

Matt Sun commented on CSV-196:
--

I found that the offset in CSVRecord can fit our need in some way. So there is 
no need to store additional raw data for now. I'm going to close this issue 
unless you have other opinions.

> Store the information of raw data read by lexer
> ---
>
> Key: CSV-196
> URL: https://issues.apache.org/jira/browse/CSV-196
> Project: Commons CSV
>  Issue Type: Improvement
>  Components: Parser
>Affects Versions: 1.4
>Reporter: Matt Sun
>  Labels: patch
> Fix For: Patch Needed
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> It will be good to have CSVParser class to store the info of whether a field 
> was enclosed by quotes in the original source file.
> For example, for this data sample:
> A, B, C
> a1, "b1", c1
> CSVParser gives us record a1, b1, c1, which is helpful because it parsed 
> double quotes, but we also lost the information of original data at the same 
> time. We can't tell from the CSVRecord returned whether the original data is 
> enclosed by double quotes or not.
> In our use case, we are integrating Apache Hadoop APIs with Commons CSV.  CSV 
> is one kind of input of Hadoop Jobs, which should support splitting input 
> data. To accurately split a CSV file into pieces, we need to count the bytes 
> of  data CSVParser actually read. CSVParser doesn't have accurate information 
> of whether a field was enclosed by quotes, neither does it store raw data of 
> the original source. Downstream users of commons CSVParser is not able to get 
> those info.
> To suggest a fix: Extend the token/CSVRecord to have a boolean field 
> indicating whether the column was enclosed by quotes. While Lexer is doing 
> getNextToken, set the flag if a field is encapsulated and successfully parsed.
> I find another issue reported with similar request, but it was marked as 
> resolved: [CSV91] 
> https://issues.apache.org/jira/browse/CSV-91?jql=project%20%3D%20CSV%20AND%20text%20~%20%22with%20quotes%22



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (COMPRESS-384) Tar File EOF not being detected

2017-04-09 Thread Jason Shattu (JIRA)
Jason Shattu created COMPRESS-384:
-

 Summary: Tar File EOF not being detected
 Key: COMPRESS-384
 URL: https://issues.apache.org/jira/browse/COMPRESS-384
 Project: Commons Compress
  Issue Type: Bug
  Components: Build
Affects Versions: 1.13
 Environment: Windows 10, JDK 1.8
Reporter: Jason Shattu


I've created both a zip and tar file, with the same contents using the latest 
version of 7zip. When I read both archives using code of the form:

ArchiveStreamFactory().createArchiveInputStream(format, inputStream);

I notice that both formats correctly list their contents, however the Tar Input 
does't return a "null" entry when it hits the EOF from 
archiveStream.getNextEntry() 

this makes it hard to distinguish between a genuine EOF or a file which is 
still being written to. 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (CONFIGURATION-659) Add API org.apache.commons.configuration2.ImmutableConfiguration.getURL(String)

2017-04-09 Thread Gary Gregory (JIRA)

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

Gary Gregory commented on CONFIGURATION-659:


I will revert my URL changes and implement URI in {{DataConfiguration}} within 
24 hours or so.

> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURL(String)
> ---
>
> Key: CONFIGURATION-659
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-659
> Project: Commons Configuration
>  Issue Type: New Feature
>Reporter: Gary Gregory
>Assignee: Gary Gregory
> Fix For: 2.2
>
>
> Add API 
> org.apache.commons.configuration2.ImmutableConfiguration.getURL(String) and 
> getURL(String, URL)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MATH-1412) "KalmanFilterTest" is shaky

2017-04-09 Thread Gilles (JIRA)
Gilles created MATH-1412:


 Summary: "KalmanFilterTest" is shaky
 Key: MATH-1412
 URL: https://issues.apache.org/jira/browse/MATH-1412
 Project: Commons Math
  Issue Type: Test
Reporter: Gilles
Priority: Minor
 Fix For: 4.0


Test method "testCannonball" is too sensitive to the seed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MATH-1411) "LevenbergMarquardtOptimizerTest" is shaky

2017-04-09 Thread Gilles (JIRA)
Gilles created MATH-1411:


 Summary: "LevenbergMarquardtOptimizerTest" is shaky
 Key: MATH-1411
 URL: https://issues.apache.org/jira/browse/MATH-1411
 Project: Commons Math
  Issue Type: Test
Reporter: Gilles
Priority: Minor
 Fix For: 4.0


Test method "testCircleFitting2" is too sensitive to the seed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (MATH-1410) "MultiStartMultivariateOptimizerTest" is shaky

2017-04-09 Thread Gilles (JIRA)

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

Gilles updated MATH-1410:
-
Description: 
The "testRosenbrock" test method (package "o.a.c.m.optim.nonlinear.scalar") is 
too sensitive to the seed.


  was:
This unit test (package "o.a.c.m.optim.nonlinear.scalar") is too sensitive to 
the seed.



> "MultiStartMultivariateOptimizerTest" is shaky
> --
>
> Key: MATH-1410
> URL: https://issues.apache.org/jira/browse/MATH-1410
> Project: Commons Math
>  Issue Type: Test
>Reporter: Gilles
>Priority: Minor
>  Labels: unit-test
> Fix For: 4.0
>
>
> The "testRosenbrock" test method (package "o.a.c.m.optim.nonlinear.scalar") 
> is too sensitive to the seed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MATH-1410) "MultiStartMultivariateOptimizerTest" is shaky

2017-04-09 Thread Gilles (JIRA)
Gilles created MATH-1410:


 Summary: "MultiStartMultivariateOptimizerTest" is shaky
 Key: MATH-1410
 URL: https://issues.apache.org/jira/browse/MATH-1410
 Project: Commons Math
  Issue Type: Test
Reporter: Gilles
Priority: Minor
 Fix For: 4.0


This unit test (package "o.a.c.m.optim.nonlinear.scalar") is too sensitive to 
the seed.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (MATH-1409) "UncorrelatedRandomVectorGenerator" is shaky

2017-04-09 Thread Gilles (JIRA)
Gilles created MATH-1409:


 Summary: "UncorrelatedRandomVectorGenerator" is shaky
 Key: MATH-1409
 URL: https://issues.apache.org/jira/browse/MATH-1409
 Project: Commons Math
  Issue Type: Test
Reporter: Gilles
Priority: Minor
 Fix For: 4.0


This unit test (package "o.a.c.m.random") is too sensitive to the seed.
Using a fixed seed used to make it pass (rather than relaxing the tolerance) 
gives a wrong impression about the code's purpose (or potentially hides a bug).




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)