RegexChecker reports use of println

125 views
Skip to first unread message

Dominik Haneberg

unread,
Aug 18, 2015, 6:06:24 AM8/18/15
to Scalastyle users
Hi!
I just started using scalastyle and in some cases I'm not sure what to make of the warnings I receive. The RegexChecker reports files calling the println()-method and I don't see what the problem might be. Why is using println() discouraged?

Geetings,
Dominik

Matthew Farwell

unread,
Aug 18, 2015, 5:20:38 PM8/18/15
to scalasty...@googlegroups.com
Hi,

There isn't really a problem using println, but, in general you should be using a logger such as slf4j / logback.

Have fun,

Matthew Farwell.



--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes "Scalastyle users".
Pour vous désabonner de ce groupe et ne plus recevoir d'e-mails le concernant, envoyez un e-mail à l'adresse scalastyle-use...@googlegroups.com.
Pour envoyer un message à ce groupe, envoyez un e-mail à l'adresse scalasty...@googlegroups.com.
Visitez ce groupe à l'adresse http://groups.google.com/group/scalastyle-users.
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.

Kentaro Nishi

unread,
Nov 18, 2015, 7:50:36 PM11/18/15
to Scalastyle users
Hello,

I wonder why does RegexChecker not report use of "print" by default while it reports "println" ?

Thanks

Kentaro

2015年8月19日水曜日 6時20分38秒 UTC+9 Matthew Farwell:
Reply all
Reply to author
Forward
0 new messages