79191489

Date: 2024-11-15 08:00:41
Score: 0.5
Natty:
Report link

Use Map instead of HashMap in your class:

@Getter
@Setter
@DynamoDbBean
public class UserOrders {

    private String userId;

    private Map<String, Double> orders;

    @DynamoDbPartitionKey
    public String getUserId() {
        return userId;
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Martin Husted Hartvig