You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/12/15 03:59:39 UTC
svn commit: r890614 -
/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Author: dkulp
Date: Tue Dec 15 02:59:39 2009
New Revision: 890614
URL: http://svn.apache.org/viewvc?rev=890614&view=rev
Log:
Fix pmd error
Modified:
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Modified: cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java?rev=890614&r1=890613&r2=890614&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java (original)
+++ cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java Tue Dec 15 02:59:39 2009
@@ -2296,7 +2296,7 @@
}
}
protected void processTypes(Class sc, Type tp) {
- if (tp != null && tp instanceof ParameterizedType) {
+ if (tp instanceof ParameterizedType) {
ParameterizedType ptp = (ParameterizedType)tp;
Type c = (Class)ptp.getRawType();
Map<String, Class<?>> m = new HashMap<String, Class<?>>();