Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Commit

Permalink
Upgrade a deprecated method to new(er) one
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 18, 2013
1 parent 759a599 commit c9cdfec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ public ObjectIdInfo findObjectIdInfo(Annotated ann)
*/
Class<?> scope = Object.class; // alternatively would use 'ac.getRawType()'
// and we will assume that there exists property thus named...
return new ObjectIdInfo(idPropName.getSimpleName(), scope, ObjectIdGenerators.PropertyGenerator.class);
return new ObjectIdInfo(idPropName,
scope, ObjectIdGenerators.PropertyGenerator.class);
}

return null;
Expand Down

0 comments on commit c9cdfec

Please sign in to comment.