This is an automated email from the ASF dual-hosted git repository.
olabusayo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil.git
The following commit(s) were added to refs/heads/main by this push:
new 7fdeae7d0 Fix Deprecated Procedure Syntax
7fdeae7d0 is described below
commit 7fdeae7d04c7482b27c657ada1d1f6ba14e6e9b0
Author: olabusayoT <[email protected]>
AuthorDate: Wed Feb 5 15:12:07 2025 -0500
Fix Deprecated Procedure Syntax
- use Scalafix ProcedureSyntax
DAFFODIL-2152
---
.../scala/org/apache/daffodil/cli/debugger/CLIDebuggerRunner.scala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/daffodil-cli/src/main/scala/org/apache/daffodil/cli/debugger/CLIDebuggerRunner.scala
b/daffodil-cli/src/main/scala/org/apache/daffodil/cli/debugger/CLIDebuggerRunner.scala
index 3569cd222..c2014b53d 100644
---
a/daffodil-cli/src/main/scala/org/apache/daffodil/cli/debugger/CLIDebuggerRunner.scala
+++
b/daffodil-cli/src/main/scala/org/apache/daffodil/cli/debugger/CLIDebuggerRunner.scala
@@ -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)
}