Author: luc
Date: Sat Jan 12 13:36:35 2008
New Revision: 611490

URL: http://svn.apache.org/viewvc?rev=611490&view=rev
Log:
replace getClass by the exact class,
to avoid problems if class is extended (findbugs warning)

Modified:
    
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java

Modified: 
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java?rev=611490&r1=611489&r2=611490&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
 (original)
+++ 
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/CertifiedDataTest.java
 Sat Jan 12 13:36:35 2008
@@ -137,7 +137,7 @@
         BufferedReader in =
             new BufferedReader(
                     new InputStreamReader(
-                            getClass().getResourceAsStream(resource)));
+                            
CertifiedDataTest.class.getResourceAsStream(resource)));
         
         String line = null;
         


Reply via email to