Skip to content

Commit

Permalink
added license headers to scala files
Browse files Browse the repository at this point in the history
  • Loading branch information
George Zheng committed Jan 20, 2016
1 parent 0ce7f8b commit 97e0b35
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 4 deletions.
18 changes: 18 additions & 0 deletions src/main/scala/BruteForce.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
*
* 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
* https://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 com.soteradefense.correlate

import org.apache.spark.SparkContext
Expand Down
18 changes: 18 additions & 0 deletions src/main/scala/CommandLineCorrelate.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
*
* 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
* https://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 com.soteradefense.correlate

import org.apache.spark.SparkContext
Expand Down
18 changes: 18 additions & 0 deletions src/main/scala/ConfigFileInterface.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
*
* 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
* https://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 com.soteradefense.correlate

import java.util.Properties
Expand Down
21 changes: 20 additions & 1 deletion src/main/scala/CorrelationEngine.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
package com.soteradefense.correlate

/*
*
* 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
* https://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 com.soteradefense.correlate

import java.io.IOException
import java.util.Properties
Expand Down
20 changes: 19 additions & 1 deletion src/main/scala/Correlator.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
package com.soteradefense.correlate
/*
*
* 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
* https://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 com.soteradefense.correlate

import org.apache.spark.SparkContext
import org.apache.spark.SparkContext._
Expand Down
20 changes: 19 additions & 1 deletion src/main/scala/MatrixMath.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
package com.soteradefense.correlate
/*
*
* 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
* https://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 com.soteradefense.correlate

import org.apache.commons.math3.stat.correlation.PearsonsCorrelation
import scala.collection.mutable.ArrayBuffer
Expand Down
20 changes: 19 additions & 1 deletion src/main/scala/TrainingPhase.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
package com.soteradefense.correlate
/*
*
* 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
* https://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 com.soteradefense.correlate

import scala.Array.canBuildFrom
import org.apache.spark.SparkContext
Expand Down

0 comments on commit 97e0b35

Please sign in to comment.