Skip to content

Commit 7ca9c47

Browse files
authored
Merge pull request #414 from matomer/patch-1
Small documentation fix to `RegularFileFilter`
2 parents a65e15c + 12ebb57 commit 7ca9c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/src/main/scala/sbt/io/NameFilter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ case object DirectoryFilter extends FileFilter with PathFilter {
223223
override def accept(path: NioPath, attributes: FileAttributes): Boolean = attributes.isDirectory
224224
}
225225

226-
/** A [[FileFilter]] that selects files that are a directory according to `java.io.File.isFile`. */
226+
/** A [[FileFilter]] that selects files that are a normal file according to `java.io.File.isFile`. */
227227
case object RegularFileFilter extends FileFilter with PathFilter {
228228
def accept(file: File): Boolean = file.isFile
229229
override def accept(path: NioPath, attributes: FileAttributes): Boolean = attributes.isRegularFile

0 commit comments

Comments
 (0)