Fixed trivial raw type assignments
This commit is contained in:
parent
56c88f910e
commit
39cb8a895b
|
@ -428,7 +428,7 @@ public abstract class ClientState extends State {
|
|||
* The MessageHandler method getJAXBElement() cannot be used here because of the difference in the
|
||||
* class name (DCEVPowerDeliveryParameter) and the name in the XSD (DC_EVPowerDeliveryParameter)
|
||||
*/
|
||||
JAXBElement jaxbDcEvPowerDeliveryParameter = new JAXBElement(new QName("urn:iso:15118:2:2013:MsgDataTypes", "DC_EVPowerDeliveryParameter"),
|
||||
JAXBElement<DCEVPowerDeliveryParameterType> jaxbDcEvPowerDeliveryParameter = new JAXBElement<>(new QName("urn:iso:15118:2:2013:MsgDataTypes", "DC_EVPowerDeliveryParameter"),
|
||||
DCEVPowerDeliveryParameterType.class,
|
||||
((IDCEVController) getCommSessionContext().getEvController()).getEVPowerDeliveryParameter());
|
||||
powerDeliveryReq.setEVPowerDeliveryParameter(jaxbDcEvPowerDeliveryParameter);
|
||||
|
|
|
@ -147,7 +147,7 @@ public class WaitForMeteringReceiptReq extends ServerState {
|
|||
* The MessageHandler method getJAXBElement() cannot be used here because of the difference in the
|
||||
* class name (ACEVSEStatus) and the name in the XSD (AC_EVSEStatus)
|
||||
*/
|
||||
JAXBElement jaxbEVSEStatus = new JAXBElement(new QName("urn:iso:15118:2:2013:MsgDataTypes", "AC_EVSEStatus"),
|
||||
JAXBElement<ACEVSEStatusType> jaxbEVSEStatus = new JAXBElement<>(new QName("urn:iso:15118:2:2013:MsgDataTypes", "AC_EVSEStatus"),
|
||||
ACEVSEStatusType.class,
|
||||
getCommSessionContext().getACEvseController().getACEVSEStatus(EVSENotificationType.NONE));
|
||||
meteringReceiptRes.setEVSEStatus(jaxbEVSEStatus);
|
||||
|
@ -156,7 +156,7 @@ public class WaitForMeteringReceiptReq extends ServerState {
|
|||
* The MessageHandler method getJAXBElement() cannot be used here because of the difference in the
|
||||
* class name (DCEVSEStatus) and the name in the XSD (DC_EVSEStatus)
|
||||
*/
|
||||
JAXBElement jaxbACEVSEStatus = new JAXBElement(new QName("urn:iso:15118:2:2013:MsgDataTypes", "DC_EVSEStatus"),
|
||||
JAXBElement<DCEVSEStatusType> jaxbACEVSEStatus = new JAXBElement<>(new QName("urn:iso:15118:2:2013:MsgDataTypes", "DC_EVSEStatus"),
|
||||
DCEVSEStatusType.class,
|
||||
getCommSessionContext().getDCEvseController().getDCEVSEStatus(EVSENotificationType.NONE));
|
||||
meteringReceiptRes.setEVSEStatus(jaxbACEVSEStatus);
|
||||
|
|
|
@ -180,7 +180,7 @@ public class WaitForPowerDeliveryReq extends ServerState {
|
|||
* The MiscUtils method getJAXBElement() cannot be used here because of the difference in the
|
||||
* class name (ACEVSEStatus) and the name in the XSD (AC_EVSEStatus)
|
||||
*/
|
||||
JAXBElement jaxbEVSEStatus = new JAXBElement(new QName("urn:iso:15118:2:2013:MsgDataTypes", "AC_EVSEStatus"),
|
||||
JAXBElement<ACEVSEStatusType> jaxbEVSEStatus = new JAXBElement<>(new QName("urn:iso:15118:2:2013:MsgDataTypes", "AC_EVSEStatus"),
|
||||
ACEVSEStatusType.class,
|
||||
getCommSessionContext().getACEvseController().getACEVSEStatus(EVSENotificationType.NONE));
|
||||
powerDeliveryRes.setEVSEStatus(jaxbEVSEStatus);
|
||||
|
@ -189,7 +189,7 @@ public class WaitForPowerDeliveryReq extends ServerState {
|
|||
* The MiscUtils method getJAXBElement() cannot be used here because of the difference in the
|
||||
* class name (DCEVSEStatus) and the name in the XSD (DC_EVSEStatus)
|
||||
*/
|
||||
JAXBElement jaxbACEVSEStatus = new JAXBElement(new QName("urn:iso:15118:2:2013:MsgDataTypes", "DC_EVSEStatus"),
|
||||
JAXBElement<DCEVSEStatusType> jaxbACEVSEStatus = new JAXBElement<>(new QName("urn:iso:15118:2:2013:MsgDataTypes", "DC_EVSEStatus"),
|
||||
DCEVSEStatusType.class,
|
||||
getCommSessionContext().getDCEvseController().getDCEVSEStatus(EVSENotificationType.NONE));
|
||||
powerDeliveryRes.setEVSEStatus(jaxbACEVSEStatus);
|
||||
|
|
Loading…
Reference in New Issue