> + * JdbcStorageStrategy implements a blob store that stores objects
> + * on a jdbc supported database. Content metadata and user attributes are
> stored in
> + * the database as well.
> + */
> +public class JdbcStorageStrategy implements LocalStorageStrategy {
> +
> + @Resource
> + protected Logger logger = Logger.NULL;
> +
> + protected final Provider<BlobBuilder> blobBuilders;
> + protected final ContainerRepository containerRepository;
> + protected final JdbcContainerNameValidator jdbcContainerNameValidator;
> + protected final JdbcBlobKeyValidator jdbcBlobKeyValidator;
> +
> + @Inject
> + protected JdbcStorageStrategy(Provider<BlobBuilder> blobBuilders,
Remove the `protected` modifier, so you know the constructor is only called by
the injector. Then you can safely remove all redundant `checkNotNull` checks.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/173/files#r29934363