commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r690380 - in /commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils: ./ converters/ locale/converters/
Date Fri, 29 Aug 2008 20:04:39 GMT
Author: niallp
Date: Fri Aug 29 13:04:38 2008
New Revision: 690380

URL: http://svn.apache.org/viewvc?rev=690380&view=rev
Log:
Add missing @since 1.8.0 tags - thanks to James Carman

Modified:
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BasicDynaBean.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtils.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/DynaProperty.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaList.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaMap.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/MethodUtils.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/ResultSetDynaClass.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlDateConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
    commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BasicDynaBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BasicDynaBean.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BasicDynaBean.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BasicDynaBean.java
Fri Aug 29 13:04:38 2008
@@ -87,6 +87,7 @@
      * <ul><li><code>${myDynaBean.<b>map</b>.fooProperty}</code></li></ul>
      *
      * @return a Map representation of this DynaBean
+     * @since 1.8.0
      */
     public Map getMap() {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtils.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtils.java (original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtils.java Fri
Aug 29 13:04:38 2008
@@ -462,6 +462,7 @@
      * @param  throwable The throwable.
      * @param  cause     The cause of the throwable.
      * @return  true if the cause was initialized, otherwise false.
+     * @since 1.8.0
      */
     public static boolean initCause(Throwable throwable, Throwable cause) {
         return BeanUtilsBean.getInstance().initCause(throwable, cause);
@@ -470,6 +471,7 @@
     /**
      * Create a cache.
      * @return a new cache
+     * @since 1.8.0
      */
     public static Map createCache() {
         return new WeakFastHashMap();
@@ -479,6 +481,7 @@
      * Return whether a Map is fast
      * @param map The map
      * @return Whether it is fast or not.
+     * @since 1.8.0
      */
     public static boolean getCacheFast(Map map) {
         if (map instanceof WeakFastHashMap) {
@@ -492,6 +495,7 @@
      * Set whether fast on a Map
      * @param map The map
      * @param fast Whether it should be fast or not.
+     * @since 1.8.0
      */
     public static void setCacheFast(Map map, boolean fast) {
         if (map instanceof WeakFastHashMap) {

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/BeanUtilsBean.java
Fri Aug 29 13:04:38 2008
@@ -1044,6 +1044,7 @@
      * @param  throwable The throwable.
      * @param  cause     The cause of the throwable.
      * @return  true if the cause was initialized, otherwise false.
+     * @since 1.8.0
      */
     public boolean initCause(Throwable throwable, Throwable cause) {
         if (INIT_CAUSE_METHOD != null && cause != null) {
@@ -1066,6 +1067,7 @@
      * @return The converted value
      *
      * @exception ConversionException if thrown by an underlying Converter
+     * @since 1.8.0
      */
     protected Object convert(Object value, Class type) {
         Converter converter = getConvertUtils().lookup(type);

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/DynaProperty.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/DynaProperty.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/DynaProperty.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/DynaProperty.java
Fri Aug 29 13:04:38 2008
@@ -207,6 +207,7 @@
      * @param obj The object to compare to
      * @return <code>true</code> if object is a dyna property with the same name
      * type and content type, otherwise <code>false</code>
+     * @since 1.8.0
      */
     public boolean equals(final Object obj) {
 
@@ -228,6 +229,7 @@
     /**
      * @return the hashcode for this dyna property
      * @see java.lang.Object#hashCode
+     * @since 1.8.0
      */
     public int hashCode() {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaList.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaList.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaList.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaList.java
Fri Aug 29 13:04:38 2008
@@ -158,6 +158,7 @@
  * 
  * @author Niall Pemberton
  * @version $Revision$ $Date$
+ * @since 1.8.0
  */
 public class LazyDynaList extends ArrayList {
     

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaMap.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaMap.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaMap.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/LazyDynaMap.java
Fri Aug 29 13:04:38 2008
@@ -154,6 +154,7 @@
     /**
      * Return the underlying Map backing this <code>DynaBean</code>
      * @return the underlying Map
+     * @since 1.8.0
      */
     public Map getMap() {
         return values;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/MethodUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/MethodUtils.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/MethodUtils.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/MethodUtils.java
Fri Aug 29 13:04:38 2008
@@ -118,6 +118,7 @@
      *
      * @param cacheMethods <code>true</code> if methods should be
      * cached for greater performance, otherwise <code>false</code>
+     * @since 1.8.0
      */
     public static synchronized void setCacheMethods(boolean cacheMethods) {
         CACHE_METHODS = cacheMethods;
@@ -129,6 +130,7 @@
     /**
      * Clear the method cache.
      * @return the number of cached methods cleared
+     * @since 1.8.0
      */
     public static synchronized int clearCache() {
         int size = cache.size();
@@ -422,6 +424,7 @@
      *  method invoked
      * @throws IllegalAccessException if the requested method is not accessible
      *  via reflection
+     * @since 1.8.0
      */
     public static Object invokeExactStaticMethod(
             Class objectClass,
@@ -479,6 +482,7 @@
      *  method invoked
      * @throws IllegalAccessException if the requested method is not accessible
      *  via reflection
+     * @since 1.8.0
      */
     public static Object invokeStaticMethod(
             Class objectClass,
@@ -521,6 +525,7 @@
      *  method invoked
      * @throws IllegalAccessException if the requested method is not accessible
      *  via reflection
+     * @since 1.8.0
      */
     public static Object invokeStaticMethod(
             Class objectClass,
@@ -569,6 +574,7 @@
      *  method invoked
      * @throws IllegalAccessException if the requested method is not accessible
      *  via reflection
+     * @since 1.8.0
      */
     public static Object invokeStaticMethod(
             Class objectClass,
@@ -617,6 +623,7 @@
      *  method invoked
      * @throws IllegalAccessException if the requested method is not accessible
      *  via reflection
+     * @since 1.8.0
      */
     public static Object invokeExactStaticMethod(
             Class objectClass,
@@ -650,6 +657,7 @@
      *  method invoked
      * @throws IllegalAccessException if the requested method is not accessible
      *  via reflection
+     * @since 1.8.0
      */
     public static Object invokeExactStaticMethod(
             Class objectClass,
@@ -760,6 +768,7 @@
      * @param clazz The class of the object
      * @param method The method that we wish to call
      * @return The accessible method
+     * @since 1.8.0
      */
     public static Method getAccessibleMethod(Class clazz, Method method) {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
Fri Aug 29 13:04:38 2008
@@ -156,6 +156,7 @@
      * {@link DefaultResolver} is the default implementation used.
      *
      * @return resolver The property expression resolver.
+     * @since 1.8.0
      */
     public Resolver getResolver() {
         return resolver;
@@ -172,6 +173,7 @@
      * {@link DefaultResolver} is the default implementation used.
      *
      * @param resolver The property expression resolver.
+     * @since 1.8.0
      */
     public void setResolver(Resolver resolver) {
         if (resolver == null) {
@@ -787,6 +789,7 @@
      * @throws NoSuchMethodException just in case subclasses override this
      * method to try to access real getter methods, and want to fail if
      * no simple method is available.
+     * @since 1.8.0
      */
     protected Object getPropertyOfMapBean(Map bean, String propertyName) 
         throws IllegalArgumentException, IllegalAccessException, 
@@ -2004,6 +2007,7 @@
      * @throws NoSuchMethodException just in case subclasses override this
      * method to try to access real setter methods, and want to fail if
      * no simple method is available.
+     * @since 1.8.0
      */
     protected void setPropertyOfMapBean(Map bean, String propertyName, Object value)
         throws IllegalArgumentException, IllegalAccessException, 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/ResultSetDynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/ResultSetDynaClass.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/ResultSetDynaClass.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/ResultSetDynaClass.java
Fri Aug 29 13:04:38 2008
@@ -173,6 +173,7 @@
      * @param name The property name
      * @return The value
      * @throws SQLException if an error occurs
+     * @since 1.8.0
      */
     public Object getObjectFromResultSet(String name) throws SQLException {
         return getObject(getResultSet(), name);

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java
Fri Aug 29 13:04:38 2008
@@ -224,6 +224,7 @@
      * Return the class of the underlying wrapped bean.
      *
      * @return the class of the underlying wrapped bean
+     * @since 1.8.0
      */
     protected Class getBeanClass() {
         return (Class)beanClassRef.get();

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java
Fri Aug 29 13:04:38 2008
@@ -71,6 +71,7 @@
      * if a conversion error occurs.
      *
      * @param defaultValue The default value to be returned
+     * @since 1.8.0
      */
     public AbstractArrayConverter(Object defaultValue) {
 
@@ -90,6 +91,7 @@
      * to the constructor to indicate that no default is desired. Note that
      * the value 'null' cannot be used for this purpose, as the caller may
      * want a null to be returned as the default.
+     * @since 1.8.0
      */
     public static final Object NO_DEFAULT = new Object();
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java
Fri Aug 29 13:04:38 2008
@@ -60,6 +60,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return BigDecimal.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java
Fri Aug 29 13:04:38 2008
@@ -60,6 +60,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return BigInteger.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
Fri Aug 29 13:04:38 2008
@@ -107,6 +107,7 @@
     /**
      * Type which this class converts its input to. This value can be
      * used as a parameter to the ConvertUtils.register method.
+     * @since 1.8.0
      */
     public static final Class MODEL = new boolean[0].getClass();
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java
Fri Aug 29 13:04:38 2008
@@ -102,6 +102,7 @@
      * @param falseStrings is the set of strings which should convert to the
      *  value Boolean.TRUE. The value null must not be present. Case is
      *  ignored.
+     * @since 1.8.0
      */
     public BooleanConverter(String[] trueStrings, String[] falseStrings) {
         super();
@@ -130,6 +131,7 @@
      *  expected that this value will be either Boolean.TRUE or Boolean.FALSE.
      *  The special value BooleanConverter.NO_DEFAULT can also be passed here,
      *  in which case an exception will be thrown on conversion failure.
+     * @since 1.8.0
      */
     public BooleanConverter(String[] trueStrings, String[] falseStrings, 
                 Object defaultValue) {
@@ -173,6 +175,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Boolean.class;
@@ -195,6 +198,7 @@
      *  was provided with a default value.
      *
      * @throws Throwable if an error occurs converting to the specified type
+     * @since 1.8.0
      */
     protected Object convertToType(Class type, Object value) throws Throwable {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java
Fri Aug 29 13:04:38 2008
@@ -58,6 +58,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Byte.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java
Fri Aug 29 13:04:38 2008
@@ -53,6 +53,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Character.class;
@@ -63,6 +64,7 @@
      *
      * @param value The input value to be converted
      * @return the converted String value.
+     * @since 1.8.0
      */
     protected String convertToString(Object value) {
         String strValue = value.toString();
@@ -76,6 +78,7 @@
      * @param value The input value to be converted.
      * @return The converted value.
      * @throws Exception if conversion cannot be performed successfully
+     * @since 1.8.0
      */
     protected Object convertToType(Class type, Object value) throws Exception {
         return new Character(value.toString().charAt(0));

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java
Fri Aug 29 13:04:38 2008
@@ -57,6 +57,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Class.class;
@@ -67,6 +68,7 @@
      *
      * @param value The input value to be converted
      * @return the converted String value.
+     * @since 1.8.0
      */
     protected String convertToString(Object value) {
         return (value instanceof Class) ? ((Class)value).getName() : value.toString();
@@ -79,6 +81,7 @@
      * @param value The input value to be converted.
      * @return The converted value.
      * @throws Throwable if an error occurs converting to the specified type
+     * @since 1.8.0
      */
     protected Object convertToType(Class type, Object value) throws Throwable {
         ClassLoader classLoader =

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java
Fri Aug 29 13:04:38 2008
@@ -58,6 +58,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Double.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java
Fri Aug 29 13:04:38 2008
@@ -55,6 +55,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return File.class;
@@ -67,6 +68,7 @@
      * @param value The input value to be converted.
      * @return The converted value.
      * @throws Throwable if an error occurs converting to the specified type
+     * @since 1.8.0
      */
     protected Object convertToType(Class type, Object value) throws Throwable {
         return new File(value.toString());

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java
Fri Aug 29 13:04:38 2008
@@ -58,6 +58,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Float.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java
Fri Aug 29 13:04:38 2008
@@ -58,6 +58,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Integer.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java
Fri Aug 29 13:04:38 2008
@@ -58,6 +58,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Long.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java
Fri Aug 29 13:04:38 2008
@@ -58,6 +58,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Short.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlDateConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlDateConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlDateConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlDateConverter.java
Fri Aug 29 13:04:38 2008
@@ -60,6 +60,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Date.class;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimeConverter.java
Fri Aug 29 13:04:38 2008
@@ -63,6 +63,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Time.class;
@@ -74,6 +75,7 @@
      * @param timeZone TODO
      *
      * @return The DateFormat.
+     * @since 1.8.0
      */
     protected DateFormat getFormat(Locale locale, TimeZone timeZone) {
         DateFormat format = null;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/SqlTimestampConverter.java
Fri Aug 29 13:04:38 2008
@@ -63,6 +63,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return Timestamp.class;
@@ -74,6 +75,7 @@
      * @param timeZone TODO
      *
      * @return The DateFormat.
+     * @since 1.8.0
      */
     protected DateFormat getFormat(Locale locale, TimeZone timeZone) {
         DateFormat format = null;

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java
Fri Aug 29 13:04:38 2008
@@ -69,6 +69,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return String.class;
@@ -82,6 +83,7 @@
      * @param value The input value to be converted.
      * @return The converted value.
      * @throws Throwable if an error occurs converting to the specified type
+     * @since 1.8.0
      */
     protected Object convertToType(Class type, Object value) throws Throwable {
         return value.toString();

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java
Fri Aug 29 13:04:38 2008
@@ -54,6 +54,7 @@
      * Return the default type this <code>Converter</code> handles.
      *
      * @return The default type this <code>Converter</code> handles.
+     * @since 1.8.0
      */
     protected Class getDefaultType() {
         return URL.class;
@@ -66,6 +67,7 @@
      * @param value The input value to be converted.
      * @return The converted value.
      * @throws Throwable if an error occurs converting to the specified type
+     * @since 1.8.0
      */
     protected Object convertToType(Class type, Object value) throws Throwable {
         return new URL(value.toString());

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
Fri Aug 29 13:04:38 2008
@@ -210,6 +210,7 @@
      * @exception ConversionException if conversion cannot be performed
      *  successfully
      * @throws ParseException if an error occurs parsing a String to a Number
+     * @since 1.8.0
      */
     protected Object parse(Object value, String pattern) throws ParseException {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
Fri Aug 29 13:04:38 2008
@@ -211,6 +211,7 @@
      * @exception ConversionException if conversion cannot be performed
      *  successfully
      * @throws ParseException if an error occurs parsing a String to a Number
+     * @since 1.8.0
      */
     protected Object parse(Object value, String pattern) throws ParseException {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
Fri Aug 29 13:04:38 2008
@@ -210,6 +210,7 @@
      * @exception org.apache.commons.beanutils.ConversionException if conversion
      * cannot be performed successfully
      * @throws ParseException if an error occurs parsing a String to a Number
+     * @since 1.8.0
      */
     protected Object parse(Object value, String pattern) throws ParseException {
 

Modified: commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java?rev=690380&r1=690379&r2=690380&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
(original)
+++ commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
Fri Aug 29 13:04:38 2008
@@ -210,6 +210,7 @@
      * @exception org.apache.commons.beanutils.ConversionException if conversion cannot be
performed
      *  successfully
      * @throws ParseException if an error occurs parsing a String to a Number
+     * @since 1.8.0
      */
     protected Object parse(Object value, String pattern) throws ParseException {
 



Mime
View raw message