-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused local variables from test files (#6940)
* Remove unused local variables from test files Remove unused local variables from test files. * Remove the unused local variable `applicationSession` from the `loadTest`, `persistTest`, `mergeTest`, `findFirstByPropertyTest`, `findListByPropertyTest`, `findListByPropertyInListTest`, `getAllTest`, `getPageTest`, and `getPageOrderByTest` methods in `service.data.impl/src/test/java/com/hack23/cia/service/data/impl/ApplicationSessionDAOITest.java`. * Remove the unused local variable `riksdagenDateUtil` from the `tryToFindValidVoteDateListExistSameDateSuccess`, `tryToFindValidVoteDateListExistDifferentDateSuccess`, `tryToFindValidVoteDateBallotCreatedDayExistSuccess`, `tryToFindValidVoteDateBallotCreatedDayInvalidFallbackToSystemDateExistSuccess`, `tryToFindValidVoteDateBallotPublicDateExistSuccess`, `tryToFindValidVoteDateSystemDateExistSuccess`, and `tryToFindValidVoteDateSystemDateInvalidFallbackToPublicDateExistSuccess` methods in `service.external.riksdagen/src/test/java/com/hack23/cia/service/external/riksdagen/impl/RiksdagenDateUtilTest.java`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Hack23/cia?shareId=XXXX-XXXX-XXXX-XXXX). * Rename variables to avoid using restricted identifiers * Rename `record` to `csvRecord` in multiple locations to avoid using restricted identifiers * Update method parameters and variable names accordingly
- Loading branch information
Showing
3 changed files
with
27 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters