514cc902da64e982d105fba844edc2597287cd13
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public putBlob(putBlob Optional<PutBlobFunction>) : ReadyToBuild renamed to public blobPutter(blobPutter Optional<BlobPutter>) : ReadyToBuild in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAOBuilder.ReadyToBuild | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type putBlobFunction : PutBlobFunction to blobPutter : BlobPutter in method package ObjectStorageBlobsDAO(defaultBucketName BucketName, blobIdFactory BlobId.Factory, blobStore BlobStore, blobPutter BlobPutter, payloadCodec PayloadCodec) in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAO | From | To | |
Change Parameter Type putBlob : Optional<PutBlobFunction> to blobPutter : Optional<BlobPutter> in method public blobPutter(blobPutter Optional<BlobPutter>) : ReadyToBuild in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAOBuilder.ReadyToBuild | From | To | |
Move Method | 5 | ||
Move Method private putWithRetry(bucketName BucketName, configuration AwsS3AuthConfiguration, blob Blob, file File, tried int) : void from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage to private putWithRetry(bucketName BucketName, configuration AwsS3AuthConfiguration, blob Blob, file File, tried int) : void from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage.AwsS3BlobPutter | From | To | |
Move Method private put(bucketName BucketName, configuration AwsS3AuthConfiguration, blob Blob, file File) : void from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage to private put(bucketName BucketName, configuration AwsS3AuthConfiguration, blob Blob, file File) : void from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage.AwsS3BlobPutter | From | To | |
Move Method private getS3Client(configuration AwsS3AuthConfiguration, clientConfiguration ClientConfiguration) : AmazonS3 from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage to private getS3Client(configuration AwsS3AuthConfiguration, clientConfiguration ClientConfiguration) : AmazonS3 from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage.AwsS3BlobPutter | From | To | |
Move Method private getClientConfiguration() : ClientConfiguration from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage to private getClientConfiguration() : ClientConfiguration from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage.AwsS3BlobPutter | From | To | |
Move Method private getTransferManager(configuration AwsS3AuthConfiguration) : TransferManager from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage to private getTransferManager(configuration AwsS3AuthConfiguration) : TransferManager from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage.AwsS3BlobPutter | From | To | |
Inline Method | 2 | ||
Inline Method private save(bucketName BucketName, data InputStream, id BlobId) : Mono<BlobId> inlined to public save(bucketName BucketName, data InputStream) : Mono<BlobId> in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAO | From | To | |
Change Return Type | 3 | ||
Change Return Type Optional<PutBlobFunction> to Optional<BlobPutter> in method private putBlob(blobIdFactory BlobId.Factory, configuration ObjectStorageBlobConfiguration, awsS3ObjectStorageProvider Provider<AwsS3ObjectStorage>) : Optional<BlobPutter> in class org.apache.james.modules.objectstorage.ObjectStorageDependenciesModule | From | To | |
Change Return Type PutBlobFunction to BlobPutter in method private defaultPutBlob(blobStore BlobStore) : BlobPutter in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAOBuilder.ReadyToBuild | From | To | |
Change Return Type Optional<PutBlobFunction> to Optional<BlobPutter> in method public putBlob(configuration AwsS3AuthConfiguration) : Optional<BlobPutter> in class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage.AwsS3BlobPutter from class org.apache.james.blob.objectstorage.aws.AwsS3ObjectStorage | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.james.blob.objectstorage.PutBlobFunction renamed to org.apache.james.blob.objectstorage.BlobPutter | From | To | |
Rename Attribute | 2 | ||
Rename Attribute putBlobFunction : PutBlobFunction to blobPutter : BlobPutter in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAO | From | To | |
Rename Attribute putBlob : Optional<PutBlobFunction> to blobPutter : Optional<BlobPutter> in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAOBuilder.ReadyToBuild | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type putBlobFunction : PutBlobFunction to blobPutter : BlobPutter in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAO | From | To | |
Change Attribute Type putBlob : Optional<PutBlobFunction> to blobPutter : Optional<BlobPutter> in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAOBuilder.ReadyToBuild | From | To | |
Rename Parameter | 2 | ||
Rename Parameter putBlobFunction : PutBlobFunction to blobPutter : BlobPutter in method package ObjectStorageBlobsDAO(defaultBucketName BucketName, blobIdFactory BlobId.Factory, blobStore BlobStore, blobPutter BlobPutter, payloadCodec PayloadCodec) in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAO | From | To | |
Rename Parameter putBlob : Optional<PutBlobFunction> to blobPutter : Optional<BlobPutter> in method public blobPutter(blobPutter Optional<BlobPutter>) : ReadyToBuild in class org.apache.james.blob.objectstorage.ObjectStorageBlobsDAOBuilder.ReadyToBuild | From | To |