Skip to content

Fix incorrect assertion examples in DynamoDbIgnoreNulls Javadoc#6826

Merged
alextwoods merged 2 commits intoaws:masterfrom
CheHyeonYeong:fix/dynamodb-ignore-nulls-javadoc
Apr 3, 2026
Merged

Fix incorrect assertion examples in DynamoDbIgnoreNulls Javadoc#6826
alextwoods merged 2 commits intoaws:masterfrom
CheHyeonYeong:fix/dynamodb-ignore-nulls-javadoc

Conversation

@CheHyeonYeong
Copy link
Copy Markdown
Contributor

Summary

  • Fix empty() to anEmptyMap() for Map type checking (Hamcrest matcher issue)
  • Fix nestedBean.getInnerBean2() to itemMap.get("innerBean2").m() to correctly access the DynamoDB item map
  • Fix typo in example code: return innerBeanreturn innerBean2

Fixes #4459

Test plan

  • Verify Javadoc compiles without errors
  • Verify assertion examples are semantically correct

- Change empty() to anEmptyMap() for Map type checking
- Fix nestedBean.getInnerBean2() to itemMap.get("innerBean2").m()
- Fix typo: return innerBean -> return innerBean2

Signed-off-by: chehyeonyeong
@CheHyeonYeong CheHyeonYeong requested a review from a team as a code owner March 28, 2026 08:01
@bhoradc bhoradc added changelog-not-required Indicate changelog entry is not required for a specific PR no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required labels Apr 2, 2026
Copy link
Copy Markdown
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

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

Nice - thanks for fixing this!

@alextwoods alextwoods enabled auto-merge April 3, 2026 14:32
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 3, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
76.4% Coverage on New Code (required ≥ 80%)
3.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@alextwoods alextwoods added this pull request to the merge queue Apr 3, 2026
Merged via the queue into aws:master with commit a59a5b2 Apr 3, 2026
17 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-not-required Indicate changelog entry is not required for a specific PR no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DynamoDbIgnoreNulls example assertions are incorrect

3 participants