apache/spark — pull request #1077 by gabrielenizzoli (2014-06-13 19:10:57+00:00)
Title: Fix for newFilesOnly logic in file DStream

The newFilesOnly logic should be inverted: if newFilesOnly==true then only start reading files older than current time. As the code is now if newFilesOnly==true then it will start to read files that are older than 0L (that is: every file in the directory).