Author: sebb
Date: Tue Jan 26 02:00:09 2010
New Revision: 903044

URL: http://svn.apache.org/viewvc?rev=903044&view=rev
Log:
Document why OK to suppress unchecked warning

Modified:
    
commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/ArrayFieldVectorTest.java

Modified: 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/ArrayFieldVectorTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/ArrayFieldVectorTest.java?rev=903044&r1=903043&r2=903044&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/ArrayFieldVectorTest.java
 (original)
+++ 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/linear/ArrayFieldVectorTest.java
 Tue Jan 26 02:00:09 2010
@@ -72,7 +72,7 @@
          * @param length size of the array to build
          * @return a new array
          */
-        @SuppressWarnings("unchecked")
+        @SuppressWarnings("unchecked") // field is of type T
         private T[] buildArray(final int length) {
             return (T[]) Array.newInstance(field.getZero().getClass(), length);
         }


Reply via email to