Skip to content

Conversation

@VampireAchao
Copy link
Contributor

replace stream().forEach() to forEach()

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.
}
List<String> subTagIds = relationMap.get(id);
subTagIds.stream().forEach(tagId -> {
subTagIds.forEach(tagId -> {
Copy link
Contributor

Choose a reason for hiding this comment

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

ensure that subTagIds is not null to avoid a NullPointerException.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants