Upgrade JiBX (and BCEL) towards support of 1.8 bytecode level
Issue: SPR-10423
This commit is contained in:
@@ -17,11 +17,10 @@
|
||||
package org.springframework.oxm.jibx;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class Flights {
|
||||
|
||||
protected List<FlightType> flightList = new ArrayList<FlightType>();
|
||||
protected ArrayList<FlightType> flightList = new ArrayList<FlightType>();
|
||||
|
||||
public void addFlight(FlightType flight) {
|
||||
flightList.add(flight);
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<binding>
|
||||
<mapping name="flights" class="org.springframework.oxm.jibx.Flights">
|
||||
<namespace uri="http://samples.springframework.org/flight" default="elements"/>
|
||||
<namespace uri="http://www.springframework.org/flight" default="elements"/>
|
||||
<collection field="flightList">
|
||||
<structure map-as="org.springframework.oxm.jibx.FlightType"/>
|
||||
</collection>
|
||||
</mapping>
|
||||
<mapping name="flight" class="org.springframework.oxm.jibx.FlightType">
|
||||
<namespace uri="http://samples.springframework.org/flight" default="elements"/>
|
||||
<namespace uri="http://www.springframework.org/flight" default="elements"/>
|
||||
<value name="airline" field="airline" usage="optional"/>
|
||||
<value name="number" field="number" usage="required"/>
|
||||
</mapping>
|
||||
|
||||
Reference in New Issue
Block a user