You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
}
The text was updated successfully, but these errors were encountered:
In the following example code, the body of the function is referencing
context
, but the parameter isctx
.Example 13. Using an AbstractContextMapper
The text was updated successfully, but these errors were encountered: