Skip to content

Commit

Permalink
Fixed #183
Browse files Browse the repository at this point in the history
  • Loading branch information
romix committed Jan 24, 2014
1 parent 77e319f commit f9cb9ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ CachedField newCachedFieldOfGenericType (Field field, int accessIndex, Class[] f
cachedField = serializer.newMatchingCachedField(field, accessIndex, fieldClass[0], fieldGenericType, fieldGenerics);

if (fieldGenerics != null && cachedField instanceof ObjectField) {
if (fieldGenerics[0] != null) {
if (fieldGenerics.length > 0 && fieldGenerics[0] != null) {
// If any information about concrete types for generic arguments of current field's type
// was deriver, remember it.
((ObjectField)cachedField).generics = fieldGenerics;
Expand Down

0 comments on commit f9cb9ea

Please sign in to comment.