From a6b9b436387e478a3227099fee7f43a3e3b558d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dejan=20Miji=C4=87?= Date: Sun, 9 Jan 2022 08:42:37 +0000 Subject: [PATCH] Set copyright header (#513) --- LICENSE | 2 +- .../main/scala/zio/redis/BenchmarkRuntime.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/BenchmarksUtils.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/RedisClients.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HDelBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HExistsBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HGetAllBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HGetBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HIncrbyBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/hash/HIncrbyFloatBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HKeysBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HLenBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HMGetBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HMSetBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HSetBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HSetNxBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HStrLenBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/hash/HValsBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/BlMoveBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/BlPopBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/BrPopBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/lists/BrPopLPushBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LIndexBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/lists/LInsertBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LLenBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LMoveBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LPopBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LPosBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/lists/LPosCountBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LPushBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LPushXBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LRangeBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LRemBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LSetBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/LTrimBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/RPopBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/lists/RPopLPushBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/RPushBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/lists/RPushXBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SAddBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SCardBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SDiffBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/sets/SDiffStoreBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SInterBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/sets/SInterStoreBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/sets/SIsMemberBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/sets/SMembersBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SMoveBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SPopBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/sets/SRandMemberBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SRemBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/sets/SUnionBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/sets/SUnionStoreBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/strings/AppendBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/strings/DecrBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/strings/GetBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/strings/GetBitBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/strings/IncrBenchmarks.scala | 16 ++++++++++++++++ .../scala/zio/redis/strings/SetBenchmarks.scala | 16 ++++++++++++++++ .../zio/redis/strings/StrLenBenchmarks.scala | 16 ++++++++++++++++ build.sbt | 10 ++++++---- example/src/main/scala/example/ApiError.scala | 16 ++++++++++++++++ .../src/main/scala/example/Contributions.scala | 16 ++++++++++++++++ example/src/main/scala/example/Contributor.scala | 16 ++++++++++++++++ .../src/main/scala/example/Contributors.scala | 16 ++++++++++++++++ .../main/scala/example/ContributorsCache.scala | 16 ++++++++++++++++ example/src/main/scala/example/Login.scala | 16 ++++++++++++++++ example/src/main/scala/example/Main.scala | 16 ++++++++++++++++ example/src/main/scala/example/Name.scala | 16 ++++++++++++++++ example/src/main/scala/example/Owner.scala | 16 ++++++++++++++++ example/src/main/scala/example/Repository.scala | 16 ++++++++++++++++ example/src/main/scala/example/api/Api.scala | 16 ++++++++++++++++ .../main/scala/example/config/AppConfig.scala | 16 ++++++++++++++++ .../main/scala/example/config/ServerConfig.scala | 16 ++++++++++++++++ example/src/main/scala/example/package.scala | 16 ++++++++++++++++ project/plugins.sbt | 1 + redis/src/main/scala/zio/redis/ByteStream.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/Input.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/Output.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/RedisCommand.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/RedisConfig.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/RedisError.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/RedisExecutor.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/RespValue.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/ResultBuilder.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/TestExecutor.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/api/Connection.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Geo.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Hashes.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/api/HyperLogLog.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Keys.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Lists.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/api/Scripting.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Sets.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/api/SortedSets.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Streams.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/api/Strings.scala | 16 ++++++++++++++++ .../scala/zio/redis/codec/StringUtf8Codec.scala | 16 ++++++++++++++++ .../scala/zio/redis/options/Connection.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/options/Geo.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/options/Keys.scala | 16 ++++++++++++++++ .../src/main/scala/zio/redis/options/Lists.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/options/Scripting.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/options/Shared.scala | 16 ++++++++++++++++ .../scala/zio/redis/options/SortedSets.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/options/Streams.scala | 16 ++++++++++++++++ .../main/scala/zio/redis/options/Strings.scala | 16 ++++++++++++++++ redis/src/main/scala/zio/redis/package.scala | 16 ++++++++++++++++ 108 files changed, 1688 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index 261eeb9..74802eb 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2021 John A. De Goes and the ZIO Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/benchmarks/src/main/scala/zio/redis/BenchmarkRuntime.scala b/benchmarks/src/main/scala/zio/redis/BenchmarkRuntime.scala index a01949d..7238c5f 100644 --- a/benchmarks/src/main/scala/zio/redis/BenchmarkRuntime.scala +++ b/benchmarks/src/main/scala/zio/redis/BenchmarkRuntime.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import zio.BootstrapRuntime diff --git a/benchmarks/src/main/scala/zio/redis/BenchmarksUtils.scala b/benchmarks/src/main/scala/zio/redis/BenchmarksUtils.scala index 2de5f8e..f9f3cfc 100644 --- a/benchmarks/src/main/scala/zio/redis/BenchmarksUtils.scala +++ b/benchmarks/src/main/scala/zio/redis/BenchmarksUtils.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import cats.effect.{IO => CatsIO} diff --git a/benchmarks/src/main/scala/zio/redis/RedisClients.scala b/benchmarks/src/main/scala/zio/redis/RedisClients.scala index bef6645..c4cf56c 100644 --- a/benchmarks/src/main/scala/zio/redis/RedisClients.scala +++ b/benchmarks/src/main/scala/zio/redis/RedisClients.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import cats.effect.unsafe.implicits.global diff --git a/benchmarks/src/main/scala/zio/redis/hash/HDelBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HDelBenchmarks.scala index 8a074f8..b5327dd 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HDelBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HDelBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HExistsBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HExistsBenchmarks.scala index 3a852da..c5ed841 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HExistsBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HExistsBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HGetAllBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HGetAllBenchmarks.scala index 37874be..69be197 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HGetAllBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HGetAllBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HGetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HGetBenchmarks.scala index 85e5d26..67eba7f 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HGetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HGetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HIncrbyBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HIncrbyBenchmarks.scala index 42e603d..a292ed8 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HIncrbyBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HIncrbyBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HIncrbyFloatBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HIncrbyFloatBenchmarks.scala index 510894f..0fea9dc 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HIncrbyFloatBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HIncrbyFloatBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HKeysBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HKeysBenchmarks.scala index faced1f..ebd8339 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HKeysBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HKeysBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HLenBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HLenBenchmarks.scala index 7861bd8..97b862f 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HLenBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HLenBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HMGetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HMGetBenchmarks.scala index 40a7bbd..c8e8002 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HMGetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HMGetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HMSetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HMSetBenchmarks.scala index dc01570..397ae35 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HMSetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HMSetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HSetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HSetBenchmarks.scala index d7fbb1a..97190b5 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HSetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HSetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HSetNxBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HSetNxBenchmarks.scala index b240cf7..b2ff3b0 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HSetNxBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HSetNxBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HStrLenBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HStrLenBenchmarks.scala index de79392..28c328c 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HStrLenBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HStrLenBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/hash/HValsBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/hash/HValsBenchmarks.scala index 89c261f..a45f685 100644 --- a/benchmarks/src/main/scala/zio/redis/hash/HValsBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/hash/HValsBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.hash import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/BlMoveBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/BlMoveBenchmarks.scala index ebaf2ce..a248506 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/BlMoveBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/BlMoveBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/BlPopBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/BlPopBenchmarks.scala index 3a712b8..0a5b489 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/BlPopBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/BlPopBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/BrPopBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/BrPopBenchmarks.scala index 1b3d1a6..77d9765 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/BrPopBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/BrPopBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/BrPopLPushBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/BrPopLPushBenchmarks.scala index 56fba1f..5a5ab9d 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/BrPopLPushBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/BrPopLPushBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LIndexBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LIndexBenchmarks.scala index 4a6f914..dd9f684 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LIndexBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LIndexBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LInsertBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LInsertBenchmarks.scala index d7f207d..50e546b 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LInsertBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LInsertBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LLenBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LLenBenchmarks.scala index 2aa2783..7c981cc 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LLenBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LLenBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LMoveBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LMoveBenchmarks.scala index b59df5f..97b511e 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LMoveBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LMoveBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LPopBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LPopBenchmarks.scala index 97934f0..761864b 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LPopBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LPopBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LPosBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LPosBenchmarks.scala index 203fc68..195943b 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LPosBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LPosBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LPosCountBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LPosCountBenchmarks.scala index fe82def..045e706 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LPosCountBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LPosCountBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LPushBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LPushBenchmarks.scala index 4c15b77..4573568 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LPushBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LPushBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LPushXBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LPushXBenchmarks.scala index 578140f..74aa274 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LPushXBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LPushXBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LRangeBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LRangeBenchmarks.scala index 26f2950..ddfa4ea 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LRangeBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LRangeBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LRemBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LRemBenchmarks.scala index 32cc923..f90d619 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LRemBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LRemBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LSetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LSetBenchmarks.scala index e5da678..4990d52 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LSetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LSetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/LTrimBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/LTrimBenchmarks.scala index 38847d5..32ef0da 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/LTrimBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/LTrimBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/RPopBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/RPopBenchmarks.scala index c10bea2..ee00667 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/RPopBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/RPopBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/RPopLPushBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/RPopLPushBenchmarks.scala index 400500a..87a8a28 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/RPopLPushBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/RPopLPushBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/RPushBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/RPushBenchmarks.scala index 5179be2..7a8be5e 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/RPushBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/RPushBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/lists/RPushXBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/lists/RPushXBenchmarks.scala index 77907ec..7bd1a49 100644 --- a/benchmarks/src/main/scala/zio/redis/lists/RPushXBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/lists/RPushXBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.lists import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SAddBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SAddBenchmarks.scala index e2ded9b..4180048 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SAddBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SAddBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SCardBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SCardBenchmarks.scala index 554a076..d2bbf34 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SCardBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SCardBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SDiffBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SDiffBenchmarks.scala index 815189f..5c6b36d 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SDiffBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SDiffBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SDiffStoreBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SDiffStoreBenchmarks.scala index 0a5e945..4615370 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SDiffStoreBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SDiffStoreBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SInterBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SInterBenchmarks.scala index 144e4be..f1e84ab 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SInterBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SInterBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SInterStoreBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SInterStoreBenchmarks.scala index 4874c43..92a2fbe 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SInterStoreBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SInterStoreBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SIsMemberBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SIsMemberBenchmarks.scala index c599759..3323904 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SIsMemberBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SIsMemberBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SMembersBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SMembersBenchmarks.scala index 7f9c11a..20c1444 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SMembersBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SMembersBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SMoveBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SMoveBenchmarks.scala index dc1e9b3..583d9f6 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SMoveBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SMoveBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SPopBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SPopBenchmarks.scala index 75aac1a..98494f6 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SPopBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SPopBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SRandMemberBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SRandMemberBenchmarks.scala index 606a299..4aea5fa 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SRandMemberBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SRandMemberBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SRemBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SRemBenchmarks.scala index dfc41b8..e4e4bf6 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SRemBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SRemBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SUnionBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SUnionBenchmarks.scala index 6c77f5b..540461d 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SUnionBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SUnionBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/sets/SUnionStoreBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/sets/SUnionStoreBenchmarks.scala index bee28e6..43d879e 100644 --- a/benchmarks/src/main/scala/zio/redis/sets/SUnionStoreBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/sets/SUnionStoreBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.sets import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/AppendBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/AppendBenchmarks.scala index 0f410b9..2c7e703 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/AppendBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/AppendBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/DecrBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/DecrBenchmarks.scala index 273c93f..4e4ea56 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/DecrBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/DecrBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/GetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/GetBenchmarks.scala index 4c1f497..a22b37d 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/GetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/GetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/GetBitBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/GetBitBenchmarks.scala index 46cd42d..5b6c7b6 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/GetBitBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/GetBitBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/IncrBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/IncrBenchmarks.scala index 67b9e4a..8e62466 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/IncrBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/IncrBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/SetBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/SetBenchmarks.scala index 293fc4a..1127776 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/SetBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/SetBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/benchmarks/src/main/scala/zio/redis/strings/StrLenBenchmarks.scala b/benchmarks/src/main/scala/zio/redis/strings/StrLenBenchmarks.scala index aa87b8f..26daa4c 100644 --- a/benchmarks/src/main/scala/zio/redis/strings/StrLenBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/redis/strings/StrLenBenchmarks.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.strings import java.util.concurrent.TimeUnit diff --git a/build.sbt b/build.sbt index d6a6781..6d98c7e 100644 --- a/build.sbt +++ b/build.sbt @@ -4,13 +4,15 @@ Global / onChangedBuildSource := ReloadOnSourceChanges inThisBuild( List( - organization := "dev.zio", - homepage := Some(url("https://github.com/zio/zio-redis/")), - licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), developers := List( Developer("jdegoes", "John De Goes", "john@degoes.net", url("https://degoes.net")), Developer("mijicd", "Dejan Mijic", "dmijic@acm.org", url("https://github.com/mijicd")) - ) + ), + homepage := Some(url("https://github.com/zio/zio-redis/")), + licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), + organization := "dev.zio", + organizationName := "John A. De Goes and the ZIO contributors", + startYear := Some(2021) ) ) diff --git a/example/src/main/scala/example/ApiError.scala b/example/src/main/scala/example/ApiError.scala index 4e768b0..c7c773f 100644 --- a/example/src/main/scala/example/ApiError.scala +++ b/example/src/main/scala/example/ApiError.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import scala.util.control.NoStackTrace diff --git a/example/src/main/scala/example/Contributions.scala b/example/src/main/scala/example/Contributions.scala index 0a5291d..1c72190 100644 --- a/example/src/main/scala/example/Contributions.scala +++ b/example/src/main/scala/example/Contributions.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import zio.json._ diff --git a/example/src/main/scala/example/Contributor.scala b/example/src/main/scala/example/Contributor.scala index 51b9b3a..45931cd 100644 --- a/example/src/main/scala/example/Contributor.scala +++ b/example/src/main/scala/example/Contributor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import zio.json.{DeriveJsonCodec, JsonCodec} diff --git a/example/src/main/scala/example/Contributors.scala b/example/src/main/scala/example/Contributors.scala index 64f9d98..3baffe9 100644 --- a/example/src/main/scala/example/Contributors.scala +++ b/example/src/main/scala/example/Contributors.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import zio.Chunk diff --git a/example/src/main/scala/example/ContributorsCache.scala b/example/src/main/scala/example/ContributorsCache.scala index 65ee9f0..331ff61 100644 --- a/example/src/main/scala/example/ContributorsCache.scala +++ b/example/src/main/scala/example/ContributorsCache.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import example.ApiError._ diff --git a/example/src/main/scala/example/Login.scala b/example/src/main/scala/example/Login.scala index fae681a..54f70d5 100644 --- a/example/src/main/scala/example/Login.scala +++ b/example/src/main/scala/example/Login.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import zio.json.JsonCodec diff --git a/example/src/main/scala/example/Main.scala b/example/src/main/scala/example/Main.scala index 32a50f9..48e1dd1 100644 --- a/example/src/main/scala/example/Main.scala +++ b/example/src/main/scala/example/Main.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import com.typesafe.config.ConfigFactory diff --git a/example/src/main/scala/example/Name.scala b/example/src/main/scala/example/Name.scala index f571048..9ab722c 100644 --- a/example/src/main/scala/example/Name.scala +++ b/example/src/main/scala/example/Name.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import zio.prelude.Newtype diff --git a/example/src/main/scala/example/Owner.scala b/example/src/main/scala/example/Owner.scala index f89a9c2..9732ad9 100644 --- a/example/src/main/scala/example/Owner.scala +++ b/example/src/main/scala/example/Owner.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example import zio.prelude.Newtype diff --git a/example/src/main/scala/example/Repository.scala b/example/src/main/scala/example/Repository.scala index 3f2e377..29f2001 100644 --- a/example/src/main/scala/example/Repository.scala +++ b/example/src/main/scala/example/Repository.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example final case class Repository(owner: Owner, name: Name) { diff --git a/example/src/main/scala/example/api/Api.scala b/example/src/main/scala/example/api/Api.scala index 96363df..321166c 100644 --- a/example/src/main/scala/example/api/Api.scala +++ b/example/src/main/scala/example/api/Api.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example.api import example._ diff --git a/example/src/main/scala/example/config/AppConfig.scala b/example/src/main/scala/example/config/AppConfig.scala index 943ccc8..84f218a 100644 --- a/example/src/main/scala/example/config/AppConfig.scala +++ b/example/src/main/scala/example/config/AppConfig.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example.config import zio.config.ConfigDescriptor diff --git a/example/src/main/scala/example/config/ServerConfig.scala b/example/src/main/scala/example/config/ServerConfig.scala index 698e4a8..50ab080 100644 --- a/example/src/main/scala/example/config/ServerConfig.scala +++ b/example/src/main/scala/example/config/ServerConfig.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 example.config final case class ServerConfig(port: Int) diff --git a/example/src/main/scala/example/package.scala b/example/src/main/scala/example/package.scala index 36ce412..55b3670 100644 --- a/example/src/main/scala/example/package.scala +++ b/example/src/main/scala/example/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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. + */ + import zio.Has package object example { diff --git a/project/plugins.sbt b/project/plugins.sbt index 2c22d5c..5028d19 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,6 +2,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.4.11" addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10") addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0") +addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.2.24") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3") diff --git a/redis/src/main/scala/zio/redis/ByteStream.scala b/redis/src/main/scala/zio/redis/ByteStream.scala index c55fdcd..0192ab8 100644 --- a/redis/src/main/scala/zio/redis/ByteStream.scala +++ b/redis/src/main/scala/zio/redis/ByteStream.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import java.io.{EOFException, IOException} diff --git a/redis/src/main/scala/zio/redis/Input.scala b/redis/src/main/scala/zio/redis/Input.scala index cc4fe2c..5497327 100644 --- a/redis/src/main/scala/zio/redis/Input.scala +++ b/redis/src/main/scala/zio/redis/Input.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import java.time.Instant diff --git a/redis/src/main/scala/zio/redis/Output.scala b/redis/src/main/scala/zio/redis/Output.scala index c332ce2..d7cfeb0 100644 --- a/redis/src/main/scala/zio/redis/Output.scala +++ b/redis/src/main/scala/zio/redis/Output.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import zio.Chunk diff --git a/redis/src/main/scala/zio/redis/RedisCommand.scala b/redis/src/main/scala/zio/redis/RedisCommand.scala index a911d71..891efff 100644 --- a/redis/src/main/scala/zio/redis/RedisCommand.scala +++ b/redis/src/main/scala/zio/redis/RedisCommand.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import zio.ZIO diff --git a/redis/src/main/scala/zio/redis/RedisConfig.scala b/redis/src/main/scala/zio/redis/RedisConfig.scala index 39cb7d5..01523e5 100644 --- a/redis/src/main/scala/zio/redis/RedisConfig.scala +++ b/redis/src/main/scala/zio/redis/RedisConfig.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis final case class RedisConfig(host: String, port: Int) diff --git a/redis/src/main/scala/zio/redis/RedisError.scala b/redis/src/main/scala/zio/redis/RedisError.scala index e22cac3..d9190a4 100644 --- a/redis/src/main/scala/zio/redis/RedisError.scala +++ b/redis/src/main/scala/zio/redis/RedisError.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import java.io.IOException diff --git a/redis/src/main/scala/zio/redis/RedisExecutor.scala b/redis/src/main/scala/zio/redis/RedisExecutor.scala index 49c4ccf..9155424 100644 --- a/redis/src/main/scala/zio/redis/RedisExecutor.scala +++ b/redis/src/main/scala/zio/redis/RedisExecutor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import zio._ diff --git a/redis/src/main/scala/zio/redis/RespValue.scala b/redis/src/main/scala/zio/redis/RespValue.scala index 4a04f54..d58aab5 100644 --- a/redis/src/main/scala/zio/redis/RespValue.scala +++ b/redis/src/main/scala/zio/redis/RespValue.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import java.nio.charset.StandardCharsets diff --git a/redis/src/main/scala/zio/redis/ResultBuilder.scala b/redis/src/main/scala/zio/redis/ResultBuilder.scala index 254ffd1..62dd9a4 100644 --- a/redis/src/main/scala/zio/redis/ResultBuilder.scala +++ b/redis/src/main/scala/zio/redis/ResultBuilder.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import zio.ZIO diff --git a/redis/src/main/scala/zio/redis/TestExecutor.scala b/redis/src/main/scala/zio/redis/TestExecutor.scala index 401b09c..31f6077 100644 --- a/redis/src/main/scala/zio/redis/TestExecutor.scala +++ b/redis/src/main/scala/zio/redis/TestExecutor.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis import java.nio.file.{FileSystems, Paths} diff --git a/redis/src/main/scala/zio/redis/api/Connection.scala b/redis/src/main/scala/zio/redis/api/Connection.scala index aaa6a3a..f2f1f59 100644 --- a/redis/src/main/scala/zio/redis/api/Connection.scala +++ b/redis/src/main/scala/zio/redis/api/Connection.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.duration.Duration diff --git a/redis/src/main/scala/zio/redis/api/Geo.scala b/redis/src/main/scala/zio/redis/api/Geo.scala index 3219e87..982891e 100644 --- a/redis/src/main/scala/zio/redis/api/Geo.scala +++ b/redis/src/main/scala/zio/redis/api/Geo.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.redis.Input._ diff --git a/redis/src/main/scala/zio/redis/api/Hashes.scala b/redis/src/main/scala/zio/redis/api/Hashes.scala index fcc1d05..fd14bf9 100644 --- a/redis/src/main/scala/zio/redis/api/Hashes.scala +++ b/redis/src/main/scala/zio/redis/api/Hashes.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.{Chunk, ZIO} diff --git a/redis/src/main/scala/zio/redis/api/HyperLogLog.scala b/redis/src/main/scala/zio/redis/api/HyperLogLog.scala index 0f2afec..0e65794 100644 --- a/redis/src/main/scala/zio/redis/api/HyperLogLog.scala +++ b/redis/src/main/scala/zio/redis/api/HyperLogLog.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.ZIO diff --git a/redis/src/main/scala/zio/redis/api/Keys.scala b/redis/src/main/scala/zio/redis/api/Keys.scala index 8b3b82c..f2691f1 100644 --- a/redis/src/main/scala/zio/redis/api/Keys.scala +++ b/redis/src/main/scala/zio/redis/api/Keys.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import java.time.Instant diff --git a/redis/src/main/scala/zio/redis/api/Lists.scala b/redis/src/main/scala/zio/redis/api/Lists.scala index 5e123ad..4d425ff 100644 --- a/redis/src/main/scala/zio/redis/api/Lists.scala +++ b/redis/src/main/scala/zio/redis/api/Lists.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.{Chunk, ZIO} diff --git a/redis/src/main/scala/zio/redis/api/Scripting.scala b/redis/src/main/scala/zio/redis/api/Scripting.scala index 324b0f7..9672ff4 100644 --- a/redis/src/main/scala/zio/redis/api/Scripting.scala +++ b/redis/src/main/scala/zio/redis/api/Scripting.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.{Chunk, ZIO} diff --git a/redis/src/main/scala/zio/redis/api/Sets.scala b/redis/src/main/scala/zio/redis/api/Sets.scala index 33d4660..a29999e 100644 --- a/redis/src/main/scala/zio/redis/api/Sets.scala +++ b/redis/src/main/scala/zio/redis/api/Sets.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.{Chunk, ZIO} diff --git a/redis/src/main/scala/zio/redis/api/SortedSets.scala b/redis/src/main/scala/zio/redis/api/SortedSets.scala index cb6a178..c6d480a 100644 --- a/redis/src/main/scala/zio/redis/api/SortedSets.scala +++ b/redis/src/main/scala/zio/redis/api/SortedSets.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.{Chunk, ZIO} diff --git a/redis/src/main/scala/zio/redis/api/Streams.scala b/redis/src/main/scala/zio/redis/api/Streams.scala index e2db624..082c2d6 100644 --- a/redis/src/main/scala/zio/redis/api/Streams.scala +++ b/redis/src/main/scala/zio/redis/api/Streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import zio.{Chunk, ZIO} diff --git a/redis/src/main/scala/zio/redis/api/Strings.scala b/redis/src/main/scala/zio/redis/api/Strings.scala index 0cff336..cbae7af 100644 --- a/redis/src/main/scala/zio/redis/api/Strings.scala +++ b/redis/src/main/scala/zio/redis/api/Strings.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.api import java.time.Instant diff --git a/redis/src/main/scala/zio/redis/codec/StringUtf8Codec.scala b/redis/src/main/scala/zio/redis/codec/StringUtf8Codec.scala index cc6b957..1e8d140 100644 --- a/redis/src/main/scala/zio/redis/codec/StringUtf8Codec.scala +++ b/redis/src/main/scala/zio/redis/codec/StringUtf8Codec.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.codec import java.nio.charset.StandardCharsets diff --git a/redis/src/main/scala/zio/redis/options/Connection.scala b/redis/src/main/scala/zio/redis/options/Connection.scala index 9d1ef59..0177e16 100644 --- a/redis/src/main/scala/zio/redis/options/Connection.scala +++ b/redis/src/main/scala/zio/redis/options/Connection.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options import java.net.InetAddress diff --git a/redis/src/main/scala/zio/redis/options/Geo.scala b/redis/src/main/scala/zio/redis/options/Geo.scala index 47e7249..f05a29e 100644 --- a/redis/src/main/scala/zio/redis/options/Geo.scala +++ b/redis/src/main/scala/zio/redis/options/Geo.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options trait Geo { diff --git a/redis/src/main/scala/zio/redis/options/Keys.scala b/redis/src/main/scala/zio/redis/options/Keys.scala index bfcf84d..c3ccefb 100644 --- a/redis/src/main/scala/zio/redis/options/Keys.scala +++ b/redis/src/main/scala/zio/redis/options/Keys.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options trait Keys { diff --git a/redis/src/main/scala/zio/redis/options/Lists.scala b/redis/src/main/scala/zio/redis/options/Lists.scala index a1eb4b7..d9de5cd 100644 --- a/redis/src/main/scala/zio/redis/options/Lists.scala +++ b/redis/src/main/scala/zio/redis/options/Lists.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options trait Lists { diff --git a/redis/src/main/scala/zio/redis/options/Scripting.scala b/redis/src/main/scala/zio/redis/options/Scripting.scala index b710e6a..b427156 100644 --- a/redis/src/main/scala/zio/redis/options/Scripting.scala +++ b/redis/src/main/scala/zio/redis/options/Scripting.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options trait Scripting { diff --git a/redis/src/main/scala/zio/redis/options/Shared.scala b/redis/src/main/scala/zio/redis/options/Shared.scala index 1782361..f2d0541 100644 --- a/redis/src/main/scala/zio/redis/options/Shared.scala +++ b/redis/src/main/scala/zio/redis/options/Shared.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options trait Shared { diff --git a/redis/src/main/scala/zio/redis/options/SortedSets.scala b/redis/src/main/scala/zio/redis/options/SortedSets.scala index f0798e8..545c19c 100644 --- a/redis/src/main/scala/zio/redis/options/SortedSets.scala +++ b/redis/src/main/scala/zio/redis/options/SortedSets.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options import zio.Chunk diff --git a/redis/src/main/scala/zio/redis/options/Streams.scala b/redis/src/main/scala/zio/redis/options/Streams.scala index 7be65fa..43bc943 100644 --- a/redis/src/main/scala/zio/redis/options/Streams.scala +++ b/redis/src/main/scala/zio/redis/options/Streams.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options import zio.Chunk diff --git a/redis/src/main/scala/zio/redis/options/Strings.scala b/redis/src/main/scala/zio/redis/options/Strings.scala index 963784b..33933d8 100644 --- a/redis/src/main/scala/zio/redis/options/Strings.scala +++ b/redis/src/main/scala/zio/redis/options/Strings.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio.redis.options trait Strings { diff --git a/redis/src/main/scala/zio/redis/package.scala b/redis/src/main/scala/zio/redis/package.scala index 37a21c7..5f2c8d5 100644 --- a/redis/src/main/scala/zio/redis/package.scala +++ b/redis/src/main/scala/zio/redis/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright 2021 John A. De Goes and the ZIO contributors + * + * 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 zio package object redis -- GitLab