summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonrad `ktoso` Malawski <ktoso@project13.pl>2017-10-24 14:14:38 +0900
committerGitHub <noreply@github.com>2017-10-24 14:14:38 +0900
commitdd8a29a5a9fa2fa3505fa95f46984ed2285178a9 (patch)
treeaf69326891210d3d3f2b3e0a35f5d0bed6c0ee4f
parentea6daec0f5d4923048e60c767acc78a6861cf0be (diff)
parent1c8435f6ab93fa52c43ee12412f2f6286a616db3 (diff)
downloadspray-json-dd8a29a5a9fa2fa3505fa95f46984ed2285178a9.tar.gz
spray-json-dd8a29a5a9fa2fa3505fa95f46984ed2285178a9.tar.bz2
spray-json-dd8a29a5a9fa2fa3505fa95f46984ed2285178a9.zip
Merge pull request #240 from ktoso/wip-license
add copyright headers to new files
-rw-r--r--src/main/scala/spray/json/SortedPrinter.scala16
-rw-r--r--src/test/scala/spray/json/RoundTripSpecs.scala16
-rw-r--r--src/test/scala/spray/json/SortedPrinterSpec.scala16
3 files changed, 48 insertions, 0 deletions
diff --git a/src/main/scala/spray/json/SortedPrinter.scala b/src/main/scala/spray/json/SortedPrinter.scala
index 070d36c..28db225 100644
--- a/src/main/scala/spray/json/SortedPrinter.scala
+++ b/src/main/scala/spray/json/SortedPrinter.scala
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2011 Mathias Doenitz
+ *
+ * Licensed 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 spray.json
trait SortedPrinter extends PrettyPrinter {
diff --git a/src/test/scala/spray/json/RoundTripSpecs.scala b/src/test/scala/spray/json/RoundTripSpecs.scala
index 24b2354..6bee7b4 100644
--- a/src/test/scala/spray/json/RoundTripSpecs.scala
+++ b/src/test/scala/spray/json/RoundTripSpecs.scala
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2011 Mathias Doenitz
+ *
+ * Licensed 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 spray.json
import org.specs2.mutable.Specification
diff --git a/src/test/scala/spray/json/SortedPrinterSpec.scala b/src/test/scala/spray/json/SortedPrinterSpec.scala
index 0ea1045..3a5e3ed 100644
--- a/src/test/scala/spray/json/SortedPrinterSpec.scala
+++ b/src/test/scala/spray/json/SortedPrinterSpec.scala
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2011 Mathias Doenitz
+ *
+ * Licensed 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 spray.json
import scala.collection.immutable.ListMap