adorsys / adorsys/XS2A-Sandbox
Incorrect comparision in BankCodeStructure#isCharacterType()
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 81
- Forks
- 44
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Method `BankCodeStructure#isCharacterType()` checks whether `IbanCharType` is numeric, while the method's name suggests it should be comparing against `a` or `c`.
```java
@JsonIgnore
public boolean isCharacterType() {
return BbanStructureEntry.EntryCharacterType.n == getType();
}
```
```java
public enum EntryCharacterType {
/** Numerical digits (0-9 only) */
n,
/** Alphabetical characters (A-Z only) */
a,
/** Combined alphabetical (uppercase) and numeric characters (A-Z and 0-9) */
c
}
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.