Skip to content

Commit d578e0b

Browse files
committed
Rename parameters
1 parent 721aadd commit d578e0b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.test/buildSrc/src/main/kotlin/com/igorwojda/challenge/utils/KotlinParserUtils.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ object KotlinParserUtils {
1919
).project
2020
}
2121

22-
fun getChallengeFile(challengeDirectoryPath: File, ChallengeFile: ChallengeFile): File {
23-
val path = "${challengeDirectoryPath.path}/${ChallengeFile.fileName}"
22+
fun getChallengeFile(challengeDirectoryPath: File, challengeFile: ChallengeFile): File {
23+
val path = "${challengeDirectoryPath.path}/${challengeFile.fileName}"
2424
return File(path)
2525
}
2626

27-
fun getChallengeKtFile(challengeDirectoryPath: File, ChallengeFile: ChallengeFile): KtFile {
28-
val file = getChallengeFile(challengeDirectoryPath, ChallengeFile)
29-
val fullFileName = "${challengeDirectoryPath.path}/${ChallengeFile.fileName}"
27+
fun getChallengeKtFile(challengeDirectoryPath: File, challengeFile: ChallengeFile): KtFile {
28+
val file = getChallengeFile(challengeDirectoryPath, challengeFile)
29+
val fullFileName = "${challengeDirectoryPath.path}/${challengeFile.fileName}"
3030
return getChallengeKtFile(file.readText(), fullFileName)
3131
}
3232

.test/src/test/kotlin/com/igorwojda/challenge/utils/KotlinParserUtils.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ object KotlinParserUtils {
2020
).project
2121
}
2222

23-
private fun getChallengeFile(challengeDirectoryPath: File, chalengeFile: ChallengeFile): File {
24-
val path = "${challengeDirectoryPath.path}/${chalengeFile.fileName}"
23+
private fun getChallengeFile(challengeDirectoryPath: File, challengeFile: ChallengeFile): File {
24+
val path = "${challengeDirectoryPath.path}/${challengeFile.fileName}"
2525
return File(path)
2626
}
2727

28-
fun getChallengeKtFile(pchallengeDirectoryPath: File, ChallengeFile: ChallengeFile): KtFile {
29-
val file = getChallengeFile(pchallengeDirectoryPath, ChallengeFile)
30-
val fullFileName = "${pchallengeDirectoryPath.path}/${ChallengeFile.fileName}"
28+
fun getChallengeKtFile(challengeDirectoryPath: File, challengeFile: ChallengeFile): KtFile {
29+
val file = getChallengeFile(challengeDirectoryPath, challengeFile)
30+
val fullFileName = "${challengeDirectoryPath.path}/${challengeFile.fileName}"
3131
return getChallengeKtFile(file.readText(), fullFileName)
3232
}
3333

0 commit comments

Comments
 (0)