remove unnecessary Integer.valueOf() in ShirtStringToIntegerConverter
This commit is contained in:
parent
4365ae4929
commit
71fefc7220
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue