Author: oheger
Date: Wed Oct 30 20:20:16 2013
New Revision: 1537274
URL: http://svn.apache.org/r1537274
Log:
Fixed raw type warnings.
Modified:
commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
Modified:
commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java?rev=1537274&r1=1537273&r2=1537274&view=diff
==============================================================================
---
commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
(original)
+++
commons/proper/beanutils/branches/java5/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
Wed Oct 30 20:20:16 2013
@@ -18,11 +18,11 @@
package org.apache.commons.beanutils.locale;
-import org.apache.commons.beanutils.BeanUtils;
-
import java.lang.reflect.InvocationTargetException;
import java.util.Locale;
+import org.apache.commons.beanutils.BeanUtils;
+
/**
@@ -558,7 +558,7 @@ public class LocaleBeanUtils extends Bea
*
* @see LocaleBeanUtilsBean#definePropertyType(Object, String, String)
*/
- protected static Class definePropertyType(Object target, String name,
String propName)
+ protected static Class<?> definePropertyType(Object target, String name,
String propName)
throws IllegalAccessException, InvocationTargetException {
return
LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().definePropertyType(target,
name, propName);
@@ -577,7 +577,7 @@ public class LocaleBeanUtils extends Bea
* @return The converted value
* @see LocaleBeanUtilsBean#convert(Class, int, Object, String)
*/
- protected static Object convert(Class type, int index, Object value,
String pattern) {
+ protected static Object convert(Class<?> type, int index, Object value,
String pattern) {
return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().convert(type,
index, value, pattern);
}
@@ -593,7 +593,7 @@ public class LocaleBeanUtils extends Bea
* @return The converted value
* @see LocaleBeanUtilsBean#convert(Class, int, Object)
*/
- protected static Object convert(Class type, int index, Object value) {
+ protected static Object convert(Class<?> type, int index, Object value) {
return LocaleBeanUtilsBean.getLocaleBeanUtilsInstance().convert(type,
index, value);
}