14afdf555b826d78622a534e50fcd84eded7602e
Files Diff
- Added: 11
- Removed: 4
- Renamed: 0
- Modified: 78
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type configuration : HotRodServerConfiguration to encoderRegistry : EncoderRegistry in method package ClientListenerRegistry(encoderRegistry EncoderRegistry) in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Change Parameter Type compat : boolean to storageMediaType : MediaType in method public IterationFilter(storageMediaType MediaType, requestType MediaType, providedFilter Optional<KeyValueFilterConverter<K,V,C>>) in class org.infinispan.server.hotrod.iteration.IterationFilter | From | To | |
| Move Method | 1 | ||
| Move Method public getSupportedMediaTypes() : Set<MediaType> from class org.infinispan.server.core.dataconversion.JavaSerializationTranscoder to public getSupportedMediaTypes() : Set<MediaType> from class org.infinispan.query.remote.impl.dataconversion.ProtostreamBinaryTranscoder | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute protected logger : Log from class org.infinispan.server.core.dataconversion.JavaSerializationTranscoder to protected logger : Log from class org.infinispan.commons.dataconversion.TranscoderMarshallerAdapter | From | To | |
| Merge Parameter | 1 | ||
| Merge Parameter [keyDataConversion : DataConversion, valueDataConversion : DataConversion] to listenerInvocation : CacheEntryListenerInvocation in method private configureEvent(listenerInvocation CacheEntryListenerInvocation, e EventImpl<K,V>, key K, value V, metadata Metadata, pre boolean, ctx InvocationContext, command FlagAffectedCommand, previousValue V, previousMetadata Metadata) : void in class org.infinispan.notifications.cachelistener.CacheNotifierImpl | From | To | |
| Change Variable Type | 8 | ||
| Change Variable Type hotrod2Cache : Cache to hotrod2Cache : Cache<String,String> in method public shouldRouteToProperHotRodServerBasedOnSniHostName() : void in class org.infinispan.server.router.integration.ProtocolServerEndpointRouterTest | From | To | |
| Change Variable Type factory : KeyValuePair<CacheEventConverterFactory,Marshaller> to factory : CacheEventConverterFactory in method private getConverter(valueDataConversion DataConversion, requestMedia MediaType, name String, useRawData Boolean, binaryParams List<byte[]>) : CacheEventConverter<byte[],byte[],byte[]> in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Change Variable Type factory : KeyValuePair<CacheEventFilterConverterFactory,Marshaller> to factory : CacheEventFilterConverterFactory in method private getFilterConverter(valueDataConversion DataConversion, requestMedia MediaType, name String, useRawData boolean, binaryParams List<byte[]>) : CacheEventFilterConverter<byte[],byte[],byte[]> in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Change Variable Type l : StaticFilteredEventLogListener<?> to l : StaticFilteredEventLogListener<Integer> in method public testNonRawFilteredListeners() : void in class org.infinispan.client.hotrod.transcoding.DataFormatTest | From | To | |
| Change Variable Type factory : KeyValuePair<CacheEventFilterFactory,Marshaller> to factory : CacheEventFilterFactory in method private getFilter(valueDataConversion DataConversion, requestMedia MediaType, name String, useRawData Boolean, binaryParams List<byte[]>) : CacheEventFilter<byte[],byte[]> in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Change Variable Type remoteCache : RemoteCache<?,?> to remoteCache : RemoteCache<Integer,String> in method public testNonRawFilteredListeners() : void in class org.infinispan.client.hotrod.transcoding.DataFormatTest | From | To | |
| Change Variable Type hotrod1Cache : Cache to hotrod1Cache : Cache<String,String> in method public shouldRouteToProperHotRodServerBasedOnSniHostName() : void in class org.infinispan.server.router.integration.ProtocolServerEndpointRouterTest | From | To | |
| Change Variable Type l : RawFilterFactoryListener<Object> to l : RawStaticFilteredEventLogListener<Object> in method public testRawFilteredListeners() : void in class org.infinispan.client.hotrod.transcoding.DataFormatTest | From | To | |
| Extract Variable | 2 | ||
| Extract Variable accept : boolean in method protected shouldInvoke(event CacheEntryEvent<K,V>, isLocalNodePrimaryOwner boolean) : CacheEntryEvent<K,V> from class org.infinispan.notifications.cachelistener.CacheNotifierImpl.BaseCacheEntryListenerInvocation | From | To | |
| Extract Variable defaultClusteredCacheConfig : ConfigurationBuilder in method protected createCacheManagers() : void from class org.infinispan.client.hotrod.event.ClientListenerWithFilterAndProtobufTest | From | To | |
| Rename Method | 1 | ||
| Rename Method private getBytesCacheConfiguration() : ConfigurationBuilder renamed to private getDefaultCacheConfiguration() : ConfigurationBuilder in class org.infinispan.it.compatibility.EndpointInteroperabilityTest | From | To | |
| Pull Up Method | 1 | ||
| Pull Up Method public transcode(content Object, contentType MediaType, destinationType MediaType) : Object from class org.infinispan.server.core.dataconversion.JavaSerializationTranscoder to public transcode(content Object, contentType MediaType, destinationType MediaType) : Object from class org.infinispan.commons.dataconversion.TranscoderMarshallerAdapter | From | To | |
| Inline Method | 1 | ||
| Inline Method public apply(e T, ignoreStorageFormatFilterable boolean) : T inlined to public apply(e T) : T in class org.infinispan.cache.impl.EncoderEntryMapper | From | To | |
| Change Return Type | 4 | ||
| Change Return Type String to MediaType in method public getValueMediaType() : MediaType in class org.infinispan.server.hotrod.HotRodHeader | From | To | |
| Change Return Type String to MediaType in method public getKeyMediaType() : MediaType in class org.infinispan.server.hotrod.HotRodHeader | From | To | |
| Change Return Type Archive<?> to void in method public deploy() : void in class org.infinispan.server.test.client.hotrod.HotRodCustomMarshallerIteratorIT | From | To | |
| Change Return Type KeyValuePair<CacheEventConverterFactory,Marshaller> to CacheEventConverterFactory in method private findConverterFactory(name String, factories ConcurrentMap<String,CacheEventConverterFactory>) : CacheEventConverterFactory in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.infinispan.commons.dataconversion.TranscoderMarshallerAdapter from classes [org.infinispan.server.core.dataconversion.JavaSerializationTranscoder] | From | To | |
| Rename Attribute | 7 | ||
| Rename Attribute compat : boolean to storageMediaType : MediaType in class org.infinispan.server.hotrod.iteration.IterationFilter | From | To | |
| Rename Attribute compatInfo : CompatInfo to resultFunction : Function<Object,Object> in class org.infinispan.server.hotrod.iteration.IterationState | From | To | |
| Rename Attribute bytesRemoteCache : RemoteCache<byte[],byte[]> to defaultRemoteCache : RemoteCache<byte[],byte[]> in class org.infinispan.it.compatibility.EndpointInteroperabilityTest | From | To | |
| Rename Attribute configuration : HotRodServerConfiguration to encoderRegistry : EncoderRegistry in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Rename Attribute marshaller : Optional<Marshaller> to requestType : MediaType in class org.infinispan.server.hotrod.iteration.IterationFilter | From | To | |
| Rename Attribute compatInfo : CompatInfo to resultFunction : Function<Object,Object> in class org.infinispan.server.hotrod.iteration.IterableIterationResult | From | To | |
| Rename Attribute BYTES_CACHE_NAME : String to DEFAULT_CACHE_NAME : String in class org.infinispan.it.compatibility.EndpointInteroperabilityTest | From | To | |
| Change Attribute Type | 5 | ||
| Change Attribute Type marshaller : Optional<Marshaller> to requestType : MediaType in class org.infinispan.server.hotrod.iteration.IterationFilter | From | To | |
| Change Attribute Type compatInfo : CompatInfo to resultFunction : Function<Object,Object> in class org.infinispan.server.hotrod.iteration.IterableIterationResult | From | To | |
| Change Attribute Type compat : boolean to storageMediaType : MediaType in class org.infinispan.server.hotrod.iteration.IterationFilter | From | To | |
| Change Attribute Type compatInfo : CompatInfo to resultFunction : Function<Object,Object> in class org.infinispan.server.hotrod.iteration.IterationState | From | To | |
| Change Attribute Type configuration : HotRodServerConfiguration to encoderRegistry : EncoderRegistry in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter configuration : HotRodServerConfiguration to encoderRegistry : EncoderRegistry in method package ClientListenerRegistry(encoderRegistry EncoderRegistry) in class org.infinispan.server.hotrod.ClientListenerRegistry | From | To | |
| Rename Parameter compat : boolean to storageMediaType : MediaType in method public IterationFilter(storageMediaType MediaType, requestType MediaType, providedFilter Optional<KeyValueFilterConverter<K,V,C>>) in class org.infinispan.server.hotrod.iteration.IterationFilter | From | To |