Skip to content

Commit

Permalink
Add headers to numerous files
Browse files Browse the repository at this point in the history
Also add headerCheck to .travis.yml.
  • Loading branch information
eatkins committed May 11, 2019
1 parent fde2dd3 commit 05ff469
Show file tree
Hide file tree
Showing 43 changed files with 420 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ matrix:
include:
- scala: 2.12.8
env:
CMD="mimaReportBinaryIssues scalafmtCheckAll test whitesourceCheckPolicies doc"
CMD="mimaReportBinaryIssues scalafmtCheckAll headerCheck Test/headerCheck test whitesourceCheckPolicies doc"
TRAVIS_SCALA_VERSION=2.12.8
[email protected]
os: linux
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/internal/nio/FileCache.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import java.nio.file.{ Path, Paths }
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/internal/nio/Globs.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import java.nio.file.Path
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/internal/nio/TimeSource.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import scala.concurrent.duration._
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/nio/file/ChangedFiles.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.nio.file

import java.nio.file.Path
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/nio/file/FileAttributes.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.nio.file

import java.io.IOException
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/nio/file/FileTreeView.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.nio.file

import java.io.IOException
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/nio/file/Glob.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.nio.file

import java.io.File
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/nio/file/package.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.nio

package object file {
Expand Down
10 changes: 10 additions & 0 deletions io/src/main/scala/sbt/nio/file/syntax/package.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.nio.file

import java.io.File
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/io/DefaultWatchServiceSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.io

import java.nio.file.FileSystems
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/io/JavaMilliSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import org.scalatest.FlatSpec
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/io/PollingWatchServiceSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.io

import sbt.internal.nio.PollingWatchService
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.io

import java.io.IOException
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/io/SourceSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.io

import java.io.File
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt
package internal
package io
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/nio/FileEventMonitorSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import java.nio.file.Paths
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/nio/FileTreeRepositorySpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import java.nio.file._
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/nio/GlobsSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import java.io.File
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/internal/nio/MacOSXWatchServiceSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.internal.nio

import java.nio.file.{ Files, WatchKey }
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/CombinedFilterSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io
import java.io.File

Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/CopyDirectorySpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import java.nio.file._
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/CopySpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import java.io.File
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/FileSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import org.scalatest._
Expand Down
11 changes: 9 additions & 2 deletions io/src/test/scala/sbt/io/FileUtilitiesSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
/* sbt -- Simple Build Tool
* Copyright 2008, 2009 Mark Harrah
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import java.io.File
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/GlobFilterSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io
import java.io.File

Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/IOSpec.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import java.io.File
Expand Down
10 changes: 10 additions & 0 deletions io/src/test/scala/sbt/io/IOSpecification.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* sbt IO
*
* Copyright 2011 - 2019, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*/

package sbt.io

import scala.util.Try
Expand Down
Loading

0 comments on commit 05ff469

Please sign in to comment.