Scalastyle standard configuration
true
ARROW, EQUALS, ELSE, TRY, CATCH, FINALLY, LARROW, RARROW
ARROW, EQUALS, COMMA, COLON, IF, ELSE, DO, WHILE, FOR, MATCH, TRY, CATCH, FINALLY,
LARROW, RARROW
@VisibleForTesting
Runtime\.getRuntime\.addShutdownHook
mutable\.SynchronizedBuffer
Class\.forName
JavaConversions
Instead of importing implicits in scala.collection.JavaConversions._, import
scala.collection.JavaConverters._ and use .asScala / .asJava methods
java,scala,3rdParty,dmlc
javax?\..*
scala\..*
(?!ml\.dmlc\.xgboost4j).*
ml.dmlc.xgboost4j.*
COMMA
800>
30
10
50
-1,0,1,2,3
procedure syntax is deprecated in Scala 2.13: add return type `: Unit` and `=`
ArrayBuilder.make\[(.+)\]\(\)
false
ArrayBuilder.make does not accept parens anymore in Scala 2.13
(: |\[)(Indexed)?Seq\[[A-Za-z0-9_]+\]
false