Made default file encoding explicit (FindBugs).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
623963275a
commit
0d31f27386
|
@ -264,6 +264,9 @@ public class ValueServer {
|
|||
/**
|
||||
* Sets the the {@link #getValuesFileURL() values file URL}.
|
||||
*
|
||||
* <p>The values file <i>must</i> be an ASCII text file containing one
|
||||
* valid numeric entry per line.</p>
|
||||
*
|
||||
* @param url URL of the values file.
|
||||
*/
|
||||
public void setValuesFileURL(URL url) {
|
||||
|
@ -293,7 +296,7 @@ public class ValueServer {
|
|||
// ignore
|
||||
}
|
||||
}
|
||||
filePointer = new BufferedReader(new InputStreamReader(valuesFileURL.openStream()));
|
||||
filePointer = new BufferedReader(new InputStreamReader(valuesFileURL.openStream(), "UTF-8"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue