[jira] [Created] (CHAIN-72) configuration façade APIs
Simone Tripodi created CHAIN-72: --- Summary: configuration façade APIs Key: CHAIN-72 URL: https://issues.apache.org/jira/browse/CHAIN-72 Project: Commons Chain Issue Type: New Feature Affects Versions: 2.0 Reporter: Simone Tripodi Assignee: Elijah Zupancic Fix For: 2.0 As discussed in ML, define a façade API for textual configurations and rename the current XML configuration module to xml-configuration (and adapt it to new APIs) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (MATH-831) Add a RealMatrixFormat to create a string representation of a Matrix similar to RealVectorFormat
Thomas Neidhart created MATH-831: Summary: Add a RealMatrixFormat to create a string representation of a Matrix similar to RealVectorFormat Key: MATH-831 URL: https://issues.apache.org/jira/browse/MATH-831 Project: Commons Math Issue Type: New Feature Reporter: Thomas Neidhart Priority: Minor Fix For: 3.1 When debugging or testing CM code, it would be very helpful to have a way to display the contents of a matrix on the screen. The format should be in a way that is similar by other tools by e.g. octave in order to be able to use the result directly in such tools: [ x1, x2, x3, x4, ...; x1, x2, x3, x4, ...; x1, x2, x3, x4, ... ] [ .. denotes the start of the matrix , .. denotes the end of an element ; .. denotes the end of a row ] .. denotes the end of the matrix -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (SANDBOX-426) [BeanUtils2] Add Cobertura Test Coverage Report to build
Benedikt Ritter created SANDBOX-426: --- Summary: [BeanUtils2] Add Cobertura Test Coverage Report to build Key: SANDBOX-426 URL: https://issues.apache.org/jira/browse/SANDBOX-426 Project: Commons Sandbox Issue Type: Improvement Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Add the cobertura coverage report to the reports section of the maven build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SANDBOX-426) [BeanUtils2] Add Cobertura Test Coverage Report to build
[ https://issues.apache.org/jira/browse/SANDBOX-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated SANDBOX-426: Attachment: SANDBOX-426.patch I've created a patch by copying the configuration from DbUtils. [BeanUtils2] Add Cobertura Test Coverage Report to build Key: SANDBOX-426 URL: https://issues.apache.org/jira/browse/SANDBOX-426 Project: Commons Sandbox Issue Type: Improvement Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-426.patch Add the cobertura coverage report to the reports section of the maven build. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SANDBOX-427) [BeanUtils2] Suppress m2e plugin life cylce mapping error
[ https://issues.apache.org/jira/browse/SANDBOX-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated SANDBOX-427: Attachment: SANDBOX-427.patch I've created a patch by copying the configuration from functor. [BeanUtils2] Suppress m2e plugin life cylce mapping error - Key: SANDBOX-427 URL: https://issues.apache.org/jira/browse/SANDBOX-427 Project: Commons Sandbox Issue Type: Improvement Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-427.patch Change the pom so that m2e does not complain about missing life cycle mappings. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (SANDBOX-427) [BeanUtils2] Suppress m2e plugin life cylce mapping error
Benedikt Ritter created SANDBOX-427: --- Summary: [BeanUtils2] Suppress m2e plugin life cylce mapping error Key: SANDBOX-427 URL: https://issues.apache.org/jira/browse/SANDBOX-427 Project: Commons Sandbox Issue Type: Improvement Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-427.patch Change the pom so that m2e does not complain about missing life cycle mappings. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SANDBOX-428) [BeanUtils2] Implement unit tests for ConstructorRegistry
[ https://issues.apache.org/jira/browse/SANDBOX-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated SANDBOX-428: Attachment: SANDBOX-428.patch I've attached a patch for this issue. [BeanUtils2] Implement unit tests for ConstructorRegistry - Key: SANDBOX-428 URL: https://issues.apache.org/jira/browse/SANDBOX-428 Project: Commons Sandbox Issue Type: Sub-task Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-428.patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (SANDBOX-428) [BeanUtils2] Implement unit tests for ConstructorRegistry
Benedikt Ritter created SANDBOX-428: --- Summary: [BeanUtils2] Implement unit tests for ConstructorRegistry Key: SANDBOX-428 URL: https://issues.apache.org/jira/browse/SANDBOX-428 Project: Commons Sandbox Issue Type: Sub-task Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-428.patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-88) Method lowerBound in org.apache.commons.imaging.common.itu_t4.T4AndT6Compression has a division error
[ https://issues.apache.org/jira/browse/IMAGING-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-88. - Resolution: Fixed Fix Version/s: 1.0 Patch applied to SVN, thank you for your contribution! Method lowerBound in org.apache.commons.imaging.common.itu_t4.T4AndT6Compression has a division error - Key: IMAGING-88 URL: https://issues.apache.org/jira/browse/IMAGING-88 Project: Commons Imaging Issue Type: Bug Components: Format: TIFF Affects Versions: 1.0 Reporter: Craig Kelly Fix For: 1.0 In method lowerBound in the class org.apache.commons.imaging.common.itu_t4.T4AndT6Compression, the binary search loop uses: int middle = (first + last) 2; To find a mid-point for the search. However, the bit-shift is causing a divide by 4. At best this produces bad results, and at worst causes an infinite loop (which is how I found the error). A simple patch to fix is: Index: src/main/java/org/apache/commons/imaging/common/itu_t4/T4AndT6Compression.java === --- src/main/java/org/apache/commons/imaging/common/itu_t4/T4AndT6Compression.java (revision 1363019) +++ src/main/java/org/apache/commons/imaging/common/itu_t4/T4AndT6Compression.java (working copy) @@ -720,7 +720,7 @@ int first = 0; int last = entries.length - 1; do { -int middle = (first + last) 2; +int middle = (first + last) 1; //2; if (entries[middle].value.intValue() = value ((middle + 1) = entries.length || value entries[middle + 1].value .intValue())) { -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-55) Add ability to insert comments when writing images.
[ https://issues.apache.org/jira/browse/IMAGING-55?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-55. - Resolution: Later Deferring to after the 1.0 release. Add ability to insert comments when writing images. --- Key: IMAGING-55 URL: https://issues.apache.org/jira/browse/IMAGING-55 Project: Commons Imaging Issue Type: New Feature Reporter: Charles Matthew Chen -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-53) Add Ability to Write Multiple Images to Gif, Tiff
[ https://issues.apache.org/jira/browse/IMAGING-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-53. - Resolution: Later Deferring to after the 1.0 release. Add Ability to Write Multiple Images to Gif, Tiff - Key: IMAGING-53 URL: https://issues.apache.org/jira/browse/IMAGING-53 Project: Commons Imaging Issue Type: New Feature Reporter: Charles Matthew Chen With GIF, should be able to specify the timing information around images for animated gifs, as well as to set up looping animations. With Tiff, should support writing both related (primary image, large thumbnail, small thumbnail, etc.) images and unrelated images to a single file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-85) Rename src/test/data directory to src/test/resources to comply with maven conventions
[ https://issues.apache.org/jira/browse/IMAGING-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-85. - Resolution: Later Deferring to after the 1.0 release. Rename src/test/data directory to src/test/resources to comply with maven conventions - Key: IMAGING-85 URL: https://issues.apache.org/jira/browse/IMAGING-85 Project: Commons Imaging Issue Type: Improvement Reporter: Farrukh Najmi Attachments: SANSELAN-83-patch.txt Currently established maven convention is not being following because test resources being placed under src/test/data instead of src/test/resources directory. This causes problems is maven-jar-plugin and possibly other situations. Proposed patch for IMAGING-84 will not work until the proposed fix for this issues is addressed. The proposed fix is to rename src/test/data to src/test/resources and apply the following patch to fix test code that setsup path for test data files: {code} Index: src/test/java/org/apache/commons/imaging/ImagingTestConstants.java === --- src/test/java/org/apache/commons/imaging/ImagingTestConstants.java (revision 1354112) +++ src/test/java/org/apache/commons/imaging/ImagingTestConstants.java (working copy) @@ -24,12 +24,12 @@ static final File PHIL_HARVEY_TEST_IMAGE_FOLDER = new File( FilenameUtils - .separatorsToSystem(src\\test\\data\\images\\exif\\philHarvey\\)); + .separatorsToSystem(src\\test\\resources\\images\\exif\\philHarvey\\)); static final File SOURCE_FOLDER = new File(src); static final File TEST_SOURCE_FOLDER = new File(SOURCE_FOLDER, test); static final File TEST_DATA_SOURCE_FOLDER = new File(TEST_SOURCE_FOLDER, -data); +resources); static final File TEST_IMAGE_FOLDER = new File(TEST_DATA_SOURCE_FOLDER, images); } {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-25) integer overflow unhandled
[ https://issues.apache.org/jira/browse/IMAGING-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-25. - Resolution: Later Deferring to after the 1.0 release. integer overflow unhandled -- Key: IMAGING-25 URL: https://issues.apache.org/jira/browse/IMAGING-25 Project: Commons Imaging Issue Type: Bug Components: Format: JPEG Affects Versions: 0.94-incubator Environment: win32, 32 bit operating systems Reporter: Greg Squires Attachments: concat-app13.patch, crash.jpeg Original Estimate: 24h Remaining Estimate: 24h This function can throw an Exception in ByteSourceArray.java due to a negative byte[] allocation size. The length argument has been found to wrap when called from IccProfileParser.java. In 64bit machines, issues related to incorrect metadata, or ICC data can lead to incorrect and excess memory allocations. These large numbers however cause 32bit negative signed values. public byte[] getBlock(int start, int length) throws IOException { if (start + length bytes.length) throw new IOException(Could not read block (block start: + start + , block length: + length + , data length: + bytes.length + ).); byte result[] = new byte[length]; System.arraycopy(bytes, start, result, 0, length); return result; } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-72) Improve logging calls
[ https://issues.apache.org/jira/browse/IMAGING-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-72. - Resolution: Later Deferring to after the 1.0 release. Improve logging calls - Key: IMAGING-72 URL: https://issues.apache.org/jira/browse/IMAGING-72 Project: Commons Imaging Issue Type: Improvement Environment: 0.97-incubator Reporter: Vincent Siveton Actually, when building the Shindig project, some undesirable stacktrace are displayed [1]. The org.apache.sanselan.util.Debug class is not configurable at all. It could be nice to use a logging API like commons logging. [1] http://hudson.zones.apache.org/hudson/view/Shindig/job/Shindig/433/console -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IMAGING-34) Tiffreader fails if rows per strip and imageheight both are absent
[ https://issues.apache.org/jira/browse/IMAGING-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Damjan Jovanovic resolved IMAGING-34. - Resolution: Later No response, probably not a problem, but deferring to after the 1.0 release anyway. Tiffreader fails if rows per strip and imageheight both are absent --- Key: IMAGING-34 URL: https://issues.apache.org/jira/browse/IMAGING-34 Project: Commons Imaging Issue Type: Bug Reporter: Piyush Kapoor Priority: Minor Attachments: Tiffreader.patch, Tiffreader.patch, Tiffreader.patch If rowsperstrip is not present in Tiff files , we take imageHeight value as rows per strip value. Currently if imageheight is not present then Np occurs , Added some checks to safely run the process . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (VFS-430) The SoftRefFilesCache class logs clear text password
[ https://issues.apache.org/jira/browse/VFS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonin Stefanutti updated VFS-430: --- Summary: The SoftRefFilesCache class logs clear text password (was: The SoftRefFilesCache logs clear text password) The SoftRefFilesCache class logs clear text password Key: VFS-430 URL: https://issues.apache.org/jira/browse/VFS-430 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Reporter: Antonin Stefanutti Fix For: 2.1 The {{org.apache.commons.vfs2.cache.SoftRefFilesCache}} class logs {{FileName}} in the {{putFile}} method with the {{FileName.toString()}} that returns URL with clear password while it should be using the {{FileName.getFriendlyURI()}} method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (VFS-430) The SoftRefFilesCache logs clear text password
Antonin Stefanutti created VFS-430: -- Summary: The SoftRefFilesCache logs clear text password Key: VFS-430 URL: https://issues.apache.org/jira/browse/VFS-430 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Reporter: Antonin Stefanutti Fix For: 2.1 The {{org.apache.commons.vfs2.cache.SoftRefFilesCache}} class logs {{FileName}} in the {{putFile}} method with the {{FileName.toString()}} that returns URL with clear password while it should be using the {{FileName.getFriendlyURI()}} method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (MATH-578) Decrease DescriptiveStatistics performance from 2.0 to 2.2
[ https://issues.apache.org/jira/browse/MATH-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart resolved MATH-578. -- Resolution: Fixed Fixed in r1364318. See also MATH-805 with a description of the problem. Decrease DescriptiveStatistics performance from 2.0 to 2.2 -- Key: MATH-578 URL: https://issues.apache.org/jira/browse/MATH-578 Project: Commons Math Issue Type: Bug Affects Versions: 2.2 Environment: Linux Reporter: Paolo Repele Assignee: Mikkel Meyer Andersen Priority: Minor Fix For: 3.1 Attachments: percentile.png Switching between commons-math 2.0 to 2.2 we note how the DescriptiveStatistics.addValue(double) has decrease the performance. I tested with 2 million values. DescriptiveStatistics ds = new DescriptiveStatistics(); for(int i = 0; i1000*1000*2; i++) { //2 million values ds.addValue(v); } ds.getPercentile(50); Seems that depending by the values inserted in the DescriptiveStatistics it takes different time: * with a single value (0) ** 2.0 - take ~500 ms ** 2.2 - take more than 10 minutes * with 50% fixed value (0) and 50% Math.random() ** 2.0 - take ~500 ms ** 2.2 - take ~25 ms - ~250 second * with 100% Math.random() ** 2.0 - take ~500 ms ** 2.2 - take ~70 ms -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (MATH-805) Percentile calculation is very slow when input data are constants
[ https://issues.apache.org/jira/browse/MATH-805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart resolved MATH-805. -- Resolution: Fixed Fix Version/s: 3.1 Fixed in r1364318. Percentile calculation is very slow when input data are constants - Key: MATH-805 URL: https://issues.apache.org/jira/browse/MATH-805 Project: Commons Math Issue Type: Improvement Affects Versions: 3.0 Reporter: Benoit de Rancourt Assignee: Thomas Neidhart Priority: Minor Labels: performance, test Fix For: 3.1 I use the Percentile class to calculate quantile on a big array (10^6 entries). When I have to test the performance of my code, I notice that the calculation of quantile is at least 100x slower when my data are constants (10^6 of the same nomber). Maybe the Percentile calculation can be improved for this special case. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-578) Decrease DescriptiveStatistics performance from 2.0 to 2.2
[ https://issues.apache.org/jira/browse/MATH-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420188#comment-13420188 ] Thomas Neidhart commented on MATH-578: -- I did the provided test myself and indeed it is the same problem and is fixed by the suggested changes. Decrease DescriptiveStatistics performance from 2.0 to 2.2 -- Key: MATH-578 URL: https://issues.apache.org/jira/browse/MATH-578 Project: Commons Math Issue Type: Bug Affects Versions: 2.2 Environment: Linux Reporter: Paolo Repele Assignee: Mikkel Meyer Andersen Priority: Minor Fix For: 3.1 Attachments: percentile.png Switching between commons-math 2.0 to 2.2 we note how the DescriptiveStatistics.addValue(double) has decrease the performance. I tested with 2 million values. DescriptiveStatistics ds = new DescriptiveStatistics(); for(int i = 0; i1000*1000*2; i++) { //2 million values ds.addValue(v); } ds.getPercentile(50); Seems that depending by the values inserted in the DescriptiveStatistics it takes different time: * with a single value (0) ** 2.0 - take ~500 ms ** 2.2 - take more than 10 minutes * with 50% fixed value (0) and 50% Math.random() ** 2.0 - take ~500 ms ** 2.2 - take ~25 ms - ~250 second * with 100% Math.random() ** 2.0 - take ~500 ms ** 2.2 - take ~70 ms -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-287) Add support for weighted descriptive statistics
[ https://issues.apache.org/jira/browse/MATH-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420224#comment-13420224 ] Thomas Neidhart commented on MATH-287: -- The original patch has already been included in CM since 2.1. Add support for weighted descriptive statistics --- Key: MATH-287 URL: https://issues.apache.org/jira/browse/MATH-287 Project: Commons Math Issue Type: New Feature Affects Versions: 2.0 Reporter: Matthew Rowles Priority: Minor Fix For: 3.1 Attachments: weightTests.patch, weighted.patch Add support for weighted descriptive statistics, such as weighted variance. An example method call would be Variance.evaluate(double[] values, double[] weights, int begin, int length) - Suggested by mickey...@taosnet.com on the mailing list. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SANDBOX-428) [BeanUtils2] Implement unit tests for ConstructorRegistry
[ https://issues.apache.org/jira/browse/SANDBOX-428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated SANDBOX-428: Attachment: SANDBOX-428v2.patch I've uploaded a slightly modified version of the patch. Please ignore the first file and review v2. TIA! [BeanUtils2] Implement unit tests for ConstructorRegistry - Key: SANDBOX-428 URL: https://issues.apache.org/jira/browse/SANDBOX-428 Project: Commons Sandbox Issue Type: Sub-task Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-428.patch, SANDBOX-428v2.patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (SANDBOX-429) [BeanUtils2] Implement unit tests for MethodsRegistry
Benedikt Ritter created SANDBOX-429: --- Summary: [BeanUtils2] Implement unit tests for MethodsRegistry Key: SANDBOX-429 URL: https://issues.apache.org/jira/browse/SANDBOX-429 Project: Commons Sandbox Issue Type: Sub-task Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SANDBOX-429) [BeanUtils2] Implement unit tests for MethodsRegistry
[ https://issues.apache.org/jira/browse/SANDBOX-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated SANDBOX-429: Attachment: SANDBOX-429.patch I've uploaded a patch for this issue. I'm not sure how to test all possible execution paths in resolveAccessible() without defining a bunch of new classes just for this purpose. I've marked this as a TODO. [BeanUtils2] Implement unit tests for MethodsRegistry - Key: SANDBOX-429 URL: https://issues.apache.org/jira/browse/SANDBOX-429 Project: Commons Sandbox Issue Type: Sub-task Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-429.patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (VFS-430) The SoftRefFilesCache class logs clear text password
[ https://issues.apache.org/jira/browse/VFS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420260#comment-13420260 ] Gary D. Gregory commented on VFS-430: - Thank you for report. Would you care to provide a patch, prefferably with a unit test? The SoftRefFilesCache class logs clear text password Key: VFS-430 URL: https://issues.apache.org/jira/browse/VFS-430 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Reporter: Antonin Stefanutti Fix For: 2.1 The {{org.apache.commons.vfs2.cache.SoftRefFilesCache}} class logs {{FileName}} in the {{putFile}} method with the {{FileName.toString()}} that returns URL with clear password while it should be using the {{FileName.getFriendlyURI()}} method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MATH-287) Add support for weighted descriptive statistics
[ https://issues.apache.org/jira/browse/MATH-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gilles updated MATH-287: Fix Version/s: (was: 3.1) Removing the fix version since there is nothing to fix for 3.1. Further improvements should be provided in a patch, and can be added later. Add support for weighted descriptive statistics --- Key: MATH-287 URL: https://issues.apache.org/jira/browse/MATH-287 Project: Commons Math Issue Type: New Feature Affects Versions: 2.0 Reporter: Matthew Rowles Priority: Minor Attachments: weightTests.patch, weighted.patch Add support for weighted descriptive statistics, such as weighted variance. An example method call would be Variance.evaluate(double[] values, double[] weights, int begin, int length) - Suggested by mickey...@taosnet.com on the mailing list. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-831) Add a RealMatrixFormat to create a string representation of a Matrix similar to RealVectorFormat
[ https://issues.apache.org/jira/browse/MATH-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420290#comment-13420290 ] Thomas Neidhart commented on MATH-831: -- Added in r1364405. Add a RealMatrixFormat to create a string representation of a Matrix similar to RealVectorFormat Key: MATH-831 URL: https://issues.apache.org/jira/browse/MATH-831 Project: Commons Math Issue Type: New Feature Reporter: Thomas Neidhart Priority: Minor Fix For: 3.1 When debugging or testing CM code, it would be very helpful to have a way to display the contents of a matrix on the screen. The format should be in a way that is similar by other tools by e.g. octave in order to be able to use the result directly in such tools: [ x1, x2, x3, x4, ...; x1, x2, x3, x4, ...; x1, x2, x3, x4, ... ] [ .. denotes the start of the matrix , .. denotes the end of an element ; .. denotes the end of a row ] .. denotes the end of the matrix -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SANDBOX-429) [BeanUtils2] Implement unit tests for MethodsRegistry
[ https://issues.apache.org/jira/browse/SANDBOX-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benedikt Ritter updated SANDBOX-429: Attachment: SANDBOX-429v2.patch Woops, I've just noticed, that the first version of my patch does not contain a test bean class I've written. Please use v2. ExceptionBean is a class I've used for the test cases for SANDBOX-423 but it is useful for methods registry tests also. It defines some methods with protected, private and package visibility to test exception handling in cases, when methods are not accessible to the BU2 code. [BeanUtils2] Implement unit tests for MethodsRegistry - Key: SANDBOX-429 URL: https://issues.apache.org/jira/browse/SANDBOX-429 Project: Commons Sandbox Issue Type: Sub-task Components: BeanUtils2 Affects Versions: Nightly Builds Reporter: Benedikt Ritter Priority: Trivial Attachments: SANDBOX-429.patch, SANDBOX-429v2.patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-827) Replace class LegendreGaussIntegrator with IterativeLegendreGaussIntegrator class
[ https://issues.apache.org/jira/browse/MATH-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420353#comment-13420353 ] Gilles commented on MATH-827: - IterativeLegendreGaussIntegrator added in revision 136. LegendreGaussIntegrator deprecated in revision 1364452. Replace class LegendreGaussIntegrator with IterativeLegendreGaussIntegrator class - Key: MATH-827 URL: https://issues.apache.org/jira/browse/MATH-827 Project: Commons Math Issue Type: Task Reporter: Gilles Assignee: Gilles Priority: Minor Labels: api-change Fix For: 3.1, 4.0 Attachments: IterativeLegendreGaussIntegrator.java The LegendreGaussIntegrator class (in package o.a.c.m.analysis.integration) has a misleading name. Internally, it uses the Legendre-Gauss quadrature rule on sub-intervals of the integration range but, additionally, it performs an iterative procedure to automatically determine the number of sub-intervals over which the rule will be successively applied. The strict Gauss-Legendre quadrature scheme has now been implemented (cf. MATH-797) in package o.a.c.m.analysis.integration.gauss. I thus propose to: # Deprecate LegendreGaussIntegrator in 3.1. # Create a new IterativeLegendreGaussIntegrator class that will perform the same procedure as LegendreGaussIntegrator but will internally use the classes in package o.a.c.m.analysis.integration.gauss to perform the Gauss-Legendre quadrature part. # Remove LegendreGaussIntegrator in 4.0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-630) Rank Revealing QR Decomposition missing
[ https://issues.apache.org/jira/browse/MATH-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420357#comment-13420357 ] Gilles commented on MATH-630: - No further patch have been submitted. Is this issue still current? Rank Revealing QR Decomposition missing --- Key: MATH-630 URL: https://issues.apache.org/jira/browse/MATH-630 Project: Commons Math Issue Type: Improvement Affects Versions: 2.0, 2.1, 2.2 Reporter: Christopher Nix Priority: Minor Fix For: 3.1 Attachments: QRDecomposition.patch, RRQRDecomposition.patch The current QR decomposition implementation performs no column pivoting and is thus not rank revealing. A rank revealing QR decomposition could determine rank more efficiently, though not always as reliably, as from the Singular Value Decomposition. Additionally the rank revealing decomposition can be used in least-squares algorithms on rank-deficient matrices. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MATH-610) [patch] objects that use compareTo should have equals as well
[ https://issues.apache.org/jira/browse/MATH-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420358#comment-13420358 ] Gilles commented on MATH-610: - The patch won't apply anymore; we would need an updated version. But let's answer to your question first... [patch] objects that use compareTo should have equals as well - Key: MATH-610 URL: https://issues.apache.org/jira/browse/MATH-610 Project: Commons Math Issue Type: Improvement Reporter: Dave Brosius Priority: Trivial Fix For: 3.1 Attachments: equals.diff NaturalRanking implements compareTo. Code that implements compareTo should also implement equals, and those that implement equals should implement hashCode. This patch does this. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (VFS-431) FileSystemOption does not implement toString()
Gary D. Gregory created VFS-431: --- Summary: FileSystemOption does not implement toString() Key: VFS-431 URL: https://issues.apache.org/jira/browse/VFS-431 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory Fix For: 2.1 The class FileSystemOption does not implement toString(), it should. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (VFS-431) FileSystemOption does not implement toString()
[ https://issues.apache.org/jira/browse/VFS-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory resolved VFS-431. - Resolution: Fixed Committed revision 1364469. FileSystemOption does not implement toString() -- Key: VFS-431 URL: https://issues.apache.org/jira/browse/VFS-431 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory Fix For: 2.1 The class FileSystemOption does not implement toString(), it should. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (VFS-432) [HTTP][WebDAV] Allow HTTP follow redirect
Gary D. Gregory created VFS-432: --- Summary: [HTTP][WebDAV] Allow HTTP follow redirect Key: VFS-432 URL: https://issues.apache.org/jira/browse/VFS-432 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory Fix For: 2.1 Allow VFS HTTP file objects to use HTTP's follow redirect feature. Because the VFS WebDAV implementation subclasses HTTP classes, VFS WebDAV also gets this feature. For example: {code:java} final boolean followRedirect = true; final FileSystemOptions opts = new FileSystemOptions(); HttpFileSystemConfigBuilder.getInstance().setFollowRedirect(opts, followRedirect); final FileObject file = VFS.getManager().resolveFile(uri, opts); {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (VFS-432) [HTTP][WebDAV] Allow HTTP follow redirect
[ https://issues.apache.org/jira/browse/VFS-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory resolved VFS-432. - Resolution: Fixed Committed revision 1364484. [HTTP][WebDAV] Allow HTTP follow redirect - Key: VFS-432 URL: https://issues.apache.org/jira/browse/VFS-432 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500) Maven home: C:\Java\apache-maven-3.0.4\bin\.. Java version: 1.6.0_31, vendor: Sun Microsystems Inc. Java home: C:\Program Files\Java\jdk1.6.0_31\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows 7, version: 6.1, arch: amd64, family: windows Reporter: Gary D. Gregory Fix For: 2.1 Allow VFS HTTP file objects to use HTTP's follow redirect feature. Because the VFS WebDAV implementation subclasses HTTP classes, VFS WebDAV also gets this feature. For example: {code:java} final boolean followRedirect = true; final FileSystemOptions opts = new FileSystemOptions(); HttpFileSystemConfigBuilder.getInstance().setFollowRedirect(opts, followRedirect); final FileObject file = VFS.getManager().resolveFile(uri, opts); {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (VFS-428) DavException: (301) Moved Permanently
[ https://issues.apache.org/jira/browse/VFS-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420415#comment-13420415 ] Gary D. Gregory commented on VFS-428: - Please see VFS-432. Can you try the latest code from trunk? DavException: (301) Moved Permanently -- Key: VFS-428 URL: https://issues.apache.org/jira/browse/VFS-428 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0, 2.1 Environment: Apache 2.2.22 as Testerver and setted up like http://commons.apache.org/vfs/testserver.html (but changed the 'crypt' password) Reporter: Robert Kornmesser Priority: Blocker Labels: webdav Running the WebdavProviderTestCase using mvn -P webdav clean test -Dtest.webdav.uri=webdav://vfsusr:vfstest@localhost/vfstest -Dtest=WebdavProviderTestCase results in {code}DavException: (301) Moved Permanently Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.645 sec FAILURE! Results : Tests in error: junit.framework.TestSuite@55c9be00(org.apache.commons.vfs2.provider.webdav.test.WebdavProviderTestCase$1): Could not determine the type of file webdav://vfsusr:@localhost/vfstest/read-tests. Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 {code} The deeper Problem is, that the HttpClient using by VFS does not append a trailing slash and mod_dir of httpd has DirectorySlash On per default. So httpd send 301 redirect to the same url with / appended. I know that for this reason of problematic webdav client apache introduced redirect-carefully for some user agents using the BrowserMatch directive. So I just tried adding the following into my Directory directive {code} BrowserMatch ^Jakarta-Commons-VFS redirect-carefully BrowserMatch ^Jakarta Commons-HttpClient/3.0 redirect-carefully BrowserMatch ^Jakarta Commons-HttpClient/3.1 redirect-carefully {code} Its needed to have Jakarta-Commons-VFS *and* Jakarta Commons-HttpClient because of two requests from commons vfs using two different user agents. But instead of solving the issue, I get for every FileObject.getChildren() call at least one FileObject of type imaginary with the same basename as the parent. Thats not a problem at all (besides that this is totally wrong!) but deleting a parent just dont work anymore, because of an *non-existent* imaginary file inside the dir which cannot be deleted of course. To cut a long story short, what is the right httpd webdav server config to use 2.0 Release version of VFS? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (VFS-430) The SoftRefFilesCache class logs clear text password
[ https://issues.apache.org/jira/browse/VFS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory resolved VFS-430. - Resolution: Fixed Committed revision 1364490. The SoftRefFilesCache class logs clear text password Key: VFS-430 URL: https://issues.apache.org/jira/browse/VFS-430 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Reporter: Antonin Stefanutti Fix For: 2.1 The {{org.apache.commons.vfs2.cache.SoftRefFilesCache}} class logs {{FileName}} in the {{putFile}} method with the {{FileName.toString()}} that returns URL with clear password while it should be using the {{FileName.getFriendlyURI()}} method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (VFS-430) The SoftRefFilesCache class logs clear text password
[ https://issues.apache.org/jira/browse/VFS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13420451#comment-13420451 ] Gary D. Gregory commented on VFS-430: - Do you know of other places where the password shows up in the log? The SoftRefFilesCache class logs clear text password Key: VFS-430 URL: https://issues.apache.org/jira/browse/VFS-430 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Reporter: Antonin Stefanutti Fix For: 2.1 The {{org.apache.commons.vfs2.cache.SoftRefFilesCache}} class logs {{FileName}} in the {{putFile}} method with the {{FileName.toString()}} that returns URL with clear password while it should be using the {{FileName.getFriendlyURI()}} method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira