blob: 26c008d66ffde57f2ceb805f693afde1165cf40f (
plain) (
tree)
|
|
abstract class FileOps {
def withLock[R](start: Long = 0): Option[R]
}
trait DefaultFileOps {
self: DefaultPath =>
override def withLock[R](start: Long = 5): Option[R] = None
}
class DefaultPath extends FileOps with DefaultFileOps { }
|