The original codes:
def args: List[String] = List(
"parameter1",
)
When run scalastyle, the error message is:
illegal start of simple expression: Token(RPAREN,),135,))
The error message didn't show any information.
The original codes:
def args: List[String] = List(
"parameter1",
)
When run scalastyle, the error message is:
illegal start of simple expression: Token(RPAREN,),135,))
The error message didn't show any information.
It's because of extra comma. So the correct way is: