Author: veithen
Date: Mon Jun 9 17:55:56 2014
New Revision: 1601455
URL: http://svn.apache.org/r1601455
Log:
Fix formatting: replace tabs with spaces.
Modified:
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/utility/ClassUtils.java
Modified:
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/utility/ClassUtils.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/utility/ClassUtils.java?rev=1601455&r1=1601454&r2=1601455&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/utility/ClassUtils.java
(original)
+++
axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/jaxws/utility/ClassUtils.java
Mon Jun 9 17:55:56 2014
@@ -316,33 +316,33 @@ public class ClassUtils {
*
*/
public static Set<Class> getClasses(Type type, Set<Class> list) {
- if (list == null) {
- list = new HashSet<Class>();
- }
- try {
- if (type instanceof Class) {
- list.add( (Class)type);
- }
- if (type instanceof ParameterizedType) {
- ParameterizedType pt = (ParameterizedType) type;
- getClasses(pt.getRawType(), list);
- Type types[] = pt.getActualTypeArguments();
- if (types != null) {
- for (int i=0; i<types.length; i++) {
- getClasses(types[i], list);
- }
- }
- }
- if (type instanceof GenericArrayType) {
- GenericArrayType gat = (GenericArrayType) type;
- getClasses(gat.getGenericComponentType(), list);
- }
- } catch (Throwable t) {
- if (log.isDebugEnabled()) {
- log.debug("Problem occurred in getClasses. Processing
continues " + t);
- }
- }
- return list;
+ if (list == null) {
+ list = new HashSet<Class>();
+ }
+ try {
+ if (type instanceof Class) {
+ list.add( (Class)type);
+ }
+ if (type instanceof ParameterizedType) {
+ ParameterizedType pt = (ParameterizedType) type;
+ getClasses(pt.getRawType(), list);
+ Type types[] = pt.getActualTypeArguments();
+ if (types != null) {
+ for (int i=0; i<types.length; i++) {
+ getClasses(types[i], list);
+ }
+ }
+ }
+ if (type instanceof GenericArrayType) {
+ GenericArrayType gat = (GenericArrayType) type;
+ getClasses(gat.getGenericComponentType(), list);
+ }
+ } catch (Throwable t) {
+ if (log.isDebugEnabled()) {
+ log.debug("Problem occurred in getClasses. Processing
continues " + t);
+ }
+ }
+ return list;
}
}