diff --git a/domain/src/main/scala/net/kemitix/thorp/domain/Sources.scala b/domain/src/main/scala/net/kemitix/thorp/domain/Sources.scala index 5af8e08..a6a60f9 100644 --- a/domain/src/main/scala/net/kemitix/thorp/domain/Sources.scala +++ b/domain/src/main/scala/net/kemitix/thorp/domain/Sources.scala @@ -24,10 +24,6 @@ case class Sources( /** * Returns the source path for the given path. - * - * @param path the path to find the matching source - * @return the source for the path - * @throws NoSuchElementException if no source matches the path */ def forPath(path: Path): Path = paths.find(source => path.startsWith(source)).get