forked from michaellavelle/spring-data-dynamodb
-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Issue #108: Opened constructor and fixed NPE In some use cases it is required to pass in all three parameters into `DynamoDBTemplate` - therefore made the internal constructor public (that was used by all other constructors anyway) Also passing in a combination of `null`/non-`null` parameters could lead to NPEs down the road - ie. by calling `getOverrideTableName`. The constructor now initalizes all fields with non-`null` objects and does not relay on AWS constructors to pick some proper default configs.
- Loading branch information
Showing
3 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters