Small cleanup

This commit is contained in:
Oliver Burn 2003-03-29 02:48:36 +00:00
parent 1781e78175
commit 80da4bb9ba
1 changed files with 10 additions and 10 deletions

View File

@ -53,7 +53,8 @@ import java.beans.PropertyDescriptor;
* calling the bean's setters for all configration attributes.
* @author lkuehne
*/
public class AutomaticBean implements Configurable, Contextualizable
public class AutomaticBean
implements Configurable, Contextualizable
{
static {
initConverters();
@ -71,15 +72,14 @@ public class AutomaticBean implements Configurable, Contextualizable
// with different converters we would really be stuck here.
// Having to configure a static utility class in this way is really
// strange, it seems like a design problem in BeanUtils
boolean[] booleanArray = new boolean[0];
byte[] byteArray = new byte[0];
char[] charArray = new char[0];
double[] doubleArray = new double[0];
float[] floatArray = new float[0];
int[] intArray = new int[0];
long[] longArray = new long[0];
short[] shortArray = new short[0];
final boolean[] booleanArray = new boolean[0];
final byte[] byteArray = new byte[0];
final char[] charArray = new char[0];
final double[] doubleArray = new double[0];
final float[] floatArray = new float[0];
final int[] intArray = new int[0];
final long[] longArray = new long[0];
final short[] shortArray = new short[0];
ConvertUtils.register(new BooleanConverter(), Boolean.TYPE);
ConvertUtils.register(new BooleanConverter(), Boolean.class);