79381558

Date: 2025-01-23 15:03:05
Score: 0.5
Natty:
Report link

If you are using Lombok, try removing @Data annotation from that class.

In your case from EmployeeDTO. And put @Getter and @Setter annotations after you remove @Data.

Should look like this:

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor(force = true)
public class EmployeeDTO {

  @Singular
  private final List<PhoneDTO> phones;

}
Reasons:
  • Whitelisted phrase (-1): In your case
  • Has code block (-0.5):
  • User mentioned (1): @Data
  • User mentioned (0): @Getter
  • User mentioned (0): @Setter
  • User mentioned (0): @Data
  • Low reputation (1):
Posted by: Filip