Skip to content

Commit

Permalink
Merge pull request #71 from denouche/master
Browse files Browse the repository at this point in the history
 #70: do not replace the .class in the package names.
  • Loading branch information
slemesle committed Jan 15, 2016
2 parents 92acb5c + 9bf6991 commit 568e030
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private void collectCustomMappers() {

for (String customMapper : customClasses) {

final TypeElement element = context.elements.getTypeElement(customMapper.replace(".class", ""));
final TypeElement element = context.elements.getTypeElement(customMapper.replaceAll("\\.class$", ""));

mappingMethodCount += collectCustomMethods(element, false);

Expand Down

0 comments on commit 568e030

Please sign in to comment.