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 Methods #19

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

Conversation

SethSmucker
Copy link
Collaborator

Replace several straightforward deprecated calls with their suggested replacements.

part of NationalSecurityAgency/datawave#2443

@@ -127,7 +128,7 @@ public void setup() throws Exception {

// Copy replay files before each test
File dataDir = new File("src/test/resources/data");
for (File file : dataDir.listFiles())
for (File file : Objects.requireNonNull(dataDir.listFiles()))
Copy link
Collaborator

Choose a reason for hiding this comment

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

What deprecation is this solving?

@SethSmucker SethSmucker reopened this Jan 21, 2025
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.

2 participants