diff options
Diffstat (limited to 'repl')
-rw-r--r-- | repl/src/main/scala/org/apache/spark/repl/SparkCommandLine.scala | 19 | ||||
-rw-r--r-- | repl/src/main/scala/org/apache/spark/repl/SparkRunnerSettings.scala | 19 |
2 files changed, 34 insertions, 4 deletions
diff --git a/repl/src/main/scala/org/apache/spark/repl/SparkCommandLine.scala b/repl/src/main/scala/org/apache/spark/repl/SparkCommandLine.scala index acb1e4ceda..05816941b5 100644 --- a/repl/src/main/scala/org/apache/spark/repl/SparkCommandLine.scala +++ b/repl/src/main/scala/org/apache/spark/repl/SparkCommandLine.scala @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.apache.spark.repl import scala.tools.nsc.{Settings, CompilerCommand} @@ -6,8 +23,6 @@ import scala.Predef._ /** * Command class enabling Spark-specific command line options (provided by * <i>org.apache.spark.repl.SparkRunnerSettings</i>). - * - * @author Luca Rosellini <luca@stratio.com> */ class SparkCommandLine(args: List[String], override val settings: Settings) extends CompilerCommand(args, settings) { diff --git a/repl/src/main/scala/org/apache/spark/repl/SparkRunnerSettings.scala b/repl/src/main/scala/org/apache/spark/repl/SparkRunnerSettings.scala index 235a688334..7fd5fbb424 100644 --- a/repl/src/main/scala/org/apache/spark/repl/SparkRunnerSettings.scala +++ b/repl/src/main/scala/org/apache/spark/repl/SparkRunnerSettings.scala @@ -1,3 +1,20 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package org.apache.spark.repl import scala.tools.nsc.Settings @@ -5,8 +22,6 @@ import scala.tools.nsc.Settings /** * <i>scala.tools.nsc.Settings</i> implementation adding Spark-specific REPL * command line options. - * - * @author Luca Rosellini <luca@stratio.com> */ class SparkRunnerSettings(error: String => Unit) extends Settings(error){ |