@@ -389,7 +389,7 @@ protected void initializeGroup(GroupConfig config) throws BeanIOConfigurationExc
389
389
390
390
protected void initializeGroupIteration (GroupConfig config , Property property ) {
391
391
// wrap the segment in an iteration
392
- Component aggregation = createRecordAggregation (config , property );
392
+ Component aggregation = createRecordAggregation (config );
393
393
394
394
pushParser (aggregation );
395
395
if (property != null || config .getTarget () != null ) {
@@ -474,7 +474,7 @@ protected void initializeRecord(RecordConfig config) throws BeanIOConfigurationE
474
474
475
475
protected void initializeRecordIteration (RecordConfig config , Property property ) {
476
476
// wrap the segment in an iteration
477
- Component collection = createRecordAggregation (config , property );
477
+ Component collection = createRecordAggregation (config );
478
478
479
479
pushParser (collection );
480
480
if (property != null || config .getTarget () != null ) {
@@ -586,7 +586,7 @@ protected void finalizeRecord(RecordConfig config, Record record) {
586
586
587
587
}
588
588
589
- private Property findTarget (Component segment , String name ) {
589
+ private static Property findTarget (Component segment , String name ) {
590
590
Component c = findDescendant ("value" , segment , name );
591
591
if (c == null ) {
592
592
throw new BeanIOConfigurationException ("Descendant value '" + name + "' not found" );
@@ -602,7 +602,7 @@ private Property findTarget(Component segment, String name) {
602
602
return property ;
603
603
}
604
604
605
- private Component findDescendant (String type , Component c , String name ) {
605
+ private static Component findDescendant (String type , Component c , String name ) {
606
606
if (name .equals (c .getName ())) {
607
607
return c ;
608
608
}
@@ -1024,7 +1024,7 @@ else if (arrayType == null) {
1024
1024
* @return the created {@link RecordAggregation}
1025
1025
* @throws BeanIOConfigurationException
1026
1026
*/
1027
- protected RecordAggregation createRecordAggregation (PropertyConfig config , Property property )
1027
+ protected RecordAggregation createRecordAggregation (PropertyConfig config )
1028
1028
throws BeanIOConfigurationException
1029
1029
{
1030
1030
boolean isMap = false ;
@@ -1049,7 +1049,7 @@ protected RecordAggregation createRecordAggregation(PropertyConfig config, Prope
1049
1049
}
1050
1050
1051
1051
// create the appropriate iteration type
1052
- RecordAggregation aggregation ;;
1052
+ RecordAggregation aggregation ;
1053
1053
if (collectionType == TypeUtil .ARRAY_TYPE ) {
1054
1054
aggregation = new RecordArray ();
1055
1055
}
0 commit comments