db3e499f5393766d248454af246a145db353a37c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 39
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package withCompatibility(st OperationStatus, isCompatibilityEnabled boolean) : OperationStatus renamed to package withLegacyStorageHint(st OperationStatus, isCompatibilityEnabled boolean) : OperationStatus in class org.infinispan.server.hotrod.OperationStatus | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type status : short to objectStorage : boolean in method public bytes2obj(marshaller Marshaller, bytes byte[], objectStorage boolean, whitelist ClassWhiteList) : T in class org.infinispan.client.hotrod.marshall.MarshallerUtil | From | To | |
Rename Variable | 2 | ||
Rename Variable pingResult : PingResult to pingResponse : PingOperation.PingResponse in method private createRemoteCache(cacheName String, forceReturnValueOverride boolean, transactionModeOverride TransactionMode, transactionManagerOverride TransactionManager) : RemoteCache<K,V> in class org.infinispan.client.hotrod.RemoteCacheManager | From | To | |
Rename Variable compatibilityEnabled : boolean to objectStorage : boolean in method private writeHeader(header HotRodHeader, server HotRodServer, alloc ByteBufAllocator, status OperationStatus, sendMediaType boolean) : ByteBuf in class org.infinispan.server.hotrod.Encoder2x | From | To | |
Change Return Type | 3 | ||
Change Return Type PingOperation.PingResult to PingOperation.PingResponse in method public resolveStorage() : PingOperation.PingResponse in class org.infinispan.client.hotrod.impl.RemoteCacheImpl | From | To | |
Change Return Type CompletableFuture<PingResult> to CompletableFuture<PingResponse> in method public execute() : CompletableFuture<PingResponse> in class org.infinispan.client.hotrod.impl.operations.PingOperation | From | To | |
Change Return Type PingOperation.PingResult to PingOperation.PingResponse in method public ping() : PingOperation.PingResponse in class org.infinispan.client.hotrod.impl.RemoteCacheImpl | From | To | |
Rename Class | 1 | ||
Rename Class org.infinispan.client.hotrod.impl.operations.PingOperation.PingResult renamed to org.infinispan.client.hotrod.impl.operations.PingOperation.PingResponse | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute status : short to isObjectStorage : boolean in method public valueToObj(bytes byte[], whitelist ClassWhiteList) : T in class org.infinispan.client.hotrod.DataFormat | From | To | |
Replace Variable With Attribute status : short to isObjectStorage : boolean in method public keyToObj(bytes byte[], whitelist ClassWhiteList) : T in class org.infinispan.client.hotrod.DataFormat | From | To | |
Extract Variable | 1 | ||
Extract Variable keyMediaType : MediaType in method private writeHeader(header HotRodHeader, server HotRodServer, alloc ByteBufAllocator, status OperationStatus, sendMediaType boolean) : ByteBuf from class org.infinispan.server.hotrod.Encoder2x | From | To | |
Change Variable Type | 5 | ||
Change Variable Type result : PingOperation.PingResult to result : PingOperation.PingResponse in method public resolveStorage() : PingOperation.PingResponse in class org.infinispan.client.hotrod.impl.RemoteCacheImpl | From | To | |
Change Variable Type pr : PingOperation.PingResult to pr : PingOperation.PingResponse in method public isAvailable() : boolean in class org.infinispan.persistence.remote.RemoteStore | From | To | |
Change Variable Type status : short to isObjectStorage : boolean in method public valueToObj(bytes byte[], whitelist ClassWhiteList) : T in class org.infinispan.client.hotrod.DataFormat | From | To | |
Change Variable Type status : short to isObjectStorage : boolean in method public keyToObj(bytes byte[], whitelist ClassWhiteList) : T in class org.infinispan.client.hotrod.DataFormat | From | To | |
Change Variable Type pingResult : PingResult to pingResponse : PingOperation.PingResponse in method private createRemoteCache(cacheName String, forceReturnValueOverride boolean, transactionModeOverride TransactionMode, transactionManagerOverride TransactionManager) : RemoteCache<K,V> in class org.infinispan.client.hotrod.RemoteCacheManager | From | To | |
Extract Method | 2 | ||
Extract Method private writeHeader(header HotRodHeader, server HotRodServer, alloc ByteBufAllocator, status OperationStatus, sendMediaType boolean) : ByteBuf extracted from private writeHeader(header HotRodHeader, server HotRodServer, alloc ByteBufAllocator, status OperationStatus) : ByteBuf in class org.infinispan.server.hotrod.Encoder2x | From | To | |
Extract Method protected writeHeader(buf ByteBuf, params HeaderParams, version byte) : HeaderParams extracted from public writeHeader(buf ByteBuf, params HeaderParams) : HeaderParams in class org.infinispan.client.hotrod.impl.protocol.Codec28 | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method protected writeHeader(buf ByteBuf, params HeaderParams, version byte) : HeaderParams extracted from public writeHeader(buf ByteBuf, params HeaderParams) : HeaderParams in class org.infinispan.client.hotrod.impl.protocol.Codec29 & moved to class org.infinispan.client.hotrod.impl.protocol.Codec28 | From | To | |
Extract And Move Method public isObjectStorageHinted(pingResponse PingResponse) : boolean extracted from public resolveStorage() : PingOperation.PingResult in class org.infinispan.client.hotrod.impl.RemoteCacheImpl & moved to class org.infinispan.client.hotrod.impl.protocol.Codec29 | From | To | |
Rename Parameter | 1 | ||
Rename Parameter status : short to objectStorage : boolean in method public bytes2obj(marshaller Marshaller, bytes byte[], objectStorage boolean, whitelist ClassWhiteList) : T in class org.infinispan.client.hotrod.marshall.MarshallerUtil | From | To |