diff --git a/benchmarks/src/main/scala/io/circe/generic/extras/benchmarks/RetryDecoderWithDefault.scala b/benchmarks/src/main/scala/io/circe/generic/extras/benchmarks/RetryDecoderWithDefault.scala index b137ba84..1e86f9e5 100644 --- a/benchmarks/src/main/scala/io/circe/generic/extras/benchmarks/RetryDecoderWithDefault.scala +++ b/benchmarks/src/main/scala/io/circe/generic/extras/benchmarks/RetryDecoderWithDefault.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe package generic.extras package benchmarks diff --git a/build.sbt b/build.sbt index 0e0bbc97..894f7185 100644 --- a/build.sbt +++ b/build.sbt @@ -103,7 +103,7 @@ lazy val benchmarks = project .dependsOn(genericExtras.jvm) .enablePlugins(JmhPlugin, NoPublishPlugin) -ThisBuild / licenses := Seq("Apache 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")) +ThisBuild / startYear := Some(2019) ThisBuild / developers := List( Developer("travisbrown", "Travis Brown", "travisrobertbrown@gmail.com", url("https://twitter.com/travisbrown")), Developer("zmccoy", "Zach McCoy", "zachabbott@gmail.com", url("https://twitter.com/zachamccoy")), diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/AutoDerivation.scala b/generic-extras/src/main/scala/io/circe/generic/extras/AutoDerivation.scala index b45cbc0b..1ee1d177 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/AutoDerivation.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/AutoDerivation.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import io.circe.{ Decoder, Encoder } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/ConfigurableDeriver.scala b/generic-extras/src/main/scala/io/circe/generic/extras/ConfigurableDeriver.scala index cb02fb51..35754de2 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/ConfigurableDeriver.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/ConfigurableDeriver.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import io.circe.generic.extras.codec.{ ConfiguredAsObjectCodec, ReprAsObjectCodec } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/Configuration.scala b/generic-extras/src/main/scala/io/circe/generic/extras/Configuration.scala index 0b1e66ba..45d42e04 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/Configuration.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/Configuration.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import java.util.regex.Pattern diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/ConfiguredJsonCodec.scala b/generic-extras/src/main/scala/io/circe/generic/extras/ConfiguredJsonCodec.scala index 0fcec684..c83d2a98 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/ConfiguredJsonCodec.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/ConfiguredJsonCodec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import io.circe.generic.util.macros.JsonCodecMacros diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/ExtrasDecoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/ExtrasDecoder.scala index 5e7297ba..19fa22ae 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/ExtrasDecoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/ExtrasDecoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import io.circe.{ Decoder, DecodingFailure, HCursor } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/JsonKey.scala b/generic-extras/src/main/scala/io/circe/generic/extras/JsonKey.scala index 79bf0429..8be740fa 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/JsonKey.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/JsonKey.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import scala.annotation.StaticAnnotation diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/auto/package.scala b/generic-extras/src/main/scala/io/circe/generic/extras/auto/package.scala index 08c9a480..ca72f2f9 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/auto/package.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/auto/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras /** diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/codec/ConfiguredAsObjectCodec.scala b/generic-extras/src/main/scala/io/circe/generic/extras/codec/ConfiguredAsObjectCodec.scala index 3b5d9164..51adee01 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/codec/ConfiguredAsObjectCodec.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/codec/ConfiguredAsObjectCodec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.codec import io.circe.{ Decoder, Encoder, HCursor, JsonObject } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/codec/EnumerationCodec.scala b/generic-extras/src/main/scala/io/circe/generic/extras/codec/EnumerationCodec.scala index c3cfabbb..c7c20970 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/codec/EnumerationCodec.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/codec/EnumerationCodec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.codec import io.circe.{ Codec, Decoder, DecodingFailure, HCursor, Json } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/codec/ReprAsObjectCodec.scala b/generic-extras/src/main/scala/io/circe/generic/extras/codec/ReprAsObjectCodec.scala index 29fe7b0e..c1a1cfd5 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/codec/ReprAsObjectCodec.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/codec/ReprAsObjectCodec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.codec import cats.data.Validated diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/codec/UnwrappedCodec.scala b/generic-extras/src/main/scala/io/circe/generic/extras/codec/UnwrappedCodec.scala index afe2c103..4140df4b 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/codec/UnwrappedCodec.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/codec/UnwrappedCodec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.codec import io.circe.{ Codec, Decoder, Encoder, HCursor, Json } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ConfiguredDecoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ConfiguredDecoder.scala index 7f6b3ab9..25055789 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ConfiguredDecoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ConfiguredDecoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.decoding import io.circe.{ Decoder, DecodingFailure, HCursor } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/EnumerationDecoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/EnumerationDecoder.scala index f9586238..47b5315a 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/EnumerationDecoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/EnumerationDecoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.decoding import io.circe.{ Decoder, DecodingFailure, HCursor } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/IncompleteConfiguredDecoders.scala b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/IncompleteConfiguredDecoders.scala index 74fc618e..2c8f4bd8 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/IncompleteConfiguredDecoders.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/IncompleteConfiguredDecoders.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.decoding import io.circe.{ Decoder, HCursor } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ReprDecoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ReprDecoder.scala index 888d27ca..8365f34c 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ReprDecoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/ReprDecoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.decoding import cats.data.Validated diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/UnwrappedDecoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/UnwrappedDecoder.scala index e157657e..8c1c2c5c 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/decoding/UnwrappedDecoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/decoding/UnwrappedDecoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.decoding import io.circe.{ Decoder, HCursor } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ConfiguredAsObjectEncoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ConfiguredAsObjectEncoder.scala index 6a79cf38..80918cb1 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ConfiguredAsObjectEncoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ConfiguredAsObjectEncoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.encoding import io.circe.JsonObject diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/EnumerationEncoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/EnumerationEncoder.scala index a0b62981..169432e7 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/EnumerationEncoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/EnumerationEncoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.encoding import io.circe.{ Encoder, Json } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ReprAsObjectEncoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ReprAsObjectEncoder.scala index 37426c6e..0833c16e 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ReprAsObjectEncoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/ReprAsObjectEncoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.encoding import io.circe.{ Encoder, Json, JsonObject } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/UnwrappedEncoder.scala b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/UnwrappedEncoder.scala index dea9548f..3c6147a0 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/UnwrappedEncoder.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/UnwrappedEncoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.encoding import io.circe.{ Encoder, Json } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/package.scala b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/package.scala index f6569eb9..5bbc73f1 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/encoding/package.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/encoding/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras package object encoding { diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/package.scala b/generic-extras/src/main/scala/io/circe/generic/extras/package.scala index b22865da..010a0b33 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/package.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic import io.circe.Codec diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/semiauto.scala b/generic-extras/src/main/scala/io/circe/generic/extras/semiauto.scala index 95c4012b..6e56c284 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/semiauto.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/semiauto.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import io.circe.{ Codec, Decoder, Encoder } diff --git a/generic-extras/src/main/scala/io/circe/generic/extras/util/RecordToMap.scala b/generic-extras/src/main/scala/io/circe/generic/extras/util/RecordToMap.scala index 20bd6228..39183a5e 100644 --- a/generic-extras/src/main/scala/io/circe/generic/extras/util/RecordToMap.scala +++ b/generic-extras/src/main/scala/io/circe/generic/extras/util/RecordToMap.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.util import scala.collection.immutable.Map diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/CirceSuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/CirceSuite.scala index 64c644f8..588aa833 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/CirceSuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/CirceSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.instances._ diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredAutoDerivedSuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredAutoDerivedSuite.scala index e767051a..7f845e27 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredAutoDerivedSuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredAutoDerivedSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.data.Validated diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecSuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecSuite.scala index cef8fc44..bb9763b9 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecSuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.kernel.Eq diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecWithKeySuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecWithKeySuite.scala index abc1d811..fde26a0b 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecWithKeySuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredJsonCodecWithKeySuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.kernel.Eq diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredSemiautoDerivedSuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredSemiautoDerivedSuite.scala index a49f7f44..25c10658 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredSemiautoDerivedSuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/ConfiguredSemiautoDerivedSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.kernel.Eq diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/EnumerationSemiautoDerivedSuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/EnumerationSemiautoDerivedSuite.scala index 22336fde..a35a1727 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/EnumerationSemiautoDerivedSuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/EnumerationSemiautoDerivedSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import io.circe.{ Codec, Decoder, Encoder } diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/UnwrappedSemiautoDerivedSuite.scala b/generic-extras/src/test/scala/io/circe/generic/extras/UnwrappedSemiautoDerivedSuite.scala index d3df583a..415ea81e 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/UnwrappedSemiautoDerivedSuite.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/UnwrappedSemiautoDerivedSuite.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.Eq diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/examples/CardinalDirection.scala b/generic-extras/src/test/scala/io/circe/generic/extras/examples/CardinalDirection.scala index 6d64c743..747dd12a 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/examples/CardinalDirection.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/examples/CardinalDirection.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras.examples import cats.kernel.Eq diff --git a/generic-extras/src/test/scala/io/circe/generic/extras/examples/package.scala b/generic-extras/src/test/scala/io/circe/generic/extras/examples/package.scala index 3fde79fe..1c7cef03 100644 --- a/generic-extras/src/test/scala/io/circe/generic/extras/examples/package.scala +++ b/generic-extras/src/test/scala/io/circe/generic/extras/examples/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2019 circe + * + * 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 io.circe.generic.extras import cats.instances.AllInstances