Author: sebb
Date: Fri Mar 28 12:42:24 2014
New Revision: 1582732
URL: http://svn.apache.org/r1582732
Log:
Missing inline explanation
Modified:
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
Modified:
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
URL:
http://svn.apache.org/viewvc/commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java?rev=1582732&r1=1582731&r2=1582732&view=diff
==============================================================================
---
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
(original)
+++
commons/proper/proxy/trunk/core/src/main/java/org/apache/commons/proxy2/stub/BaseAnnotationTrainer.java
Fri Mar 28 12:42:24 2014
@@ -80,7 +80,7 @@ public abstract class BaseAnnotationTrai
* Therefore we declare a bogus annotation type parameter on this
method which we use to create
* our AnnotationTypeTrainer, whose type parameter requires an
annotation type. N == R
*/
- @SuppressWarnings("unchecked")
+ @SuppressWarnings("unchecked") // we assume N == R
final Class<N> annotationType = (Class<N>) componentType;
@SuppressWarnings("unchecked") // and cast it back
final BaseTrainer<?, R> trainer = (BaseTrainer<?, R>) new
AnnotationTypeTrainer<N>(