6ba328e7a03d2faaf648e85310e903f11211cbd8
Files Diff
- Added: 2
- Removed: 3
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public getHibernateType() : Type from class org.hibernate.procedure.internal.AbstractParameterRegistrationImpl to public getBindType() : Type from class org.hibernate.procedure.internal.ParameterBindImpl | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type queryParameterBindings : QueryParameterBindingsImpl to queryParameterBindings : QueryParameterBindings in method public QueryParameters(queryParameterBindings QueryParameterBindings, lockOptions LockOptions, selection RowSelection, isReadOnlyInitialized boolean, readOnly boolean, cacheable boolean, cacheRegion String, comment String, dbHints List<String>, collectionKeys Serializable[], optionalObject Object, optionalEntityName String, optionalId Serializable, resultTransformer ResultTransformer) in class org.hibernate.engine.spi.QueryParameters | From | To | |
Move Method | 4 | ||
Move Method public prepare(statement CallableStatement, startIndex int) : void from class org.hibernate.procedure.internal.AbstractParameterRegistrationImpl to public prepare(statement CallableStatement, startIndex int) : void from class org.hibernate.query.procedure.internal.ProcedureParameterImpl | From | To | |
Move Method public getSqlTypes() : int[] from class org.hibernate.procedure.internal.AbstractParameterRegistrationImpl to public getSqlTypes() : int[] from class org.hibernate.query.procedure.internal.ProcedureParameterImpl | From | To | |
Move Method public extract(statement CallableStatement) : T from class org.hibernate.procedure.internal.AbstractParameterRegistrationImpl to public extract(statement CallableStatement) : T from class org.hibernate.query.procedure.internal.ProcedureParameterImpl | From | To | |
Move Method private canDoNameParameterBinding() : boolean from class org.hibernate.procedure.internal.AbstractParameterRegistrationImpl to private canDoNameParameterBinding(hibernateType Type) : boolean from class org.hibernate.query.procedure.internal.ProcedureParameterImpl | From | To | |
Rename Variable | 2 | ||
Rename Variable parameterRegistration : PositionalParameterRegistration to procedureParameter : ProcedureParameterImpl in method public registerParameter(position int, type Class<T>, mode ParameterMode) : ParameterRegistration<T> in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Rename Variable parameterRegistration : NamedParameterRegistration to parameter : ProcedureParameterImpl in method public registerParameter(name String, type Class<T>, mode ParameterMode) : ParameterRegistration<T> in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Return Type | 8 | ||
Change Return Type Parameter<?> to QueryParameter<?> in method public getParameter(position int) : QueryParameter<?> in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Change Return Type QueryParameter<T> to ProcedureParameterImplementor<T> in method public resolve(param Parameter<T>) : ProcedureParameterImplementor<T> in class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Change Return Type List<ParameterRegistration> to List in method public getRegisteredParameters() : List in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Return Type Parameter<T> to QueryParameter<T> in method public getParameter(position int, type Class<T>) : QueryParameter<T> in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Change Return Type QueryParameter<T> to ParameterRegistrationImplementor<T> in method public getQueryParameter(name String) : ParameterRegistrationImplementor<T> in class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Change Return Type Parameter<T> to QueryParameter<T> in method public getParameter(name String, type Class<T>) : QueryParameter<T> in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Change Return Type QueryParameter<T> to ParameterRegistrationImplementor<T> in method public getQueryParameter(position Integer) : ParameterRegistrationImplementor<T> in class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Change Return Type Parameter<?> to QueryParameter<?> in method public getParameter(name String) : QueryParameter<?> in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Push Down Attribute | 3 | ||
Push Down Attribute private queryParameterBindings : QueryParameterBindingsImpl from class org.hibernate.query.internal.AbstractProducedQuery to private queryParameterBindings : QueryParameterBindingsImpl from class org.hibernate.query.internal.CollectionFilterImpl | From | To | |
Push Down Attribute private queryParameterBindings : QueryParameterBindingsImpl from class org.hibernate.query.internal.AbstractProducedQuery to private queryParameterBindings : QueryParameterBindingsImpl from class org.hibernate.query.internal.QueryImpl | From | To | |
Push Down Attribute private queryParameterBindings : QueryParameterBindingsImpl from class org.hibernate.query.internal.AbstractProducedQuery to private queryParameterBindings : QueryParameterBindingsImpl from class org.hibernate.query.internal.NativeQueryImpl | From | To | |
Move Attribute | 2 | ||
Move Attribute private parameterStrategy : ParameterStrategy from class org.hibernate.procedure.internal.ProcedureCallImpl to private parameterStrategy : ParameterStrategy from class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Move Attribute private hibernateType : Type from class org.hibernate.procedure.internal.AbstractParameterRegistrationImpl to private hibernateType : Type from class org.hibernate.procedure.internal.ParameterBindImpl | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable registration : ParameterRegistrationImplementor<?> to parameter : ProcedureParameterImplementor in method private registerParameter(parameter ProcedureParameterImplementor) : void in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Variable Type | 6 | ||
Change Variable Type parameter : ProcedureParameter to parameter : ParameterRegistrationImplementor in method public getQueryParameter(position Integer) : ParameterRegistrationImplementor<T> in class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Change Variable Type registration : ParameterRegistrationImplementor<?> to parameter : ProcedureParameterImplementor in method private registerParameter(parameter ProcedureParameterImplementor) : void in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Variable Type parameterRegistration : NamedParameterRegistration to parameter : ProcedureParameterImpl in method public registerParameter(name String, type Class<T>, mode ParameterMode) : ParameterRegistration<T> in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Variable Type parameterRegistration : PositionalParameterRegistration to procedureParameter : ProcedureParameterImpl in method public registerParameter(position int, type Class<T>, mode ParameterMode) : ParameterRegistration<T> in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Variable Type registration : ParameterRegistrationImplementor<?> to registration : ProcedureParameterImplementor<?> in method package ProcedureCallImpl(session SharedSessionContractImplementor, memento ProcedureCallMementoImpl) in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Change Variable Type parameter : ProcedureParameter to parameter : ProcedureParameterImplementor in method public resolve(param Parameter<T>) : ProcedureParameterImplementor<T> in class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Inline Variable | 2 | ||
Inline Variable storedRegistrations : List<ProcedureCallMementoImpl.ParameterMemento> in method package ProcedureCallImpl(session SharedSessionContractImplementor, memento ProcedureCallMementoImpl) from class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Inline Variable result : QueryParameter<T> in method public getQueryParameter(name String) : QueryParameter<T> from class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To | |
Extract Method | 1 | ||
Extract Method private registerParameter(parameter ProcedureParameterImplementor) : void extracted from package ProcedureCallImpl(session SharedSessionContractImplementor, memento ProcedureCallMementoImpl) in class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getQueryParameterBindings() : QueryParameterBindings extracted from public unwrap(cls Class<T>) : T in class org.hibernate.query.internal.AbstractProducedQuery & moved to class org.hibernate.procedure.internal.ProcedureCallImpl | From | To | |
Extract And Move Method public getParameterStrategy() : ParameterStrategy extracted from public getParameterStrategy() : ParameterStrategy in class org.hibernate.procedure.internal.ProcedureCallImpl & moved to class org.hibernate.query.procedure.internal.ProcedureParameterMetadata | From | To |