remove unnecessary Integer.valueOf() in ShirtStringToIntegerConverter
This commit is contained in:
parent
4365ae4929
commit
71fefc7220
|
@ -62,7 +62,7 @@ public class Shirt {
|
|||
@Override
|
||||
public String convertToEntityAttribute(Integer dbData) {
|
||||
if ( dbData != null ) {
|
||||
switch ( Integer.valueOf( dbData ) ) {
|
||||
switch ( dbData ) {
|
||||
case 1:
|
||||
return "X";
|
||||
case 2:
|
||||
|
|
Loading…
Reference in New Issue