Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* }
*
* public AbstractBean getInnerBean2() {
* return innerBean;
* return innerBean2;
* }
* public void setInnerBean2(AbstractBean innerBean) {
* this.innerBean2 = innerBean;
Expand All @@ -62,11 +62,11 @@
*
* Map<String, AttributeValue> itemMap = beanTableSchema.itemToMap(bean, true);
*
* // innerBean1 w/ @DynamoDbIgnoreNulls does not have any attribute values because all the fields are null
* assertThat(itemMap.get("innerBean1").m(), empty());
* // innerBean1 with @DynamoDbIgnoreNulls does not have any attribute values because all the fields are null
* assertThat(itemMap.get("innerBean1").m(), anEmptyMap());
*
* // innerBean2 w/o @DynamoDbIgnoreNulls has a NULL attribute.
* assertThat(nestedBean.getInnerBean2(), hasEntry("attribute", nullAttributeValue()));
* // innerBean2 without @DynamoDbIgnoreNulls has a NULL attribute.
* assertThat(itemMap.get("innerBean2").m(), hasEntry("attribute", nullAttributeValue()));
* }
*/
@SdkPublicApi
Expand Down
Loading