Skip to content

Commit

Permalink
added explicate type for function getSrcAndDest
Browse files Browse the repository at this point in the history
  • Loading branch information
icemanx7 committed Mar 31, 2018
1 parent 126baa7 commit 8654743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/ReadFiles.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object ReadFiles {
x.renameTo(getSrcAndDest(origPath, x))
}

def getSrcAndDest(origPath: String, file: File) = {
def getSrcAndDest(origPath: String, file: File): File = {
new File(s"${origPath}/${file.getName}")
}

Expand Down

0 comments on commit 8654743

Please sign in to comment.