Skip to content

Commit

Permalink
BugID: 1253 Flusso ordinativi BNL - Modifiche per generare xml
Browse files Browse the repository at this point in the history
  • Loading branch information
rpucciarelli committed Oct 28, 2015
1 parent 3027e75 commit fc2d712
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -351,7 +351,7 @@ public void validate(OggettoBulk parent) throws ValidationException {
if(this.getCodice_swift()==null)
throw new ValidationException("Il codice swift è obbligatorio.");

if (this.getCodice_swift().length()<8 || this.getCodice_swift().length()>11)
if (this.getCodice_swift()!=null && this.getCodice_swift().length()<8 || this.getCodice_swift().length()>11)
throw new ValidationException("Formato del codice bic non valido.");
}
}
Expand Down

0 comments on commit fc2d712

Please sign in to comment.