b5f38e369780284eaea179e2f500a586c9ecdea3
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected validateAndAddListenerInvocation(listener Object, builder AbstractInvocationBuilder) : boolean renamed to protected validateAndAddListenerInvocations(listener Object, builder AbstractInvocationBuilder) : boolean in class org.infinispan.notifications.impl.AbstractListenerImpl | From | To | |
Push Down Method | 1 | ||
Push Down Method private addListenerInvocation(annotation Class<? extends Annotation>, li L) : void from class org.infinispan.notifications.impl.AbstractListenerImpl to public getListenerCollectionForAnnotation(annotation Class<? extends Annotation>) : List<CacheEntryListenerInvocation<K,V>> from class org.infinispan.notifications.cachelistener.CacheNotifierImpl | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type filter : KeyFilter to filter : KeyFilter<? super K> in method public addListener(listener Object, filter KeyFilter<? super K>) : void in class org.infinispan.notifications.cachelistener.CacheNotifierImpl | From | To | |
Change Parameter Type handler : QueueingSegmentListener to handler : QueueingSegmentListener<K,V,CacheEntryEvent<K,V>> in method public ClusteredListenerInvocation(invocation ListenerInvocation<Event<K,V>>, handler QueueingSegmentListener<K,V,CacheEntryEvent<K,V>>, filter CacheEventFilter<? super K,? super V>, converter CacheEventConverter<? super K,? super V,?>, annotation Class<? extends Annotation>, onlyPrimary boolean, identifier UUID, sync boolean) in class org.infinispan.notifications.cachelistener.CacheNotifierImpl.ClusteredListenerInvocation | From | To | |
Change Parameter Type cache : Cache to cacheManager : EmbeddedCacheManager in method protected injectDependencies(cacheManager EmbeddedCacheManager) : void in class org.infinispan.query.remote.filter.JPAProtobufCacheEventFilterConverter | From | To | |
Rename Variable | 2 | ||
Rename Variable value : Class<?> to eventClass : Class<?> in method protected validateAndAddListenerInvocations(listener Object, builder AbstractInvocationBuilder) : boolean in class org.infinispan.notifications.impl.AbstractListenerImpl | From | To | |
Rename Variable key : Class<? extends Annotation> to annotationClass : Class<? extends Annotation> in method protected validateAndAddListenerInvocations(listener Object, builder AbstractInvocationBuilder) : boolean in class org.infinispan.notifications.impl.AbstractListenerImpl | From | To | |
Change Return Type | 2 | ||
Change Return Type void to List<CacheEntryListenerInvocation<K,V>> in method public getListenerCollectionForAnnotation(annotation Class<? extends Annotation>) : List<CacheEntryListenerInvocation<K,V>> in class org.infinispan.notifications.cachelistener.CacheNotifierImpl | From | To | |
Change Return Type void to Set<L> in method protected removeListenerInvocation(annotation Class<? extends Annotation>, listener Object) : Set<L> in class org.infinispan.notifications.impl.AbstractListenerImpl | From | To | |
Extract Interface | 1 | ||
Extract Interface org.infinispan.notifications.cachelistener.filter.IndexedFilter from classes [org.infinispan.query.dsl.embedded.impl.JPACacheEventFilterConverter] | From | To | |
Rename Parameter | 1 | ||
Rename Parameter cache : Cache to cacheManager : EmbeddedCacheManager in method protected injectDependencies(cacheManager EmbeddedCacheManager) : void in class org.infinispan.query.remote.filter.JPAProtobufCacheEventFilterConverter | From | To |