3a295f7301be95c5eab6f7caf2b9b7b15e11d90c
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public referencingPermittedStreamsSucceeds() : void renamed to public executeQueryAddsCurrentUserAsOwner() : void in class org.graylog.plugins.enterprise.search.rest.SearchResourceTest | From | To | |
Move Method | 5 | ||
Move Method public referencingNonpermittedStreamsFails() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest to public referencingNonpermittedStreamsFails() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceStreamPermissionsTest | From | To | |
Move Method private allStreamsOfUser() : List<Stream> from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest to private allStreamsOfUser() : List<Stream> from class org.graylog.plugins.enterprise.search.rest.SearchResourceStreamPermissionsTest | From | To | |
Move Method public forValue() : Collection<ViewParameterSummaryDTO> from class org.graylog.plugins.enterprise.search.views.ViewService to public forValue() : Collection<ViewParameterSummaryDTO> from class org.graylog.plugins.enterprise.search.views.QualifyingViewsService | From | To | |
Move Method public executingSearchWithoutStreamsUsesAllStreamsOfUser() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest to public executingSearchWithoutStreamsUsesAllStreamsOfUser() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceStreamPermissionsTest | From | To | |
Move Method public executingSearchWithoutAccessToAnyStreamsFails() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest to public executingSearchWithoutAccessToAnyStreamsFails() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceStreamPermissionsTest | From | To | |
Rename Variable | 1 | ||
Rename Variable permissionCaptor : ArgumentCaptor<String> to usernameCaptor : ArgumentCaptor<String> in method public executeQueryAddsCurrentUserAsOwner() : void in class org.graylog.plugins.enterprise.search.rest.SearchResourceTest | From | To | |
Move Attribute | 3 | ||
Move Attribute public thrown : ExpectedException from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest to public thrown : ExpectedException from class org.graylog.plugins.enterprise.search.rest.SearchResourceStreamPermissionsTest | From | To | |
Move Attribute private searchDbService : SearchDbService from class org.graylog.plugins.enterprise.search.views.ViewService to private searchDbService : SearchDbService from class org.graylog.plugins.enterprise.search.views.QualifyingViewsServiceTest | From | To | |
Move Attribute private searchDbService : SearchDbService from class org.graylog.plugins.enterprise.search.views.ViewService to private searchDbService : SearchDbService from class org.graylog.plugins.enterprise.search.views.QualifyingViewsService | From | To | |
Extract Class | 1 | ||
Extract Class org.graylog.plugins.enterprise.search.rest.SearchResourceStreamPermissionsTest from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest | From | To | |
Extract Variable | 1 | ||
Extract Variable queries : ImmutableSet<Query> in method public executeQueryAddsCurrentUserAsOwner() : void from class org.graylog.plugins.enterprise.search.rest.SearchResourceTest | From | To |