885033d25e863905348f37a566b8cdfc840702b7
Files Diff
- Added: 24
- Removed: 6
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getLineUpdateRequests() : List<UpdateRequest> renamed to public getUpdateRequests() : List<UpdateRequest> in class org.sonar.server.source.index.FileSourcesUpdaterUtil.Row | From | To | |
Rename Method public uuid() : String renamed to public fileUuid() : String in class org.sonar.server.test.index.TestDoc | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type dbRows : Iterator<SourceFileResultSetIterator.Row> to dbRows : Iterator<FileSourcesUpdaterUtil.Row> in method public index(dbRows Iterator<FileSourcesUpdaterUtil.Row>) : long in class org.sonar.server.source.index.SourceLineIndexer | From | To | |
Change Parameter Type dbRows : Iterator<SourceFileResultSetIterator.Row> to dbRows : Iterator<FileSourcesUpdaterUtil.Row> in method private doIndex(bulk BulkIndexer, dbRows Iterator<FileSourcesUpdaterUtil.Row>) : long in class org.sonar.server.source.index.SourceLineIndexer | From | To | |
Change Parameter Type fileRow : SourceFileResultSetIterator.Row to fileRow : FileSourcesUpdaterUtil.Row in method private addDeleteRequestsForLinesGreaterThan(bulk BulkIndexer, fileRow FileSourcesUpdaterUtil.Row) : void in class org.sonar.server.source.index.SourceLineIndexer | From | To | |
Change Return Type | 2 | ||
Change Return Type SourceFileResultSetIterator.Row to FileSourcesUpdaterUtil.Row in method public next() : FileSourcesUpdaterUtil.Row in class org.sonar.server.benchmark.SourceIndexBenchmarkTest.SourceIterator | From | To | |
Change Return Type SourceFileResultSetIterator to SourceLineResultSetIterator in method public create(dbClient DbClient, connection Connection, afterDate long, projectUuid String) : SourceLineResultSetIterator in class org.sonar.server.source.index.SourceLineResultSetIterator | From | To | |
Move Attribute | 4 | ||
Move Attribute private FIELDS : String[] from class org.sonar.server.source.index.SourceFileResultSetIterator to private FIELDS : String[] from class org.sonar.server.source.index.FileSourcesUpdaterUtil | From | To | |
Move Attribute private SQL_ALL : String from class org.sonar.server.source.index.SourceFileResultSetIterator to private SQL_ALL : String from class org.sonar.server.source.index.FileSourcesUpdaterUtil | From | To | |
Move Attribute private AFTER_DATE_FILTER : String from class org.sonar.server.source.index.SourceFileResultSetIterator to private AFTER_DATE_FILTER : String from class org.sonar.server.source.index.FileSourcesUpdaterUtil | From | To | |
Move Attribute private PROJECT_FILTER : String from class org.sonar.server.source.index.SourceFileResultSetIterator to private PROJECT_FILTER : String from class org.sonar.server.source.index.FileSourcesUpdaterUtil | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.server.source.index.FileSourcesUpdaterUtil from class org.sonar.server.source.index.SourceFileResultSetIterator | From | To | |
Rename Class | 2 | ||
Rename Class org.sonar.server.source.index.SourceFileResultSetIteratorTest renamed to org.sonar.server.source.index.SourceLineResultSetIteratorTest | From | To | |
Rename Class org.sonar.server.source.index.SourceFileResultSetIterator renamed to org.sonar.server.source.index.SourceLineResultSetIterator | From | To | |
Move Class | 1 | ||
Move Class org.sonar.server.source.index.SourceFileResultSetIterator.Row moved to org.sonar.server.source.index.FileSourcesUpdaterUtil.Row | From | To | |
Rename Attribute | 1 | ||
Rename Attribute FIELD_UUID : String to FIELD_FILE_UUID : String in class org.sonar.server.test.index.TestIndexDefinition | From | To | |
Change Variable Type | 11 | ||
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method public filter_by_project_and_date() : void in class org.sonar.server.source.index.SourceLineResultSetIteratorTest | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method public traverse_db() : void in class org.sonar.server.source.index.SourceLineResultSetIteratorTest | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method private newSourceLine(file ComponentDto, line int, scmAuthor String) : void in class org.sonar.server.issue.IssueServiceMediumTest | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method public index_source_lines_with_big_test_data() : void in class org.sonar.server.source.index.SourceLineIndexerTest | From | To | |
Change Variable Type dbRow : SourceFileResultSetIterator.Row to dbRow : FileSourcesUpdaterUtil.Row in method public update_already_indexed_lines() : void in class org.sonar.server.source.index.SourceLineIndexerTest | From | To | |
Change Variable Type rowIt : SourceFileResultSetIterator to rowIt : SourceLineResultSetIterator in method private doIndex(lastUpdatedAt long, projectUuid String) : long in class org.sonar.server.source.index.SourceLineIndexer | From | To | |
Change Variable Type it : SourceFileResultSetIterator to it : SourceLineResultSetIterator in method private scrollRows() : void in class org.sonar.server.benchmark.SourceDbBenchmarkTest | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method public minimal_data() : void in class org.sonar.server.source.index.SourceLineResultSetIteratorTest | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method private doIndex(bulk BulkIndexer, dbRows Iterator<FileSourcesUpdaterUtil.Row>) : long in class org.sonar.server.source.index.SourceLineIndexer | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method public filter_by_project() : void in class org.sonar.server.source.index.SourceLineResultSetIteratorTest | From | To | |
Change Variable Type row : SourceFileResultSetIterator.Row to row : FileSourcesUpdaterUtil.Row in method private scrollRows() : void in class org.sonar.server.benchmark.SourceDbBenchmarkTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type iterator : SourceFileResultSetIterator to iterator : SourceLineResultSetIterator in class org.sonar.server.source.index.SourceLineResultSetIteratorTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter uuid : String to testUuid : String in method public setUuid(testUuid String) : TestDoc in class org.sonar.server.test.index.TestDoc | From | To |