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

Replace Deprecated Calls #10

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

SethSmucker
Copy link
Collaborator

Replace several straightforward deprecated calls with their suggested replacements.

part of NationalSecurityAgency/datawave#2443

@SethSmucker SethSmucker self-assigned this Sep 27, 2024
@@ -292,7 +293,7 @@ protected Future<ResponseEntity<String>> execute(DatawaveUserDetails authUser, S
private ObjectMapper createJSONObjectMapper() {
ObjectMapper mapper = new ObjectMapper();
mapper.registerModule(new JaxbAnnotationModule());
mapper.configure(MapperFeature.USE_WRAPPER_NAME_AS_PROPERTY_NAME, true);
JsonMapper.builder().configure(MapperFeature.USE_WRAPPER_NAME_AS_PROPERTY_NAME, true);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this configure the ObjectMapper ?

@SethSmucker SethSmucker force-pushed the task/replace-deprecated-calls branch from cec9e08 to 80d3948 Compare October 7, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants