> @@ -45,6 +44,7 @@ > private final BlobToObject blob2Object; > private final MultipartUploadSlicingAlgorithm algorithm; > private final PayloadSlicer slicer; > + private final MultipartNamingStrategy namingStrategy = new > MultipartNamingStrategy();
It should be pretty straightforward. Just annotate the `MultipartNamingStrategy` as `@Singleton`, as it does not have state and it seems like a good singleton candidate, and add it as a parameter to this class constructor. That's it! :) You can also consider extracting an interface, and annotate it with the `@ImplementedBy` annotation pointing to the default implementation, but given that currently there is only one, I don't think this is necessary. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/427/files#r14428579
