remove unnecessary Integer.valueOf() in ShirtStringToIntegerConverter

This commit is contained in:
jun 2024-10-04 21:11:14 +09:00 committed by Christian Beikov
parent 4365ae4929
commit 71fefc7220
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public class Shirt {
@Override @Override
public String convertToEntityAttribute(Integer dbData) { public String convertToEntityAttribute(Integer dbData) {
if ( dbData != null ) { if ( dbData != null ) {
switch ( Integer.valueOf( dbData ) ) { switch ( dbData ) {
case 1: case 1:
return "X"; return "X";
case 2: case 2: