commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r555824 [2/3] - in /jakarta/commons/proper/beanutils/trunk: ./ optional/bean-collections/src/java/ optional/bean-collections/src/java/org/apache/commons/beanutils/ src/java/ src/java/org/apache/commons/beanutils/ src/java/org/apache/commons...
Date Fri, 13 Jul 2007 00:27:20 GMT
Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaBean.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaBean.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaBean.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaBean.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils;
@@ -91,6 +91,8 @@
      *
      * @param name Name of the property to check
      * @param key Name of the key to check
+     * @return <code>true<code> if the mapped property contains a value for
+     * the specified key, otherwise <code>false</code>
      *
      * @exception IllegalArgumentException if there is no property
      *  of the specified name
@@ -107,6 +109,7 @@
      * Return the value of a simple property with the specified name.
      *
      * @param name Name of the property whose value is to be retrieved
+     * @return The property's value
      *
      * @exception IllegalArgumentException if there is no property
      *  of the specified name
@@ -136,6 +139,7 @@
      *
      * @param name Name of the property whose value is to be retrieved
      * @param index Index of the value to be retrieved
+     * @return The indexed property's value
      *
      * @exception IllegalArgumentException if there is no property
      *  of the specified name
@@ -174,6 +178,7 @@
      *
      * @param name Name of the property whose value is to be retrieved
      * @param key Key of the value to be retrieved
+     * @return The mapped property's value
      *
      * @exception IllegalArgumentException if there is no property
      *  of the specified name
