Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in documentation code #584

Closed
palfvin opened this issue Aug 19, 2021 · 2 comments
Closed

Error in documentation code #584

palfvin opened this issue Aug 19, 2021 · 2 comments
Assignees
Labels
in: docs An issue in Documentation or samples type: bug A general bug
Milestone

Comments

@palfvin
Copy link
Contributor

palfvin commented Aug 19, 2021

In the following example code, the body of the function is referencing context, but the parameter is ctx.

Example 13. Using an AbstractContextMapper

  public Object doMapFromContext(DirContextOperations ctx) {
     Person p = new Person();
     p.setFullName(context.getStringAttribute("cn"));
     p.setLastName(context.getStringAttribute("sn"));
     p.setDescription(context.getStringAttribute("description"));
     return p;
  }
}
@jzheaux
Copy link
Contributor

jzheaux commented Aug 19, 2021

Thanks, @palfvin! Would you be able to submit a PR to fix the documentation?

@jzheaux jzheaux self-assigned this Aug 19, 2021
@jzheaux jzheaux added this to the 2.3.5 milestone Aug 19, 2021
@jzheaux jzheaux added in: docs An issue in Documentation or samples type: bug A general bug labels Aug 19, 2021
@palfvin
Copy link
Contributor Author

palfvin commented Sep 6, 2021

PR #587 submitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: docs An issue in Documentation or samples type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants