3a6e02f7e633d4fe2660eafb3ab9ca4aeb55c4d9
Files Diff
- Added: 4
- Removed: 5
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public translatePropertyPath(path String[]) : List<Integer> renamed to public mapPropertyNamePathToFieldIdPath(path String[]) : List<Integer> in class org.infinispan.objectfilter.impl.RowMatcher.MetadataAdapterImpl | From | To | |
Rename Method private getDocumentBuilder(typeName String) : DocumentBuilderIndexedEntity renamed to private getEntityIndexBinding(entityType String) : EntityIndexBinding in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method public translatePropertyPath(path String[]) : List<Integer> from class org.infinispan.objectfilter.impl.ProtobufMatcher.MetadataAdapterImpl to public mapPropertyNamePathToFieldIdPath(messageDescriptor Descriptor, propertyPath String[]) : List<?> from class org.infinispan.objectfilter.impl.hql.ProtobufPropertyHelper | From | To | |
Move And Rename Method public translatePropertyPath(path String[]) : List<String> from class org.infinispan.objectfilter.impl.ReflectionMatcher.MetadataAdapterImpl to public mapPropertyNamePathToFieldIdPath(type Class<?>, propertyPath String[]) : List<?> from class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable | 11 | ||
Rename Variable remoteValueWrappingEnabled : boolean to isIndexed : boolean in method public cacheStarted(cr ComponentRegistry, cacheName String) : void in class org.infinispan.query.remote.impl.LifecycleManager | From | To | |
Rename Variable entity : Class<?> to entityClass : Class<?> in method private getEntityClass(entityType String) : Class<?> in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable entity : Class<?> to entityClass : Class<?> in method public isRepeatedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable docBuilder : DocumentBuilderIndexedEntity to indexBinding : EntityIndexBinding in method public hasAnalyzedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Rename Variable type : Class<?> to entityClass : Class<?> in method private getEntityClass(entityType String) : Class<?> in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable type : Class<?> to entityClass : Class<?> in method public getPrimitivePropertyType(entityType String, propertyPath String[]) : Class<?> in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable entity : Class<?> to entityClass : Class<?> in method public hasProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable entity : Class<?> to entityClass : Class<?> in method public hasEmbeddedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Variable configuration : Configuration to cfg : Configuration in method public cacheStarted(cr ComponentRegistry, cacheName String) : void in class org.infinispan.query.remote.impl.LifecycleManager | From | To | |
Change Return Type | 3 | ||
Change Return Type List<String> to List<?> in method public mapPropertyNamePathToFieldIdPath(type Class<?>, propertyPath String[]) : List<?> in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Change Return Type DocumentBuilderIndexedEntity to EntityIndexBinding in method private getEntityIndexBinding(entityType String) : EntityIndexBinding in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Change Return Type List<Integer> to List<?> in method public mapPropertyNamePathToFieldIdPath(messageDescriptor Descriptor, propertyPath String[]) : List<?> in class org.infinispan.objectfilter.impl.hql.ProtobufPropertyHelper | From | To | |
Move Class | 3 | ||
Move Class org.infinispan.query.dsl.embedded.impl.jpalucene.LuceneQueryMaker moved to org.infinispan.query.dsl.embedded.impl.LuceneQueryMaker | From | To | |
Move Class org.infinispan.query.dsl.embedded.impl.jpalucene.LuceneQueryParsingResult moved to org.infinispan.query.dsl.embedded.impl.LuceneQueryParsingResult | From | To | |
Move Class org.infinispan.query.dsl.embedded.impl.jpalucene.HibernateSearchPropertyHelper moved to org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [projection : String[], projectionTypes : Class<?>[], sortFields : SortField[], query : BooleanExpr] to parsingResult : FilterParsingResult<TypeMetadata> in method package ObjectFilterImpl(matcher BaseMatcher<TypeMetadata,AttributeMetadata,AttributeId>, metadataAdapter MetadataAdapter<TypeMetadata,AttributeMetadata,AttributeId>, parsingResult FilterParsingResult<TypeMetadata>, acc FieldAccumulator[]) in class org.infinispan.objectfilter.impl.ObjectFilterImpl | From | To | |
Change Variable Type | 1 | ||
Change Variable Type docBuilder : DocumentBuilderIndexedEntity to indexBinding : EntityIndexBinding in method public hasAnalyzedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Extract Variable | 1 | ||
Extract Variable reflectionMatcher : ReflectionMatcher in method private registerMatcher(cr ComponentRegistry, searchFactory SearchIntegrator) : void from class org.infinispan.query.impl.LifecycleManager | From | To | |
Extract Method | 7 | ||
Extract Method private registerMatcher(cr ComponentRegistry, searchFactory SearchIntegrator) : void extracted from public cacheStarting(cr ComponentRegistry, cfg Configuration, cacheName String) : void in class org.infinispan.query.impl.LifecycleManager | From | To | |
Extract Method private getEntityClass(entityType String) : Class<?> extracted from public hasProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Extract Method private getEntityClass(entityType String) : Class<?> extracted from public hasEmbeddedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Extract Method private getEntityClass(entityType String) : Class<?> extracted from public getPrimitivePropertyType(entityType String, propertyPath String[]) : Class<?> in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Extract Method private getMetadata(propertyPath String[], metadataFun BiFunction<IndexingMetadata,Integer,Boolean>) : boolean extracted from public isStored(propertyPath String[]) : boolean in class org.infinispan.query.remote.impl.ProtobufIndexedFieldProvider | From | To | |
Extract Method private getMetadata(propertyPath String[], metadataFun BiFunction<IndexingMetadata,Integer,Boolean>) : boolean extracted from public isIndexed(propertyPath String[]) : boolean in class org.infinispan.query.remote.impl.ProtobufIndexedFieldProvider | From | To | |
Extract Method private getEntityClass(entityType String) : Class<?> extracted from public isRepeatedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Parameter | 6 | ||
Rename Parameter typeName : String to entityType : String in method private getEntityIndexBinding(entityType String) : EntityIndexBinding in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Rename Parameter path : String[] to propertyPath : String[] in method public mapPropertyNamePathToFieldIdPath(messageDescriptor Descriptor, propertyPath String[]) : List<?> in class org.infinispan.objectfilter.impl.hql.ProtobufPropertyHelper | From | To | |
Rename Parameter typeName : String to entityType : String in method public hasAnalyzedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Rename Parameter path : String[] to propertyPath : String[] in method public mapPropertyNamePathToFieldIdPath(type Class<?>, propertyPath String[]) : List<?> in class org.infinispan.objectfilter.impl.hql.ReflectionPropertyHelper | From | To | |
Rename Parameter typeName : String to entityType : String in method public hasEmbeddedProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To | |
Rename Parameter typeName : String to entityType : String in method public hasProperty(entityType String, propertyPath String[]) : boolean in class org.infinispan.query.dsl.embedded.impl.HibernateSearchPropertyHelper | From | To |