Skip to content

Commit 162c86d

Browse files
committed
Remove parens
1 parent 5b02764 commit 162c86d

File tree

1 file changed

+1
-2
lines changed
  • shared/src/main/scala/scala/util/parsing/combinator/lexical

1 file changed

+1
-2
lines changed

shared/src/main/scala/scala/util/parsing/combinator/lexical/Scanners.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ trait Scanners extends Parsers {
4545
*/
4646
class Scanner(in: Reader[Char]) extends Reader[Token] {
4747
/** Convenience constructor (makes a character reader out of the given string) */
48-
def this(in: String) = this(new CharArrayReader(in.toCharArray()))
48+
def this(in: String) = this(new CharArrayReader(in.toCharArray))
4949
private val (tok, rest1, rest2) = whitespace(in) match {
5050
case Success(_, in1) =>
5151
token(in1) match {
@@ -64,4 +64,3 @@ trait Scanners extends Parsers {
6464
def atEnd = in.atEnd || (whitespace(in) match { case Success(_, in1) => in1.atEnd case _ => false })
6565
}
6666
}
67-

0 commit comments

Comments
 (0)