Skip to content

Commit

Permalink
HHH-7887 - use JandexHelper.getEnumValue to get a enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
stliu committed Dec 21, 2012
1 parent 44994c4 commit ad6f5ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ private OnDeleteAction determineOnDeleteAction() {
HibernateDotNames.ON_DELETE
);
if ( onDeleteAnnotation != null ) {
action = JandexHelper.getValue( onDeleteAnnotation, "action", OnDeleteAction.class );
action = JandexHelper.getEnumValue( onDeleteAnnotation, "action", OnDeleteAction.class );
}
return action;
}
Expand Down

0 comments on commit ad6f5ae

Please sign in to comment.