90903645eed5a3d02ef6eaa41a3e010f6ffcf150
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected doRemove(workspaceId String) : void renamed to public removeActivity(workspaceId String) : void in class org.eclipse.che.api.workspace.activity.JpaWorkspaceActivityDao | From | To | |
Rename Variable | 3 | ||
Rename Variable manager : EntityManager to em : EntityManager in method public removeActivity(workspaceId String) : void in class org.eclipse.che.api.workspace.activity.JpaWorkspaceActivityDao | From | To | |
Rename Variable expiration : WorkspaceExpiration to activity : WorkspaceActivity in method public removeActivity(workspaceId String) : void in class org.eclipse.che.api.workspace.activity.JpaWorkspaceActivityDao | From | To | |
Rename Variable captor : ArgumentCaptor<WorkspaceExpiration> to wsIdCaptor : ArgumentCaptor<String> in method public shouldAddWorkspaceForTrackActivityWhenWorkspaceRunning() : void in class org.eclipse.che.api.workspace.activity.WorkspaceActivityManagerTest | From | To | |
Inline Method | 1 | ||
Inline Method protected doFindExpired(timestamp long) : List<String> inlined to public findExpired(timestamp long) : List<String> in class org.eclipse.che.api.workspace.activity.JpaWorkspaceActivityDao | From | To | |
Rename Attribute | 3 | ||
Rename Attribute workspaceEventsSubscriber : EventSubscriber<?> to workspaceActivityRemover : EventSubscriber<BeforeWorkspaceRemovedEvent> in class org.eclipse.che.api.workspace.activity.WorkspaceActivityManager | From | To | |
Rename Attribute expirations : WorkspaceExpiration[] to activities : WorkspaceActivity[] in class org.eclipse.che.api.workspace.activity.spi.tck.WorkspaceActivityDaoTest | From | To | |
Rename Attribute expirationTckRepository : TckRepository<WorkspaceExpiration> to activityTckRepository : TckRepository<WorkspaceActivity> in class org.eclipse.che.api.workspace.activity.spi.tck.WorkspaceActivityDaoTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type captor : ArgumentCaptor<WorkspaceExpiration> to wsIdCaptor : ArgumentCaptor<String> in method public shouldAddWorkspaceForTrackActivityWhenWorkspaceRunning() : void in class org.eclipse.che.api.workspace.activity.WorkspaceActivityManagerTest | From | To | |
Change Variable Type expiration : WorkspaceExpiration to activity : WorkspaceActivity in method public removeActivity(workspaceId String) : void in class org.eclipse.che.api.workspace.activity.JpaWorkspaceActivityDao | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type expirationTckRepository : TckRepository<WorkspaceExpiration> to activityTckRepository : TckRepository<WorkspaceActivity> in class org.eclipse.che.api.workspace.activity.spi.tck.WorkspaceActivityDaoTest | From | To | |
Change Attribute Type workspaceEventsSubscriber : EventSubscriber<?> to workspaceActivityRemover : EventSubscriber<BeforeWorkspaceRemovedEvent> in class org.eclipse.che.api.workspace.activity.WorkspaceActivityManager | From | To | |
Change Attribute Type expirations : WorkspaceExpiration[] to activities : WorkspaceActivity[] in class org.eclipse.che.api.workspace.activity.spi.tck.WorkspaceActivityDaoTest | From | To | |
Extract Method | 1 | ||
Extract Method public setExpirationTime(workspaceId String, expirationTime long) : void extracted from public setExpiration(expiration WorkspaceExpiration) : void in class org.eclipse.che.api.workspace.activity.JpaWorkspaceActivityDao | From | To |