replace getClass by the exact class,

to avoid problems if class is extended (findbugs warning)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2008-01-12 21:36:35 +00:00
parent c76f6fdc58
commit 69c6e7d5f4
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public class CertifiedDataTest extends TestCase {
BufferedReader in =
new BufferedReader(
new InputStreamReader(
getClass().getResourceAsStream(resource)));
CertifiedDataTest.class.getResourceAsStream(resource)));
String line = null;