Fixed loading of test file when path contains a space.
JIRA:MATH-955 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9cec1ea8d6
commit
e4c91be8c9
|
@ -55,6 +55,9 @@ This is a minor release: It combines bug fixes and new features.
|
|||
Changes to existing features were made in a backwards-compatible
|
||||
way such as to allow drop-in replacement of the v3.1[.1] JAR file.
|
||||
">
|
||||
<action dev="luc" type="update" issue="MATH-955" due-to="Evan Ward">
|
||||
Fixed loading of test file when path contains a space.
|
||||
</action>
|
||||
<action dev="luc" type="update" issue="MATH-954" due-to="Charles Cooper">
|
||||
Improved speed of FastMath.abs methods for all signatures, by removing branching.
|
||||
</action>
|
||||
|
|
|
@ -98,7 +98,7 @@ public final class EmpiricalDistributionTest extends RealDistributionAbstractTes
|
|||
checkDistribution();
|
||||
|
||||
// Load again from a file (also verifies idempotency of load)
|
||||
File file = new File(url.getFile());
|
||||
File file = new File(url.toURI());
|
||||
empiricalDistribution.load(file);
|
||||
checkDistribution();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue