-
Notifications
You must be signed in to change notification settings - Fork 17
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
Replace Deprecated Calls #25
base: main
Are you sure you want to change the base?
Conversation
Here's the snippit from
Any suggestions? |
@SethSmucker I honestly do not see a way around it as the compact() method ends up calling the toJson method and we need to supply our own object mapper. This one we may need to leave as is. BTW, this is NOT an accumulo class. |
OH WAIT! I see how to do this. You can create a "Serializer<Map<String,?>> serializer" that wraps the object mapper to do the json serialization. Then add it when building using the serializeToJsonWIth(serializer). That way you can get rid of the custom implementation and just use the default one directly. |
Replace several straightforward deprecated calls with their suggested replacements.
part of NationalSecurityAgency/datawave#2443