Skip to content

Commit

Permalink
fix currency NotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
vananiev committed May 4, 2023
1 parent 47fcad7 commit 192a1d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class SecurityEventCashFlow {

@Builder.Default
@Schema(description = "Валюта", example = "RUB", defaultValue = "RUB", nullable = true)
private final @Nullable String currency = "RUR";
private final String currency = "RUR";

/**
* Checks DB unique index constraint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class TransactionCashFlow {

@Builder.Default
@Schema(description = "Валюта", example = "RUB", defaultValue = "RUB", nullable = true)
private final @Nullable String currency = "RUB";
private final String currency = "RUB";

@EqualsAndHashCode.Include
@SuppressWarnings({"nullness", "ConstantConditions", "ReturnOfNull", "unused"})
Expand Down

0 comments on commit 192a1d8

Please sign in to comment.