name geändert damit Spring das erkennt

This commit is contained in:
Technoir committed 2026-10-12 14:02:09 +02:00
1 parent fe1f9fdfd9
commit d94dec9062
1 file changed
+1 -1
@@ -12,7 +12,7 @@ public record ShoppingItemPostDTO(String itemName,
UUID listID){
@AssertTrue(message = "itemName and itemAmount cant both be blank!")
private boolean atleastOneNotBlank(){
private boolean isAtleastOneNotBlank(){
boolean n = itemName != null && !itemName.isBlank();
boolean a = itemAmount != null && !itemAmount.isBlank();
return n || a;