@@ -203,6 +208,7 @@
     /**
      * Return the <code>DynaClass</code> instance that describes the set of
      * properties available for this DynaBean.
+     * @return The associated DynaClass
      */
     public DynaClass getDynaClass() {
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/WrapDynaClass.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils;
 
@@ -108,7 +108,7 @@
     // ------------------------------------------------------- Static Variables
 
 
-    private static final ContextClassLoaderLocal wrapDynaClassesByClassLoader = 
+    private static final ContextClassLoaderLocal CLASSLOADER_CACHE = 
         new ContextClassLoaderLocal() {
             protected Object initialValue() {
                 return new WeakHashMap();
@@ -119,7 +119,7 @@
      * Get the wrap dyna classes cache
      */
     private static Map getDynaClassesMap() {
-        return (Map)wrapDynaClassesByClassLoader.get();
+        return (Map)CLASSLOADER_CACHE.get();
     }
 
     /**
@@ -148,7 +148,7 @@
      * 
      * 1) Memory Issues: The static HashMap caused memory problems (See BEANUTILS-59)
      *    to resolve this it has been moved into a ContextClassLoaderLocal instance
-     *    (named wrapDynaClassesByClassLoader above) which holds one copy per
+     *    (named CLASSLOADER_CACHE above) which holds one copy per
      *    ClassLoader in a WeakHashMap.
      * 
      * 2) Binary Compatibility: As the "dynaClasses" static HashMap is "protected"
@@ -212,6 +212,8 @@
      * <code>getName()</code> method of <code>java.lang.Class</code), which
      * allows the same <code>DynaClass</code> implementation class to support
      * different dynamic classes, with different sets of properties.
+     *
+     * @return the name of the DynaClass
      */
     public String getName() {
 
@@ -226,6 +228,7 @@
      *
      * @param name Name of the dynamic property for which a descriptor
      *  is requested
+     * @return The descriptor for the specified property
      *
      * @exception IllegalArgumentException if no property name is specified
      */
@@ -248,6 +251,8 @@
      * <p><strong>FIXME</strong> - Should we really be implementing
      * <code>getBeanInfo()</code> instead, which returns property descriptors
      * and a bunch of other stuff?</p>
+     *
+     * @return the set of properties for this DynaClass
      */
     public DynaProperty[] getDynaProperties() {
 
@@ -274,6 +279,7 @@
      * (This method is needed for some kinds of <code>DynaBean</code> framework.)
      * </p>
      *
+     * @return A new <code>DynaBean</code> instance
      * @exception IllegalAccessException if the Class or the appropriate
      *  constructor is not accessible
      * @exception InstantiationException if this Class represents an abstract

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -124,6 +124,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
+     * @return The converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -148,6 +149,7 @@
      * </ul>
      *
      * @param svalue String value to be parsed
+     * @return The parsed list of String values
      *
      * @exception ConversionException if the syntax of <code>svalue</code>
      *  is not syntactically valid

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/AbstractConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.lang.reflect.Array;
@@ -61,7 +61,7 @@
     /**
      * Logging for this instance.
      */
-    private transient Log _log;
+    private transient Log log;
 
     /**
      * The default type this <code>Converter</code> handles.
@@ -403,10 +403,10 @@
      * @return The Log instance.
      */
     Log log() {
-        if (_log == null) {
-            _log = LogFactory.getLog(getClass());
+        if (log == null) {
+            log = LogFactory.getLog(getClass());
         }
-        return _log;
+        return log;
     }
 
     /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.util.Collections;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigDecimalConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.math.BigDecimal;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BigIntegerConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.math.BigInteger;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -57,7 +57,7 @@
     public BooleanArrayConverter() {
 
         super();
-        this.booleanConverter = dfltBooleanConverter;
+        this.booleanConverter = DEFAULT_CONVERTER;
 
     }
 
@@ -74,7 +74,7 @@
     public BooleanArrayConverter(Object defaultValue) {
 
         super(defaultValue);
-        this.booleanConverter = dfltBooleanConverter;
+        this.booleanConverter = DEFAULT_CONVERTER;
 
     }
 
@@ -116,7 +116,7 @@
      * do individual string->boolean conversions, unless overridden
      * in the constructor.
      */
-    private static final BooleanConverter dfltBooleanConverter
+    private static final BooleanConverter DEFAULT_CONVERTER
         = new BooleanConverter();
 
     // ---------------------------------------------------- Instance Variables

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/BooleanConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import org.apache.commons.beanutils.ConversionException;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final byte model[] = new byte[0];
+    private static final byte MODEL[] = new byte[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,7 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
-     *
+     * @return the converted value
      * @exception ConversionException if conversion cannot be performed
      *  successfully
      */
@@ -102,7 +102,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ByteConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CalendarConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CalendarConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CalendarConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CalendarConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.util.Calendar;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final char model[] = new char[0];
+    private static final char MODEL[] = new char[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,6 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
+     * @return the converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -102,7 +103,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/CharacterConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import org.apache.commons.beanutils.Converter;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ClassConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import org.apache.commons.beanutils.Converter;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.util.Date;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateTimeConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateTimeConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateTimeConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DateTimeConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.util.Date;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final double model[] = new double[0];
+    private static final double MODEL[] = new double[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,7 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
-     *
+     * @return the converted value
      * @exception ConversionException if conversion cannot be performed
      *  successfully
      */
@@ -102,7 +102,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/DoubleConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FileConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.io.File;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final float model[] = new float[0];
+    private static final float MODEL[] = new float[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,6 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
+     * @return the converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -102,7 +103,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/FloatConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final int model[] = new int[0];
+    private static final int MODEL[] = new int[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,6 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
+     * @return the converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -102,7 +103,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/IntegerConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final long model[] = new long[0];
+    private static final long MODEL[] = new long[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,6 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
+     * @return the converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -102,7 +103,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/LongConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/NumberConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/NumberConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/NumberConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/NumberConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.util.Calendar;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -74,7 +74,7 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final short model[] = new short[0];
+    private static final short MODEL[] = new short[0];
 
 
     // --------------------------------------------------------- Public Methods
@@ -86,6 +86,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input value to be converted
+     * @return the converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -102,7 +103,7 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/ShortConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 /**

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringArrayConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringArrayConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringArrayConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringArrayConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 
 package org.apache.commons.beanutils.converters;
@@ -77,12 +77,12 @@
     /**
      * <p>Model object for type comparisons.</p>
      */
-    private static final String model[] = new String[0];
+    private static final String MODEL[] = new String[0];
     
     /**
      * <p> Model object for int arrays.</p>
      */
-    private static final int ints[] = new int[0];
+    private static final int INT_MODEL[] = new int[0];
 
 
 
@@ -115,6 +115,7 @@
      * @param value is the input value to be converted. If null then the
      * default value is returned or an exception thrown if no default value
      * exists.
+     * @return the converted value
      *
      * @exception ConversionException if conversion cannot be performed
      * successfully, or the input is null and there is no default value set
@@ -132,12 +133,12 @@
         }
 
         // Deal with the no-conversion-needed case
-        if (model.getClass() == value.getClass()) {
+        if (MODEL.getClass() == value.getClass()) {
             return (value);
         }
 
         // Deal with the input value as an int array
-        if (ints.getClass() == value.getClass())
+        if (INT_MODEL.getClass() == value.getClass())
         {
             int[] values = (int[]) value;
             String[] results = new String[values.length];

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/StringConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import org.apache.commons.beanutils.Converter;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/URLConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.apache.commons.beanutils.converters;
 
 import java.net.URL;

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/package.html
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/package.html?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/package.html (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/converters/package.html Thu Jul 12 17:27:15 2007
@@ -1,3 +1,19 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
 <html>
 <head>
 <title>Package Documentation for org.apache.commons.beanutils.converters</title>

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html Thu Jul 12 17:27:15 2007
@@ -1,3 +1,19 @@
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
 <html>
 <head>
 <title>Package Documentation for org.apache.commons.beanutils.expression</title>

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.apache.commons.beanutils.locale;
 
@@ -190,6 +190,7 @@
      *
      * @param type Data type to which this value should be converted
      * @param value The input object to be converted
+     * @return The converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully
@@ -207,6 +208,7 @@
      * @param pattern is the pattern is used for the conversion; if null is
      * passed then the default pattern associated with the converter object
      * will be used.
+     * @return The converted value
      *
      * @exception ConversionException if conversion cannot be performed
      *  successfully

Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java?view=diff&rev=555824&r1=555823&r2=555824
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java Thu Jul 12 17:27:15 2007
@@ -5,15 +5,15 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
  
 package org.apache.commons.beanutils.locale;
 
@@ -51,6 +51,7 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @return the default locale
      * @see LocaleBeanUtilsBean#getDefaultLocale()
      */
     public static Locale getDefaultLocale() {
@@ -64,6 +65,7 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param locale the default locale
      * @see LocaleBeanUtilsBean#setDefaultLocale(Locale)
      */
     public static void setDefaultLocale(Locale locale) {
@@ -76,6 +78,8 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @return <code>true</code> if pattern is localized,
+     * otherwise <code>false</code>
      * @see LocaleBeanUtilsBean#getApplyLocalized()
      */
     public static boolean getApplyLocalized() {
@@ -88,6 +92,8 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param newApplyLocalized <code>true</code> if pattern is localized,
+     * otherwise <code>false</code>
      * @see LocaleBeanUtilsBean#setApplyLocalized(boolean)
      */
     public static void setApplyLocalized(boolean newApplyLocalized) {
@@ -104,6 +110,19 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name <code>propertyname[index]</code> of the property value
+     *  to be extracted
+     * @param pattern The conversion pattern
+     * @return The indexed property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String, String)
      */
     public static String getIndexedProperty(Object bean, String name, String pattern)
@@ -115,11 +134,23 @@
 
     /**
      * Return the value of the specified locale-sensitive indexed property
-     * of the specified bean, as a String using the default convertion pattern of
+     * of the specified bean, as a String using the default conversion pattern of
      * the corresponding {@link LocaleConverter}.
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name <code>propertyname[index]</code> of the property value
+     *  to be extracted
+     * @return The indexed property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String)
      */
     public static String getIndexedProperty(Object bean, String name)
@@ -131,10 +162,23 @@
 
     /**
      * <p>Return the value of the specified locale-sensetive indexed property
-     * of the specified bean, as a String using the specified convertion pattern.</p>
+     * of the specified bean, as a String using the specified conversion pattern.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Simple property name of the property value to be extracted
+     * @param index Index of the property value to be extracted
+     * @param pattern The conversion pattern
+     * @return The indexed property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String, int, String)
      */
     public static String getIndexedProperty(Object bean,
@@ -147,11 +191,23 @@
 
     /**
      * <p>Return the value of the specified locale-sensetive indexed property
-     * of the specified bean, as a String using the default convertion pattern of
+     * of the specified bean, as a String using the default conversion pattern of
      * the corresponding {@link LocaleConverter}.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Simple property name of the property value to be extracted
+     * @param index Index of the property value to be extracted
+     * @return The indexed property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getIndexedProperty(Object, String, int)
      */
     public static String getIndexedProperty(Object bean,
@@ -164,10 +220,22 @@
     /**
      * <p>Return the value of the specified simple locale-sensitive property
      * of the specified bean, converted to a String using the specified
-     * convertion pattern.</p>
+     * conversion pattern.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Name of the property to be extracted
+     * @param pattern The conversion pattern
+     * @return The property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getSimpleProperty(Object, String, String)
      */
     public static String getSimpleProperty(Object bean, String name, String pattern)
@@ -180,10 +248,21 @@
     /**
      * <p>Return the value of the specified simple locale-sensitive property
      * of the specified bean, converted to a String using the default
-     * convertion pattern of the corresponding {@link LocaleConverter}.</p>
+     * conversion pattern of the corresponding {@link LocaleConverter}.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Name of the property to be extracted
+     * @return The property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getSimpleProperty(Object, String)
      */
     public static String getSimpleProperty(Object bean, String name)
@@ -195,10 +274,23 @@
 
     /**
      * <p>Return the value of the specified mapped locale-sensitive property
-     * of the specified bean, as a String using the specified convertion pattern.</p>
+     * of the specified bean, as a String using the specified conversion pattern.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Simple property name of the property value to be extracted
+     * @param key Lookup key of the property value to be extracted
+     * @param pattern The conversion pattern
+     * @return The mapped property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getMappedProperty(Object, String, String, String)
      */
     public static String getMappedProperty(Object bean,
@@ -217,6 +309,18 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Simple property name of the property value to be extracted
+     * @param key Lookup key of the property value to be extracted
+     * @return The mapped property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getMappedProperty(Object, String, String)
      */
     public static String getMappedProperty(Object bean,
@@ -234,6 +338,19 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name <code>propertyname(index)</code> of the property value
+     *  to be extracted
+     * @param pattern The conversion pattern
+     * @return The mapped property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getMappedPropertyLocale(Object, String, String)
      */
     public static String getMappedPropertyLocale(Object bean, String name, String pattern)
@@ -247,10 +364,22 @@
     /**
      * <p>Return the value of the specified locale-sensitive mapped property
      * of the specified bean, as a String using the default
-     * convertion pattern of the corresponding {@link LocaleConverter}.</p>
+     * conversion pattern of the corresponding {@link LocaleConverter}.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name <code>propertyname(index)</code> of the property value
+     *  to be extracted
+     * @return The mapped property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getMappedProperty(Object, String)
      */
     public static String getMappedProperty(Object bean, String name)
@@ -267,6 +396,18 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Possibly nested name of the property to be extracted
+     * @param pattern The conversion pattern
+     * @return The nested property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getNestedProperty(Object, String, String)
      */
     public static String getNestedProperty(Object bean, String name, String pattern)
@@ -282,6 +423,17 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Possibly nested name of the property to be extracted
+     * @return The nested property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getNestedProperty(Object, String)
      */
     public static String getNestedProperty(Object bean, String name)
@@ -297,6 +449,19 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Possibly indexed and/or nested name of the property
+     *  to be extracted
+     * @param pattern The conversion pattern
+     * @return The nested property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getProperty(Object, String, String)
      */
     public static String getProperty(Object bean, String name, String pattern)
@@ -312,6 +477,18 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean whose property is to be extracted
+     * @param name Possibly indexed and/or nested name of the property
+     *  to be extracted
+     * @return The property's value, converted to a String
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     * @exception NoSuchMethodException if an accessor method for this
+     *  propety cannot be found
+     *
      * @see LocaleBeanUtilsBean#getProperty(Object, String)
      */
     public static String getProperty(Object bean, String name)
@@ -324,10 +501,19 @@
     /**
      * <p>Set the specified locale-sensitive property value, performing type
      * conversions as required to conform to the type of the destination property
-     * using the default convertion pattern of the corresponding {@link LocaleConverter}.</p>
+     * using the default conversion pattern of the corresponding {@link LocaleConverter}.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean on which setting is to be performed
+     * @param name Property name (can be nested/indexed/mapped/combo)
+     * @param value Value to be set
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     *
      * @see LocaleBeanUtilsBean#setProperty(Object, String, Object)
      */
     public static void setProperty(Object bean, String name, Object value)
@@ -339,10 +525,20 @@
     /**
      * <p>Set the specified locale-sensitive property value, performing type
      * conversions as required to conform to the type of the destination
-     * property using the specified convertion pattern.</p>
+     * property using the specified conversion pattern.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param bean Bean on which setting is to be performed
+     * @param name Property name (can be nested/indexed/mapped/combo)
+     * @param value Value to be set
+     * @param pattern The conversion pattern
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     *
      * @see LocaleBeanUtilsBean#setProperty(Object, String, Object, String)
      */
     public static void setProperty(Object bean, String name, Object value, String pattern)
@@ -356,6 +552,16 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param target The bean
+     * @param name The property name
+     * @param propName The Simple name of target property
+     * @return The property's type
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     *
      * @see LocaleBeanUtilsBean#definePropertyType(Object, String, String)
      */
     protected static Class definePropertyType(Object target, String name, String propName)
@@ -366,10 +572,15 @@
 
     /**
      * <p>Convert the specified value to the required type using the
-     * specified convertion pattern.</p>
+     * specified conversion pattern.</p>
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param type The Java type of target property
+     * @param index The indexed subscript value (if any)
+     * @param value The value to be converted
+     * @param pattern The conversion pattern
+     * @return The converted value
      * @see LocaleBeanUtilsBean#convert(Class, int, Object, String)
      */
     protected static Object convert(Class type, int index, Object value, String pattern) {
@@ -382,6 +593,10 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param type The Java type of target property
+     * @param index The indexed subscript value (if any)
+     * @param value The value to be converted
+     * @return The converted value
      * @see LocaleBeanUtilsBean#convert(Class, int, Object)
      */
     protected static Object convert(Class type, int index, Object value) {
@@ -394,6 +609,17 @@
      *
      * <p>For more details see <code>LocaleBeanUtilsBean</code></p>
      *
+     * @param target The bean
+     * @param propName The Simple name of target property
+     * @param key The Mapped key value (if any)
+     * @param index The indexed subscript value (if any)
+     * @param newValue The value to be set
+     *
+     * @exception IllegalAccessException if the caller does not have
+     *  access to the property accessor method
+     * @exception InvocationTargetException if the property accessor method
+     *  throws an exception
+     *
      * @see LocaleBeanUtilsBean#invokeSetter(Object, String, String, int, Object)
      */
     protected static void invokeSetter(Object target, String propName, String key, int index, Object newValue)
@@ -408,6 +634,7 @@
      * @deprecated moved into <code>LocaleBeanUtilsBean</code>
      * @param bean The bean
      * @param name The property name
+     * @return The property's descriptor
      *
      * @exception IllegalAccessException if the caller does not have
      *  access to the property accessor method
@@ -436,6 +663,15 @@
         private String key;        // Mapped key value (if any)
         private Object target;
 
+        /**
+         * Construct a descriptor instance for the target bean and property.
+         *
+         * @param target The target bean
+         * @param name The property name (includes indexed/mapped expr)
+         * @param propName The property name
+         * @param key The mapped property key (if any)
+         * @param index The indexed property index (if any)
+         */
         public Descriptor(Object target, String name, String propName, String key, int index) {
 
             setTarget(target);
@@ -445,42 +681,92 @@
             setIndex(index);
         }
 
+        /**
+         * Return the target bean.
+         *
+         * @return The descriptors target bean
+         */
         public Object getTarget() {
             return target;
         }
 
+        /**
+         * Set the target bean.
+         *
+         * @param target The target bean
+         */
         public void setTarget(Object target) {
             this.target = target;
         }
 
+        /**
+         * Return the mapped property key.
+         *
+         * @return the mapped property key (if any)
+         */
         public String getKey() {
             return key;
         }
 
+        /**
+         * Set the mapped property key.
+         *
+         * @param key The mapped property key (if any)
+         */
         public void setKey(String key) {
             this.key = key;
         }
 
+        /**
+         * Return indexed property index.
+         *
+         * @return indexed property index (if any)
+         */
         public int getIndex() {
             return index;
         }
 
+        /**
+         * Set the indexed property index.
+         *
+         * @param index The indexed property index (if any)
+         */
         public void setIndex(int index) {
             this.index = index;
         }
 
+        /**
+         * Return property name (includes indexed/mapped expr).
+         *
+         * @return The property name (includes indexed/mapped expr)
+         */
         public String getName() {
             return name;
         }
 
+        /**
+         * Set the property name (includes indexed/mapped expr).
+         *
+         * @param name The property name (includes indexed/mapped expr)
+         */
         public void setName(String name) {
             this.name = name;
         }
 
+        /**
+         * Return the property name.
+         *
+         * @return The property name
+         */
         public String getPropName() {
             return propName;
         }
 
+        /**
+         * Set the property name.
+         *
+         * @param propName The property name
+         */
         public void setPropName(String propName) {
             this.propName = propName;
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message