Skip to content

Commit 71fefc7

Browse files
junhyeongkim2beikov
authored andcommitted
remove unnecessary Integer.valueOf() in ShirtStringToIntegerConverter
1 parent 4365ae4 commit 71fefc7

File tree

1 file changed

+1
-1
lines changed
  • hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit

1 file changed

+1
-1
lines changed

hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit/Shirt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ else if ( attribute.equalsIgnoreCase( "Y" ) ) {
6262
@Override
6363
public String convertToEntityAttribute(Integer dbData) {
6464
if ( dbData != null ) {
65-
switch ( Integer.valueOf( dbData ) ) {
65+
switch ( dbData ) {
6666
case 1:
6767
return "X";
6868
case 2:

0 commit comments

Comments
 (0)