2cb89534380ac8558a1461d28419ee62ab48b0a7
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public onEvent(event BeforeUserRemovedEvent) : void renamed to public onRemovalEvent(event BeforeUserRemovedEvent) : void in class org.eclipse.che.api.factory.server.jpa.JpaFactoryDao.RemoveFactoriesBeforeUserRemovedEventSubscriber | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type eventSubscriber : Class<EventSubscriber> to subscriberClass : Class<CascadeRemovalEventSubscriber<CascadeRemovalEvent>> in method public shouldRollbackTransactionWhenFailedToRemoveAnyOfEntries(subscriberClass Class<CascadeRemovalEventSubscriber<CascadeRemovalEvent>>, eventClass Class<CascadeRemovalEvent>) : void in class org.eclipse.che.api.jdbc.jpa.JpaEntitiesCascadeRemovalTest | From | To | |
Extract Superclass | 2 | ||
Extract Superclass org.eclipse.che.api.core.jdbc.jpa.event.CascadeRemovalEventSubscriber from classes [org.eclipse.che.api.factory.server.jpa.JpaFactoryDao.RemoveFactoriesBeforeUserRemovedEventSubscriber, org.eclipse.che.api.ssh.server.jpa.JpaSshDao.RemoveSshKeysBeforeUserRemovedEventSubscriber, org.eclipse.che.api.user.server.jpa.JpaPreferenceDao.RemovePreferencesBeforeUserRemovedEventSubscriber, org.eclipse.che.api.user.server.jpa.JpaProfileDao.RemoveProfileBeforeUserRemovedEventSubscriber, org.eclipse.che.api.workspace.server.jpa.JpaWorkspaceDao.RemoveWorkspaceBeforeAccountRemovedEventSubscriber, org.eclipse.che.api.workspace.server.jpa.JpaWorkspaceDao.RemoveSnapshotsBeforeWorkspaceRemovedEventSubscriber] | From | To | |
Extract Superclass org.eclipse.che.api.core.jdbc.jpa.event.CascadeRemovalEvent from classes [org.eclipse.che.account.event.BeforeAccountRemovedEvent, org.eclipse.che.api.machine.server.event.BeforeRecipeRemovedEvent, org.eclipse.che.api.user.server.event.BeforeUserRemovedEvent, org.eclipse.che.api.workspace.server.event.BeforeStackRemovedEvent, org.eclipse.che.api.workspace.server.event.BeforeWorkspaceRemovedEvent] | From | To | |
Extract Variable | 4 | ||
Extract Variable event : BeforeUserRemovedEvent in method public preRemove(user UserImpl) : void from class org.eclipse.che.api.user.server.jpa.UserEntityListener | From | To | |
Extract Variable event : BeforeAccountRemovedEvent in method private preRemove(account AccountImpl) : void from class org.eclipse.che.account.spi.jpa.AccountEntityListener | From | To | |
Extract Variable event : BeforeStackRemovedEvent in method private preRemove(stack StackImpl) : void from class org.eclipse.che.api.workspace.server.jpa.StackEntityListener | From | To | |
Extract Variable event : BeforeRecipeRemovedEvent in method private preRemove(recipe RecipeImpl) : void from class org.eclipse.che.api.machine.server.jpa.RecipeEntityListener | From | To | |
Extract Method | 1 | ||
Extract Method private doUnsubscribe(subscriber EventSubscriber<?>, eventType Class<?>) : void extracted from public unsubscribe(subscriber EventSubscriber<?>) : void in class org.eclipse.che.api.core.notification.EventService | From | To | |
Rename Parameter | 1 | ||
Rename Parameter eventSubscriber : Class<EventSubscriber> to subscriberClass : Class<CascadeRemovalEventSubscriber<CascadeRemovalEvent>> in method public shouldRollbackTransactionWhenFailedToRemoveAnyOfEntries(subscriberClass Class<CascadeRemovalEventSubscriber<CascadeRemovalEvent>>, eventClass Class<CascadeRemovalEvent>) : void in class org.eclipse.che.api.jdbc.jpa.JpaEntitiesCascadeRemovalTest | From | To |