diff --git a/LICENSE b/LICENSE index 261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64..74802eb3ca9b0a6ce0035bf40c88afc2d84447b7 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 a01949d20d7dbebc36ac005005760bc91e4227c5..7238c5fbaffa7461413d76137fb546cbdec3091b 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 2de5f8e94f8cc925a1e44a34f6c4fee9252ec4b6..f9f3cfc2dc437ce9cc052fbd8d6942242f5e2512 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 bef66455d8e73e75d12320af1b1e94ce68596195..c4cf56ce1ba62f33e93861c4bb4eb142d0f83669 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 8a074f8ad40a9d8de40f07634ca75cc868199d31..b5327ddfbc51888fb9a6ea1216174f27016ad8dc 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 3a852da4c8f5debfa5bb46c636ccb217873a6bec..c5ed84132d87866269d17eb08c8bbb8f7a1d812e 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 37874be999014f6aaba9bce3fda5c90e67c5d59b..69be197d64be5acfa39c7eec2f3c8509a3e9943e 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 85e5d26822ad758557a43287a5d2afd5cea8417a..67eba7fbb6e987d89bb6b60c89d1668b4ab22855 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 42e603d57df3e565c3a221f534d0efa31db2e47f..a292ed8af7e5db9097c0845f6ada53ddd3aad348 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 510894ff6dbc9cb468cd3f6dc3d2c589ce9f5425..0fea9dcb686042a3664e9c70f22331083bf04288 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 faced1f89f707d3cdb38c6f65f9cdda200da60d6..ebd8339f408224f386ae4b444b8b3b8c064fb678 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 7861bd8f76bc9db46f587791a74b58cf7a19895c..97b862f25faa7ab0761d9ca3038eec33184a1f5a 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 40a7bbd896b2b8cb64da7ebc50ed0a803facaf0c..c8e80021c7d4f618fa5a5ca451a5ed8da354693b 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 dc01570eeaeb224cd383fc6708c9eee7b80bb5ec..397ae35c199d432323ae843b5337553b989b7603 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 d7fbb1ab42c47b0857e3adf859923dac97a061d9..97190b5fb0d4da49df570dbf5e8197873f160ffd 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 b240cf7a888e059264a17739c32f78a6a2e8e43a..b2ff3b0ed693fb420ddc36c835af0ef1ebb2bd2a 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 de79392e6982e3fc6317445c88830b63da2a9a0a..28c328c6319ae890e6a9b42030985c57f6c72ac0 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 89c261fe981fbb81d4d21a450080214841988650..a45f68553045095e164c6df1cd923f9e0497c5f5 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 ebaf2cef87d9b39e8f2e4f6493833a27bcebb660..a248506e03b9e88b224af305d737ee1c6505afd8 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 3a712b8dae9a7f9dbae7609b706ef634eb89f1ec..0a5b4891826c839e159f789816d8df7a5330d39e 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 1b3d1a66160ce6dc13556520d7b019b4bae8998b..77d9765510e91034f87d9035d3be637958b5b6f0 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 56fba1f34d130da9b06ead8de8dcdf0aa55f14b9..5a5ab9da980fb8a88a79d00b915e4651b1efab70 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 4a6f91480efc033c25672738fc70286359a0b532..dd9f684c1ad372a8802ed5460bf6ec47170e2833 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 d7f207da38102553d3f084b8c1ad24342ab9376c..50e546b2763c1976029a580e0f2b33e33e95b407 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 2aa278380e093aa09b4b9804105b8c47436de334..7c981cc49ff521915227d5f079f18e967766c4f5 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 b59df5fa730a4e2bd5648e3e90b4a24495aa064a..97b511e4681c103c43551befbfcbdf26a9c1c308 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 97934f08ef3f8898ad16d769e81d59f85640a820..761864b3bee2785f6613f77edc70474a99f5c723 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 203fc68769efb57433f07a4a3f5ede36fe8f2cc0..195943b27a74ff8ee1eb365f594a2b88648d9d99 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 fe82def13b85e53452d70a8865b5a8b395be6b00..045e70642d7b0cabbdd1d59e7b25694ce45c0da5 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 4c15b77aa265aba2601653f433e8721e5a579d38..4573568c695fd4426ebd3d91fd8c525f51029792 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 578140f3e610e5db71661a8cda39b4559d4e7e9c..74aa274fedc72b9d24a706ae541c27761e531258 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 26f29508bf2864f16c6dda8c6f3c56618d27d7ad..ddfa4ea17b5dff5a2827acb15f4c5bdadc6d6462 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 32cc9232b89df4633706903a5f5554a6d87190ce..f90d61908d5b84b947e6bae22a13843c1e65449a 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 e5da678ed1706b8171430c49bff14f905ffe1206..4990d521d6e2b3a9ac932bb26cd395c82dbe2cae 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 38847d50dc08466e4abab94fdcb8f27c81dd3a34..32ef0daa1227f7f6e74420e6fb0c8dbca9abf10a 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 c10bea280189c5ac5dc7775fefa37d7032957089..ee006674a0ab5caa4ed53601b05698d8c2c57ef9 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 400500a523f9c382eb1929af5c51d3b3c668a821..87a8a28833350028cf0d6282c988e3c44c8a7dde 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 5179be24d066b0b2ef7a60757a279de8695f152c..7a8be5e69868d66a3d46d484e01f4503c5d5b830 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 77907eca330b0040d8a96b9a0a730b502f7055c6..7bd1a49217dc9bbf8f31ca2a31061603e7842c2b 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 e2ded9bc7e1a762d9e6f18f24c606e4169e2dc87..418004882df9aac332b80266291a3c841cf92316 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 554a076c988c0837822ca93476aba360ec3e9885..d2bbf3419f26c5f24c261604d221ef8027357ed0 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 815189f32aa2d4116a3d84eeee336fa4f245b537..5c6b36d0c90ea72e0ebe2cf62a31c5c1017e6083 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 0a5e945add894e117bb503567736bf3ec839ae8e..4615370e602be4197c4aa8ca887bce257979ab88 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 144e4be7e4f3f7bc68a70359babbd862b60f0d56..f1e84ab2013aaa75087e67a1cc947f2d0341d281 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 4874c43e353c52ff78d2ae5c8ccd714a752e4cfe..92a2fbee05e901210ad91422fc4f815b33b4d682 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 c599759686c0bbce905830eb99c3d5b238f73f88..3323904c9b32f9bc4fe990e02cc3749a0965a67a 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 7f9c11a565b770fe6d028d8cfe8c07f63517ec0a..20c144463f5eb9d018d775c233394a38b8b53126 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 dc1e9b39c887ac44cd615c7930dd0c1f458ab01d..583d9f6efcf176915ed039f8e3dd1edc927ae77e 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 75aac1a1ef40b4d07e1ba77616a62cd48a92aad2..98494f6076d037e819590ee27c3b44a2f2f38bb3 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 606a2993bbdea8f93ff367e7ffe52ef2c1f5c38a..4aea5fa9f5454a99ab024eca6ae6a6c95e2f7c72 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 dfc41b8983e6176abb66fd21c9f8c6ec5d053b38..e4e4bf6248189bd3b55797fe0c3558114da56887 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 6c77f5bfded16650a26d98e6453f4b44a092c8f9..540461d5e9d3e3c0f7a5350da3c9a731e843a7ab 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 bee28e643c775422bf1d2084a2eaf8caea7642ef..43d879e34ac68a8047243034f4dde7c57e642607 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 0f410b96e6ab5326fc5f0648ce1da09a048d9af4..2c7e7031fb512b298b14b5f56b8494a1f826a67b 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 273c93f7b84ac1c50b503cb2a36bb3ead8ea8e14..4e4ea56b955d769667e0826ddb34a6c05e900a1a 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 4c1f497ce380f486f93b886c9a414cc34def4730..a22b37d1eb84f0a3b3af3af06fd44684df07cb31 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 46cd42d545f582723d2a7cb02ba475d9680d5cd7..5b6c7b634b60c8b05de1ceeab5e594c55c5afe3d 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 67b9e4a3632fe30808dc5205839e248c64c7c857..8e624663051bff055545b609db4d542af501d022 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 293fc4a323d09c96866e5ce19e64e59d2468c302..1127776490dc3caa581f7dfab687fcb741c83001 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 aa87b8f912ceb03640597a8c6eb77719e4c47271..26daa4c44630bfd957c93e33923b258380c00fab 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 d6a6781e28b158d7e77101976c83250f55012645..6d98c7e072b4c3afac2421eeffa23c41a5f17c33 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 4e768b07e734138d7dd8756037b2f15c153fd876..c7c773fd750328e731c4bc00a10cde82d48fde6d 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 0a5291d003a90a1cb03559438c50d6bb9014591c..1c721905937d8949cc91be23992ff8284c6c3e46 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 51b9b3a56a752a018b5132fba0dbcc0c00465dc8..45931cd2c540449f86bd8815c235ea58f64ac8db 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 64f9d98855930770c71b3ebbaa88f39d3d6e4509..3baffe97cb743a2115fc0d707af92997f66be989 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 65ee9f008d7cf20e63ab4fb8e407c25e2ff6b3c2..331ff6149811b266ab9969df65a6081a3529f7d9 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 fae681a830bf39ca772c527c17577b3c9857a428..54f70d5f690019bced356c744f4421adf808670b 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 32a50f91fa55c5c9da7ddfe0e39c0c602bf4cb85..48e1dd10822b1d3955faf003654ee369f4225984 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 f571048ea8d4c2775940081ac927de94fcf03381..9ab722c00f602c863f07b4a602bd8d9b8e6d8e71 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 f89a9c2e997a7fc32abd1b266d430fe98861dce7..9732ad92b6fc908b06721e296b64a80e25cf171e 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 3f2e37721088b926763bd89168eb5eeabd384037..29f2001e378de7a0375d179389d0bced1c6175dc 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 96363df291305566ff1b30563c16d186ca73f4bb..321166c6b644b26ac10ed1f96e4b6ae39b591931 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 943ccc8c6b1763f90637f4719bce16b702f632b3..84f218acc99e86446f117c61cd174296b76f183e 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 698e4a867d0622fa23a712bd260869f9404464a7..50ab080e20639d24e6216363cbf455b6dfa6fe46 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 36ce41229bf95daffdebd3189d806efaa5cd1d13..55b367052d5b949bf7ead65db7b128c610c87735 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 2c22d5cd208cac58f682f83947fa3a1e556b2ffa..5028d1960a808eafe85cdbebbbf387b53956728d 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 c55fdcddb45e7c5df5fe29caa66e68f3a4376f88..0192ab848c058807107583b51bb10d2ab3485950 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 cc4fe2c2404455143add992379d806e64d4e5392..5497327f63374d3cbe0dbceef4d20daf49c1b60b 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 c332ce2a6c7fa9275eea07247fce0fa87717317c..d7cfeb0ee6134c6d22262b1cd94740daee642f63 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 a911d712ea1a7be0c23fcdb3ec39d364ed33a4a2..891efff68157a16cb2be84b8ca7473b28ff270f2 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 39cb7d5858a6e0a1f5a528cc685b35fc89b16518..01523e55c04a65a0b20e04656239c321e3ae8e25 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 e22cac3e479ae9032cfd8ebb0b326435631770a8..d9190a40ed35f336e832851dfb58604d2d05d0de 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 49c4ccfd0b5c18abc8afb27f15f694843313d866..91554241d47eec942fa64ec992eba65d1278ebc0 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 4a04f5436bfff5d36383ef04c6fee1e42557c206..d58aab5f350a7b1e798a78623335423acd4c87a8 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 254ffd12c298eaa2efa059311d2c387b5efb21ea..62dd9a4602a8ddd5904150df3f4d59a79d0b60ef 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 401b09caf1469683821f37f07281fb8a0ffc7cf7..31f6077a1d4628024255e09a22862b8936205cf7 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 aaa6a3a84dad8ca84cfa42f284fb0188e24e0ca6..f2f1f59a95a15fdb08065cfc77af8fe42a214530 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 3219e87f1a82f280dedbc2589a88854662497c2f..982891e83f52c2e70e3c633661e2b7d385693193 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 fcc1d0587d7815436effbdbbebc7d90abe9c785f..fd14bf996d073e9daa57110b7b06ded6048fd3bc 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 0f2afec8615cc5baf388bdbdf136ea21a8e44b84..0e657940af5bb0b5820154da8e4a0a00c3835f0c 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 8b3b82c11783814e22ce6a0324ced6ee1de37fca..f2691f1f4671cfc6f5f3523d8c94ce9a710ef570 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 5e123ad916c80d5343ad56c660cb2ed758f602d9..4d425ff2abd555ddda52145b8cf85d4214d77ba5 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 324b0f72395c81930ba2a1098241c7464766b6aa..9672ff4b39e94ebb79ea30731dd7193c3732ba76 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 33d4660cbe17778e9c3758e6b48efe59a0175414..a29999ed9e1520540b7e80da8b78aa36869e11dc 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 cb6a1780aab000408ba0b7148a3b42ebfbeefb94..c6d480ad62e282059d10f67cddbbf3532bd3e1d5 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 e2db62455bfa8052caf6dcddb34dc0a2eed5f9a2..082c2d6a1ef93613a762824acc0bd174df719d86 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 0cff3360335af6192624a782b4554dc36f5c9d6b..cbae7af5d7585c8d5ca412d729f103b3ce466c09 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 cc6b95761cca12fb274cd30e45e74d724266e652..1e8d1404b387c64bb0d32b69bca250c30f615e68 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 9d1ef598ef0204a0b96be736a32431218c18a389..0177e1603f6466fbd4c058d0c978907fcb2628ac 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 47e724993ce875c10c0686d7fecb5f4f4f139f32..f05a29edb930fd6bf5d137a99b35042882b113cf 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 bfcf84df84ebd2cfcc0c9c3a8a22a4539de30eca..c3ccefbb9a7d08657de35293ee2837b2d5e1a55a 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 a1eb4b7bdcd0cb682ce05c39639f1fafa47d1ff3..d9de5cd1ee197cd0174cc057d606825cccf090bf 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 b710e6a709ec65c80c7d41947ef5150efcdf9a61..b4271564cb7c40373d4c5d90e6831c9418464923 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 17823616fb03efdf088464f11980950e790fa6d1..f2d05419576384de5cb9e75e7f685177c3896582 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 f0798e852e97f6b41db4f1b76aff0b2cb3c29b7c..545c19c5590c6106e8ad8b6b86f264ef26aeb229 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 7be65fa9441cd26049738e6441cbc6f1b61b98bf..43bc9436aadb10dbfed851e2510ffe5c6fbc5709 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 963784b1b71c91df5848cf9a8470be73c9b0b423..33933d82fa1db5f88f76bad4116bb12138dea519 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 37a21c7f470a214d6e2b47c4165d45f80a9cc6c1..5f2c8d5d51507cf5456b0c27fe5b14769c17e6fd 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