File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
main/scala/org/apache/spark/deploy
test/scala/org/apache/spark/deploy Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,9 @@ private[spark] object RPackageUtils extends Logging {
171171 level : Level = Level .FINE ,
172172 e : Throwable = null ): Unit = {
173173 if (printStream != null ) {
174+ // scalastyle:off println
174175 printStream.println(msg)
176+ // scalastyle:on println
175177 if (e != null ) {
176178 e.printStackTrace(printStream)
177179 }
Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ class RPackageUtilsSuite extends SparkFunSuite with BeforeAndAfterEach {
4848
4949 /** Simple PrintStream that reads data into a buffer */
5050 private class BufferPrintStream extends PrintStream (noOpOutputStream) {
51+ // scalastyle:off println
5152 override def println (line : String ) {
53+ // scalastyle:on println
5254 lineBuffer += line
5355 }
5456 }
You can’t perform that action at this time.
0 commit comments