DATACMNS-1755 - Fix array style.

Update `ClassGeneratingPropertyAccessorFactoryDatatypeTests` to use
the more common `String[] var` array style.

Original pull request: #448.
This commit is contained in:
Phillip Webb
2020-05-21 15:41:22 -07:00
committed by Mark Paluch
parent 32826eec05
commit 5c3bb895c7

View File

@@ -149,47 +149,47 @@ public class ClassGeneratingPropertyAccessorFactoryDatatypeTests {
public static class FieldAccess { public static class FieldAccess {
int primitiveInteger; int primitiveInteger;
int primitiveIntegerArray[]; int[] primitiveIntegerArray;
Integer boxedInteger; Integer boxedInteger;
Integer boxedIntegerArray[]; Integer[] boxedIntegerArray;
short primitiveShort; short primitiveShort;
short primitiveShortArray[]; short[] primitiveShortArray;
Short boxedShort; Short boxedShort;
Short boxedShortArray[]; Short[] boxedShortArray;
byte primitiveByte; byte primitiveByte;
byte primitiveByteArray[]; byte[] primitiveByteArray;
Byte boxedByte; Byte boxedByte;
Byte boxedByteArray[]; Byte[] boxedByteArray;
char primitiveChar; char primitiveChar;
char primitiveCharArray[]; char[] primitiveCharArray;
Character boxedChar; Character boxedChar;
Character boxedCharArray[]; Character[] boxedCharArray;
boolean primitiveBoolean; boolean primitiveBoolean;
boolean primitiveBooleanArray[]; boolean[] primitiveBooleanArray;
Boolean boxedBoolean; Boolean boxedBoolean;
Boolean boxedBooleanArray[]; Boolean[] boxedBooleanArray;
float primitiveFloat; float primitiveFloat;
float primitiveFloatArray[]; float[] primitiveFloatArray;
Float boxedFloat; Float boxedFloat;
Float boxedFloatArray[]; Float[] boxedFloatArray;
double primitiveDouble; double primitiveDouble;
double primitiveDoubleArray[]; double[] primitiveDoubleArray;
Double boxedDouble; Double boxedDouble;
Double boxedDoubleArray[]; Double[] boxedDoubleArray;
long primitiveLong; long primitiveLong;
long primitiveLongArray[]; long[] primitiveLongArray;
Long boxedLong; Long boxedLong;
Long boxedLongArray[]; Long[] boxedLongArray;
String string; String string;
String stringArray[]; String[] stringArray;
} }
// DATACMNS-809 // DATACMNS-809
@@ -198,47 +198,47 @@ public class ClassGeneratingPropertyAccessorFactoryDatatypeTests {
public static class PropertyAccess { public static class PropertyAccess {
int primitiveInteger; int primitiveInteger;
int primitiveIntegerArray[]; int[] primitiveIntegerArray;
Integer boxedInteger; Integer boxedInteger;
Integer boxedIntegerArray[]; Integer[] boxedIntegerArray;
short primitiveShort; short primitiveShort;
short primitiveShortArray[]; short[] primitiveShortArray;
Short boxedShort; Short boxedShort;
Short boxedShortArray[]; Short[] boxedShortArray;
byte primitiveByte; byte primitiveByte;
byte primitiveByteArray[]; byte[] primitiveByteArray;
Byte boxedByte; Byte boxedByte;
Byte boxedByteArray[]; Byte[] boxedByteArray;
char primitiveChar; char primitiveChar;
char primitiveCharArray[]; char[] primitiveCharArray;
Character boxedChar; Character boxedChar;
Character boxedCharArray[]; Character[] boxedCharArray;
boolean primitiveBoolean; boolean primitiveBoolean;
boolean primitiveBooleanArray[]; boolean[] primitiveBooleanArray;
Boolean boxedBoolean; Boolean boxedBoolean;
Boolean boxedBooleanArray[]; Boolean[] boxedBooleanArray;
float primitiveFloat; float primitiveFloat;
float primitiveFloatArray[]; float[] primitiveFloatArray;
Float boxedFloat; Float boxedFloat;
Float boxedFloatArray[]; Float[] boxedFloatArray;
double primitiveDouble; double primitiveDouble;
double primitiveDoubleArray[]; double[] primitiveDoubleArray;
Double boxedDouble; Double boxedDouble;
Double boxedDoubleArray[]; Double[] boxedDoubleArray;
long primitiveLong; long primitiveLong;
long primitiveLongArray[]; long[] primitiveLongArray;
Long boxedLong; Long boxedLong;
Long boxedLongArray[]; Long[] boxedLongArray;
String string; String string;
String stringArray[]; String[] stringArray;
} }
// DATACMNS-916 // DATACMNS-916
@@ -246,47 +246,48 @@ public class ClassGeneratingPropertyAccessorFactoryDatatypeTests {
private final static class PrivateFinalFieldAccess { private final static class PrivateFinalFieldAccess {
int primitiveInteger; int primitiveInteger;
int primitiveIntegerArray[]; int[] primitiveIntegerArray;
Integer boxedInteger; Integer boxedInteger;
Integer boxedIntegerArray[]; Integer[] boxedIntegerArray;
short primitiveShort; short primitiveShort;
short primitiveShortArray[]; short[] primitiveShortArray;
Short boxedShort; Short boxedShort;
Short boxedShortArray[]; Short[] boxedShortArray;
byte primitiveByte; byte primitiveByte;
byte primitiveByteArray[]; byte[] primitiveByteArray;
Byte boxedByte; Byte boxedByte;
Byte boxedByteArray[]; Byte[] boxedByteArray;
char primitiveChar; char primitiveChar;
char primitiveCharArray[]; char[] primitiveCharArray;
Character boxedChar; Character boxedChar;
Character boxedCharArray[]; Character[] boxedCharArray;
boolean primitiveBoolean; boolean primitiveBoolean;
boolean primitiveBooleanArray[]; boolean[] primitiveBooleanArray;
Boolean boxedBoolean; Boolean boxedBoolean;
Boolean boxedBooleanArray[]; Boolean[] boxedBooleanArray;
float primitiveFloat; float primitiveFloat;
float primitiveFloatArray[]; float[] primitiveFloatArray;
Float boxedFloat; Float boxedFloat;
Float boxedFloatArray[]; Float[] boxedFloatArray;
double primitiveDouble; double primitiveDouble;
double primitiveDoubleArray[]; double[] primitiveDoubleArray;
Double boxedDouble; Double boxedDouble;
Double boxedDoubleArray[]; Double[] boxedDoubleArray;
long primitiveLong; long primitiveLong;
long primitiveLongArray[]; long[] primitiveLongArray;
Long boxedLong; Long boxedLong;
Long boxedLongArray[]; Long[] boxedLongArray;
String string; String string;
String stringArray[]; String[] stringArray;
} }
// DATACMNS-916 // DATACMNS-916
@@ -295,46 +296,47 @@ public class ClassGeneratingPropertyAccessorFactoryDatatypeTests {
private final static class PrivateFinalPropertyAccess { private final static class PrivateFinalPropertyAccess {
int primitiveInteger; int primitiveInteger;
int primitiveIntegerArray[]; int[] primitiveIntegerArray;
Integer boxedInteger; Integer boxedInteger;
Integer boxedIntegerArray[]; Integer[] boxedIntegerArray;
short primitiveShort; short primitiveShort;
short primitiveShortArray[]; short[] primitiveShortArray;
Short boxedShort; Short boxedShort;
Short boxedShortArray[]; Short[] boxedShortArray;
byte primitiveByte; byte primitiveByte;
byte primitiveByteArray[]; byte[] primitiveByteArray;
Byte boxedByte; Byte boxedByte;
Byte boxedByteArray[]; Byte[] boxedByteArray;
char primitiveChar; char primitiveChar;
char primitiveCharArray[]; char[] primitiveCharArray;
Character boxedChar; Character boxedChar;
Character boxedCharArray[]; Character[] boxedCharArray;
boolean primitiveBoolean; boolean primitiveBoolean;
boolean primitiveBooleanArray[]; boolean[] primitiveBooleanArray;
Boolean boxedBoolean; Boolean boxedBoolean;
Boolean boxedBooleanArray[]; Boolean[] boxedBooleanArray;
float primitiveFloat; float primitiveFloat;
float primitiveFloatArray[]; float[] primitiveFloatArray;
Float boxedFloat; Float boxedFloat;
Float boxedFloatArray[]; Float[] boxedFloatArray;
double primitiveDouble; double primitiveDouble;
double primitiveDoubleArray[]; double[] primitiveDoubleArray;
Double boxedDouble; Double boxedDouble;
Double boxedDoubleArray[]; Double[] boxedDoubleArray;
long primitiveLong; long primitiveLong;
long primitiveLongArray[]; long[] primitiveLongArray;
Long boxedLong; Long boxedLong;
Long boxedLongArray[]; Long[] boxedLongArray;
String string; String string;
String stringArray[]; String[] stringArray;
} }
} }