890ed5b9263346b78acf51fda2b0e4c7ed8e2a57
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 2 | ||
Push Down Method public AbstractEventStorageEngine(persistenceExceptionResolver PersistenceExceptionResolver) from class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine to public JpaEventStorageEngine(serializer Serializer, upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver, transactionManager TransactionManager, batchSize Integer, entityManagerProvider EntityManagerProvider) from class org.axonframework.eventsourcing.eventstore.jpa.JpaEventStorageEngine | From | To | |
Push Down Method protected BatchingEventStorageEngine(transactionManager TransactionManager) from class org.axonframework.eventsourcing.eventstore.BatchingEventStorageEngine to public JpaEventStorageEngine(serializer Serializer, upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver, transactionManager TransactionManager, batchSize Integer, entityManagerProvider EntityManagerProvider) from class org.axonframework.eventsourcing.eventstore.jpa.JpaEventStorageEngine | From | To | |
Move And Inline Method | 5 | ||
Move And Inline Method public setPersistenceExceptionResolver(persistenceExceptionResolver PersistenceExceptionResolver) : void moved from class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine to class org.axonframework.eventsourcing.eventstore.jpa.legacy.LegacyJpaEventStorageEngineTest & inlined to public setUp() : void | From | To | |
Move And Inline Method public setPersistenceExceptionResolver(persistenceExceptionResolver PersistenceExceptionResolver) : void moved from class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine to class org.axonframework.eventsourcing.eventstore.jpa.JpaEventStorageEngineTest & inlined to public setUp() : void | From | To | |
Move And Inline Method public setPersistenceExceptionResolver(persistenceExceptionResolver PersistenceExceptionResolver) : void moved from class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine to class org.axonframework.eventsourcing.eventstore.jdbc.legacy.LegacyJdbcEventStorageEngineTest & inlined to public setUp() : void | From | To | |
Move And Inline Method public setPersistenceExceptionResolver(persistenceExceptionResolver PersistenceExceptionResolver) : void moved from class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine to class org.axonframework.eventsourcing.eventstore.jdbc.JdbcEventStorageEngineTest & inlined to public setUp() : void | From | To | |
Move And Inline Method public setUpcasterChain(upcasterChain EventUpcasterChain) : void moved from class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngine to class org.axonframework.eventsourcing.eventstore.AbstractEventStorageEngineTest & inlined to public testStoreAndLoadEventsWithUpcaster() : void | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type testSubject : CustomLegacyJpaEventStorageEngine to testSubject : LegacyJpaEventStorageEngine in class org.axonframework.eventsourcing.eventstore.jpa.legacy.LegacyJpaEventStorageEngineTest | From | To | |
Extract Method | 5 | ||
Extract Method protected createEngine(upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver, eventSchema EventSchema, dataType Class<?>, tableFactory EventTableFactory) : AbstractJdbcEventStorageEngine extracted from public testCustomSchemaConfig() : void in class org.axonframework.eventsourcing.eventstore.jdbc.JdbcEventStorageEngineTest | From | To | |
Extract Method private createEngine(upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver) : AbstractJdbcEventStorageEngine extracted from public setUp() : void in class org.axonframework.eventsourcing.eventstore.jdbc.legacy.LegacyJdbcEventStorageEngineTest | From | To | |
Extract Method protected createEngine(upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver) : LegacyJpaEventStorageEngine extracted from public setUp() : void in class org.axonframework.eventsourcing.eventstore.jpa.legacy.LegacyJpaEventStorageEngineTest | From | To | |
Extract Method protected createEngine(upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver, eventSchema EventSchema, dataType Class<?>, tableFactory EventTableFactory) : AbstractJdbcEventStorageEngine extracted from public setUp() : void in class org.axonframework.eventsourcing.eventstore.jdbc.JdbcEventStorageEngineTest | From | To | |
Extract Method protected createEngine(upcasterChain EventUpcasterChain, persistenceExceptionResolver PersistenceExceptionResolver) : JpaEventStorageEngine extracted from public setUp() : void in class org.axonframework.eventsourcing.eventstore.jpa.JpaEventStorageEngineTest | From | To |