Find ALL occurrences where we construct a file path using
and string concatenation like for example when creating a FileInputStream
and replace the construction of the file path with proper use of Java's Path constructor which can easily do this for us, like so
The task is to replace the string concatenation with proper use of Java's Paths class which can construct paths for us. The above code sample is just an example from the code base, this task does not mean you need to replace anything with FileInputStream.