Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

That is, isSameFile() may simply check that the paths to the two files are the same. This does not exclude the possibility that the file at that path has been replaced by a different file between the two open operations.

Compliant Solution (Multiple Attributes)

...