Skip to content

Commit

Permalink
Fix Deprecated Procedure Syntax
Browse files Browse the repository at this point in the history
- use Scalafix ProcedureSyntax

DAFFODIL-2152
  • Loading branch information
olabusayoT committed Feb 6, 2025
1 parent ba465e3 commit 7fdeae7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ class CLIDebuggerRunner(cmdsIter: Iterator[String], in: InputStream, out: PrintS
extends InteractiveDebuggerRunner {
private val prompt = "(debug) "

def this(in: InputStream = System.in, out: PrintStream = System.out) {
def this(in: InputStream = System.in, out: PrintStream = System.out) = {
this(Iterator.empty, in, out)
}

def this(file: File, in: InputStream, out: PrintStream) {
def this(file: File, in: InputStream, out: PrintStream) = {
this(Source.fromFile(file).getLines, in, out)
}

def this(seq: Seq[String], in: InputStream, out: PrintStream) {
def this(seq: Seq[String], in: InputStream, out: PrintStream) = {
this(seq.iterator, in, out)
}

Expand Down

0 comments on commit 7fdeae7

Please sign in to comment.