HHH-7650 JandexHelper cannot handle Class default values

This commit is contained in:
brmeyer 2012-09-28 00:25:27 -04:00
parent 1e8e1718cb
commit 9914b17010
1 changed files with 2 additions and 2 deletions

View File

@ -363,11 +363,11 @@ public class JandexHelper {
if ( val != null ) {
// Annotation parameters of type Class are handled using Strings
if ( val instanceof Class ) {
val = ( ( Class ) val).getName();
val = ( ( Class ) val ).getName();
}
}
DEFAULT_VALUES_BY_ELEMENT.put( fqElement, val );
return val == null ? null : val;
return val;
}
catch ( RuntimeException error ) {
throw error;