ZUGFeRD / mustangproject

Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)
http://www.mustangproject.org
Apache License 2.0
234 stars 132 forks source link

Build problem IBAN/mandate not initialized #571

Open janrosendahl opened 1 day ago

janrosendahl commented 1 day ago

In DirectDebit.java the static final variables IBAN and mandate have to be initialized in the default constructor, otherwise build stops with error (Variable 'IBAN'/.. might not have been initialized..)

/**
* bean constructor
*/
public DirectDebit() {
  this.IBAN = "";        // added to fix not inititalized
  this.mandate = ""; // added to fix not inititalized
}