diff --git a/.github/license-checker.yml b/.github/license-checker.yml index fcac07d445..d1b115d213 100644 --- a/.github/license-checker.yml +++ b/.github/license-checker.yml @@ -21,4 +21,5 @@ header: - '**/*.json' - '**/*.pem' - '**/*.crt' + - '**/*.g4' comment: on-failure diff --git a/src/main/java/org/tikv/common/AbstractGRPCClient.java b/src/main/java/org/tikv/common/AbstractGRPCClient.java index 64d9174b06..f13b6a66b8 100644 --- a/src/main/java/org/tikv/common/AbstractGRPCClient.java +++ b/src/main/java/org/tikv/common/AbstractGRPCClient.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/BytePairWrapper.java b/src/main/java/org/tikv/common/BytePairWrapper.java index 44c727dbd1..c6427de47b 100644 --- a/src/main/java/org/tikv/common/BytePairWrapper.java +++ b/src/main/java/org/tikv/common/BytePairWrapper.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/ByteWrapper.java b/src/main/java/org/tikv/common/ByteWrapper.java index 6ac5e7a995..6ea4a27b70 100644 --- a/src/main/java/org/tikv/common/ByteWrapper.java +++ b/src/main/java/org/tikv/common/ByteWrapper.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/ConfigUtils.java b/src/main/java/org/tikv/common/ConfigUtils.java index a457e89c8e..8eaaf4d16c 100644 --- a/src/main/java/org/tikv/common/ConfigUtils.java +++ b/src/main/java/org/tikv/common/ConfigUtils.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/DefaultHostMapping.java b/src/main/java/org/tikv/common/DefaultHostMapping.java index 1ec199a213..4d3335f4ed 100644 --- a/src/main/java/org/tikv/common/DefaultHostMapping.java +++ b/src/main/java/org/tikv/common/DefaultHostMapping.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/ExtendedDateTime.java b/src/main/java/org/tikv/common/ExtendedDateTime.java index 21d8fc688c..c934f4766f 100644 --- a/src/main/java/org/tikv/common/ExtendedDateTime.java +++ b/src/main/java/org/tikv/common/ExtendedDateTime.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/HostMapping.java b/src/main/java/org/tikv/common/HostMapping.java index 006c1d332d..89b37a9346 100644 --- a/src/main/java/org/tikv/common/HostMapping.java +++ b/src/main/java/org/tikv/common/HostMapping.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/KVClient.java b/src/main/java/org/tikv/common/KVClient.java index 42f5a55ab8..873f33f2fe 100644 --- a/src/main/java/org/tikv/common/KVClient.java +++ b/src/main/java/org/tikv/common/KVClient.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/Main.java b/src/main/java/org/tikv/common/Main.java index 18306bf11e..2b934d33ce 100644 --- a/src/main/java/org/tikv/common/Main.java +++ b/src/main/java/org/tikv/common/Main.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/MetricsServer.java b/src/main/java/org/tikv/common/MetricsServer.java index 0ea4fffa9d..48319b8216 100644 --- a/src/main/java/org/tikv/common/MetricsServer.java +++ b/src/main/java/org/tikv/common/MetricsServer.java @@ -5,13 +5,16 @@ * 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 + * 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 org.tikv.common; import io.prometheus.client.exporter.HTTPServer; diff --git a/src/main/java/org/tikv/common/PDChecker.java b/src/main/java/org/tikv/common/PDChecker.java index a64da7100d..203f5580ca 100644 --- a/src/main/java/org/tikv/common/PDChecker.java +++ b/src/main/java/org/tikv/common/PDChecker.java @@ -1,3 +1,20 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common; public enum PDChecker { diff --git a/src/main/java/org/tikv/common/PDClient.java b/src/main/java/org/tikv/common/PDClient.java index fa22fb08cc..c52dd18ad9 100644 --- a/src/main/java/org/tikv/common/PDClient.java +++ b/src/main/java/org/tikv/common/PDClient.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/ReadOnlyPDClient.java b/src/main/java/org/tikv/common/ReadOnlyPDClient.java index 5bf3897cc3..c4bbfdbde7 100644 --- a/src/main/java/org/tikv/common/ReadOnlyPDClient.java +++ b/src/main/java/org/tikv/common/ReadOnlyPDClient.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/Snapshot.java b/src/main/java/org/tikv/common/Snapshot.java index dc2a2b02bb..6f7acc7f4f 100644 --- a/src/main/java/org/tikv/common/Snapshot.java +++ b/src/main/java/org/tikv/common/Snapshot.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/StoreVersion.java b/src/main/java/org/tikv/common/StoreVersion.java index dbd7d3a621..c23ce49684 100644 --- a/src/main/java/org/tikv/common/StoreVersion.java +++ b/src/main/java/org/tikv/common/StoreVersion.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/TiBatchWriteUtils.java b/src/main/java/org/tikv/common/TiBatchWriteUtils.java index 4aada9b57d..e590827d46 100644 --- a/src/main/java/org/tikv/common/TiBatchWriteUtils.java +++ b/src/main/java/org/tikv/common/TiBatchWriteUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/TiConfiguration.java b/src/main/java/org/tikv/common/TiConfiguration.java index 22501ecc7b..67019be09b 100644 --- a/src/main/java/org/tikv/common/TiConfiguration.java +++ b/src/main/java/org/tikv/common/TiConfiguration.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/TiDBJDBCClient.java b/src/main/java/org/tikv/common/TiDBJDBCClient.java index 276cce5939..1e05d04cfc 100644 --- a/src/main/java/org/tikv/common/TiDBJDBCClient.java +++ b/src/main/java/org/tikv/common/TiDBJDBCClient.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/TiSession.java b/src/main/java/org/tikv/common/TiSession.java index 181d94ca11..c840cbc887 100644 --- a/src/main/java/org/tikv/common/TiSession.java +++ b/src/main/java/org/tikv/common/TiSession.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/Utils.java b/src/main/java/org/tikv/common/Utils.java index 3284e23383..dd541ad055 100644 --- a/src/main/java/org/tikv/common/Utils.java +++ b/src/main/java/org/tikv/common/Utils.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common; diff --git a/src/main/java/org/tikv/common/Version.java b/src/main/java/org/tikv/common/Version.java index 290cac7ded..0676034094 100644 --- a/src/main/java/org/tikv/common/Version.java +++ b/src/main/java/org/tikv/common/Version.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/catalog/Catalog.java b/src/main/java/org/tikv/common/catalog/Catalog.java index e6c1c80834..56f70c9388 100644 --- a/src/main/java/org/tikv/common/catalog/Catalog.java +++ b/src/main/java/org/tikv/common/catalog/Catalog.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.catalog; diff --git a/src/main/java/org/tikv/common/catalog/CatalogTransaction.java b/src/main/java/org/tikv/common/catalog/CatalogTransaction.java index 896fe5e71b..9a19abb279 100644 --- a/src/main/java/org/tikv/common/catalog/CatalogTransaction.java +++ b/src/main/java/org/tikv/common/catalog/CatalogTransaction.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.catalog; diff --git a/src/main/java/org/tikv/common/codec/Codec.java b/src/main/java/org/tikv/common/codec/Codec.java index efcabd17e6..642b6fc8c7 100644 --- a/src/main/java/org/tikv/common/codec/Codec.java +++ b/src/main/java/org/tikv/common/codec/Codec.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/CodecDataInput.java b/src/main/java/org/tikv/common/codec/CodecDataInput.java index 4b2a216390..3035c5fbf1 100644 --- a/src/main/java/org/tikv/common/codec/CodecDataInput.java +++ b/src/main/java/org/tikv/common/codec/CodecDataInput.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/CodecDataInputLittleEndian.java b/src/main/java/org/tikv/common/codec/CodecDataInputLittleEndian.java index 218cd3043d..fbc0466f23 100644 --- a/src/main/java/org/tikv/common/codec/CodecDataInputLittleEndian.java +++ b/src/main/java/org/tikv/common/codec/CodecDataInputLittleEndian.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/CodecDataOutput.java b/src/main/java/org/tikv/common/codec/CodecDataOutput.java index 45ce1c6241..28e8ba4fb8 100644 --- a/src/main/java/org/tikv/common/codec/CodecDataOutput.java +++ b/src/main/java/org/tikv/common/codec/CodecDataOutput.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/CodecDataOutputLittleEndian.java b/src/main/java/org/tikv/common/codec/CodecDataOutputLittleEndian.java index 3ae898c205..bf10b6d63f 100644 --- a/src/main/java/org/tikv/common/codec/CodecDataOutputLittleEndian.java +++ b/src/main/java/org/tikv/common/codec/CodecDataOutputLittleEndian.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/KeyUtils.java b/src/main/java/org/tikv/common/codec/KeyUtils.java index 10ac991a7e..72e94c8f32 100644 --- a/src/main/java/org/tikv/common/codec/KeyUtils.java +++ b/src/main/java/org/tikv/common/codec/KeyUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/MetaCodec.java b/src/main/java/org/tikv/common/codec/MetaCodec.java index 7bb36446d0..268724f31a 100644 --- a/src/main/java/org/tikv/common/codec/MetaCodec.java +++ b/src/main/java/org/tikv/common/codec/MetaCodec.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/MyDecimal.java b/src/main/java/org/tikv/common/codec/MyDecimal.java index 52d2d4c060..a149ba5e2c 100644 --- a/src/main/java/org/tikv/common/codec/MyDecimal.java +++ b/src/main/java/org/tikv/common/codec/MyDecimal.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/RowDecoderV2.java b/src/main/java/org/tikv/common/codec/RowDecoderV2.java index 90b9d86f64..3b9ae4aabc 100644 --- a/src/main/java/org/tikv/common/codec/RowDecoderV2.java +++ b/src/main/java/org/tikv/common/codec/RowDecoderV2.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/RowEncoderV2.java b/src/main/java/org/tikv/common/codec/RowEncoderV2.java index 3de365c242..794f40ebe2 100644 --- a/src/main/java/org/tikv/common/codec/RowEncoderV2.java +++ b/src/main/java/org/tikv/common/codec/RowEncoderV2.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/RowV2.java b/src/main/java/org/tikv/common/codec/RowV2.java index 19d158d918..44891e4e91 100644 --- a/src/main/java/org/tikv/common/codec/RowV2.java +++ b/src/main/java/org/tikv/common/codec/RowV2.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/TableCodec.java b/src/main/java/org/tikv/common/codec/TableCodec.java index 044b1679e2..c0d141d94d 100644 --- a/src/main/java/org/tikv/common/codec/TableCodec.java +++ b/src/main/java/org/tikv/common/codec/TableCodec.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/TableCodecV1.java b/src/main/java/org/tikv/common/codec/TableCodecV1.java index 013188c4ed..b0a1811c05 100644 --- a/src/main/java/org/tikv/common/codec/TableCodecV1.java +++ b/src/main/java/org/tikv/common/codec/TableCodecV1.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/codec/TableCodecV2.java b/src/main/java/org/tikv/common/codec/TableCodecV2.java index 68a4c37ca7..1d90737fc4 100644 --- a/src/main/java/org/tikv/common/codec/TableCodecV2.java +++ b/src/main/java/org/tikv/common/codec/TableCodecV2.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.codec; diff --git a/src/main/java/org/tikv/common/columnar/BatchedTiChunkColumnVector.java b/src/main/java/org/tikv/common/columnar/BatchedTiChunkColumnVector.java index 962b39cce8..3e6ffddb19 100644 --- a/src/main/java/org/tikv/common/columnar/BatchedTiChunkColumnVector.java +++ b/src/main/java/org/tikv/common/columnar/BatchedTiChunkColumnVector.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/TiBlockColumnVector.java b/src/main/java/org/tikv/common/columnar/TiBlockColumnVector.java index a6b99c68d9..2abc40af01 100644 --- a/src/main/java/org/tikv/common/columnar/TiBlockColumnVector.java +++ b/src/main/java/org/tikv/common/columnar/TiBlockColumnVector.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/TiChunk.java b/src/main/java/org/tikv/common/columnar/TiChunk.java index b71f138f9c..3d97bc839d 100644 --- a/src/main/java/org/tikv/common/columnar/TiChunk.java +++ b/src/main/java/org/tikv/common/columnar/TiChunk.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/TiChunkColumnVector.java b/src/main/java/org/tikv/common/columnar/TiChunkColumnVector.java index 49fae1218f..2ffa102853 100644 --- a/src/main/java/org/tikv/common/columnar/TiChunkColumnVector.java +++ b/src/main/java/org/tikv/common/columnar/TiChunkColumnVector.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/TiColumnVector.java b/src/main/java/org/tikv/common/columnar/TiColumnVector.java index 4b56d50622..ba04578f14 100644 --- a/src/main/java/org/tikv/common/columnar/TiColumnVector.java +++ b/src/main/java/org/tikv/common/columnar/TiColumnVector.java @@ -1,18 +1,18 @@ /* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You 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 + * Copyright 2021 TiKV Project Authors. * - * http://www.apache.org/licenses/LICENSE-2.0 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/TiCoreTime.java b/src/main/java/org/tikv/common/columnar/TiCoreTime.java index 51924a8d12..9d3d9ff57f 100644 --- a/src/main/java/org/tikv/common/columnar/TiCoreTime.java +++ b/src/main/java/org/tikv/common/columnar/TiCoreTime.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/TiRowColumnVector.java b/src/main/java/org/tikv/common/columnar/TiRowColumnVector.java index 66d0524aeb..09ebbcecec 100644 --- a/src/main/java/org/tikv/common/columnar/TiRowColumnVector.java +++ b/src/main/java/org/tikv/common/columnar/TiRowColumnVector.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/AutoGrowByteBuffer.java b/src/main/java/org/tikv/common/columnar/datatypes/AutoGrowByteBuffer.java index 7988300fc5..28d9d9c5f8 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/AutoGrowByteBuffer.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/AutoGrowByteBuffer.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHType.java b/src/main/java/org/tikv/common/columnar/datatypes/CHType.java index 14bc238551..f0321dc2c9 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHType.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHType.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDate.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDate.java index 4b2ac5ee1a..fb433b1ebd 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDate.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDate.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDateTime.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDateTime.java index 9579fa4c9b..ceae03fa62 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDateTime.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDateTime.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDecimal.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDecimal.java index 87f5c77bec..410479fb6e 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDecimal.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeDecimal.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeFixedString.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeFixedString.java index 7362845140..1856c7049e 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeFixedString.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeFixedString.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDate.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDate.java index 5e2c992f3e..ed70bcc049 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDate.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDate.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDateTime.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDateTime.java index ac08e12199..37df40a4d9 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDateTime.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeMyDateTime.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeNumber.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeNumber.java index 8721425979..eeea8e998b 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeNumber.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeNumber.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeString.java b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeString.java index 4b18dc1e90..76308ba8ff 100644 --- a/src/main/java/org/tikv/common/columnar/datatypes/CHTypeString.java +++ b/src/main/java/org/tikv/common/columnar/datatypes/CHTypeString.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.columnar.datatypes; diff --git a/src/main/java/org/tikv/common/event/CacheInvalidateEvent.java b/src/main/java/org/tikv/common/event/CacheInvalidateEvent.java index c9a7bb2194..10d21942c9 100644 --- a/src/main/java/org/tikv/common/event/CacheInvalidateEvent.java +++ b/src/main/java/org/tikv/common/event/CacheInvalidateEvent.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.event; diff --git a/src/main/java/org/tikv/common/exception/AllocateRowIDOverflowException.java b/src/main/java/org/tikv/common/exception/AllocateRowIDOverflowException.java index 9333573ce9..594c8fed8d 100644 --- a/src/main/java/org/tikv/common/exception/AllocateRowIDOverflowException.java +++ b/src/main/java/org/tikv/common/exception/AllocateRowIDOverflowException.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/CastingException.java b/src/main/java/org/tikv/common/exception/CastingException.java index 604a4276ec..a5cd35474e 100644 --- a/src/main/java/org/tikv/common/exception/CastingException.java +++ b/src/main/java/org/tikv/common/exception/CastingException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/CircuitBreakerOpenException.java b/src/main/java/org/tikv/common/exception/CircuitBreakerOpenException.java index 639bfa86ef..3a069f1822 100644 --- a/src/main/java/org/tikv/common/exception/CircuitBreakerOpenException.java +++ b/src/main/java/org/tikv/common/exception/CircuitBreakerOpenException.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/CodecException.java b/src/main/java/org/tikv/common/exception/CodecException.java index 90c91a14ca..be4eb4f2c8 100644 --- a/src/main/java/org/tikv/common/exception/CodecException.java +++ b/src/main/java/org/tikv/common/exception/CodecException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/ConvertNotSupportException.java b/src/main/java/org/tikv/common/exception/ConvertNotSupportException.java index 1326d1b78d..bc77882f3a 100644 --- a/src/main/java/org/tikv/common/exception/ConvertNotSupportException.java +++ b/src/main/java/org/tikv/common/exception/ConvertNotSupportException.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/ConvertOverflowException.java b/src/main/java/org/tikv/common/exception/ConvertOverflowException.java index 065e366814..ecd66b6ed8 100644 --- a/src/main/java/org/tikv/common/exception/ConvertOverflowException.java +++ b/src/main/java/org/tikv/common/exception/ConvertOverflowException.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/DAGRequestException.java b/src/main/java/org/tikv/common/exception/DAGRequestException.java index 59f2b3ccaf..36979181e9 100644 --- a/src/main/java/org/tikv/common/exception/DAGRequestException.java +++ b/src/main/java/org/tikv/common/exception/DAGRequestException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/GrpcException.java b/src/main/java/org/tikv/common/exception/GrpcException.java index 345c5fa551..5d296789a5 100644 --- a/src/main/java/org/tikv/common/exception/GrpcException.java +++ b/src/main/java/org/tikv/common/exception/GrpcException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/IgnoreUnsupportedTypeException.java b/src/main/java/org/tikv/common/exception/IgnoreUnsupportedTypeException.java index 03962bb993..2f07f422a6 100644 --- a/src/main/java/org/tikv/common/exception/IgnoreUnsupportedTypeException.java +++ b/src/main/java/org/tikv/common/exception/IgnoreUnsupportedTypeException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/InvalidCodecFormatException.java b/src/main/java/org/tikv/common/exception/InvalidCodecFormatException.java index cb8b20d7ef..797b5b60e9 100644 --- a/src/main/java/org/tikv/common/exception/InvalidCodecFormatException.java +++ b/src/main/java/org/tikv/common/exception/InvalidCodecFormatException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/InvalidStoreException.java b/src/main/java/org/tikv/common/exception/InvalidStoreException.java index c4704993db..7c0e705800 100644 --- a/src/main/java/org/tikv/common/exception/InvalidStoreException.java +++ b/src/main/java/org/tikv/common/exception/InvalidStoreException.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/KeyException.java b/src/main/java/org/tikv/common/exception/KeyException.java index 2c5c2c2fec..22ddda982b 100644 --- a/src/main/java/org/tikv/common/exception/KeyException.java +++ b/src/main/java/org/tikv/common/exception/KeyException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/RawCASConflictException.java b/src/main/java/org/tikv/common/exception/RawCASConflictException.java index a766eb4b15..1063d1696e 100644 --- a/src/main/java/org/tikv/common/exception/RawCASConflictException.java +++ b/src/main/java/org/tikv/common/exception/RawCASConflictException.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/RegionException.java b/src/main/java/org/tikv/common/exception/RegionException.java index c3e5340c82..f16267dc19 100644 --- a/src/main/java/org/tikv/common/exception/RegionException.java +++ b/src/main/java/org/tikv/common/exception/RegionException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/RegionTaskException.java b/src/main/java/org/tikv/common/exception/RegionTaskException.java index 45eab0f903..02b4caf160 100644 --- a/src/main/java/org/tikv/common/exception/RegionTaskException.java +++ b/src/main/java/org/tikv/common/exception/RegionTaskException.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/SSTDecodeException.java b/src/main/java/org/tikv/common/exception/SSTDecodeException.java index 0043c13002..a66cf29afd 100644 --- a/src/main/java/org/tikv/common/exception/SSTDecodeException.java +++ b/src/main/java/org/tikv/common/exception/SSTDecodeException.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/SelectException.java b/src/main/java/org/tikv/common/exception/SelectException.java index 486ebdd52a..884d25f3d7 100644 --- a/src/main/java/org/tikv/common/exception/SelectException.java +++ b/src/main/java/org/tikv/common/exception/SelectException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TiBatchWriteException.java b/src/main/java/org/tikv/common/exception/TiBatchWriteException.java index 576d8280a4..dce7beb0ea 100644 --- a/src/main/java/org/tikv/common/exception/TiBatchWriteException.java +++ b/src/main/java/org/tikv/common/exception/TiBatchWriteException.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TiClientInternalException.java b/src/main/java/org/tikv/common/exception/TiClientInternalException.java index a69223cce1..f207451a10 100644 --- a/src/main/java/org/tikv/common/exception/TiClientInternalException.java +++ b/src/main/java/org/tikv/common/exception/TiClientInternalException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TiDBConvertException.java b/src/main/java/org/tikv/common/exception/TiDBConvertException.java index 9916f98524..4099ada7a2 100644 --- a/src/main/java/org/tikv/common/exception/TiDBConvertException.java +++ b/src/main/java/org/tikv/common/exception/TiDBConvertException.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TiExpressionException.java b/src/main/java/org/tikv/common/exception/TiExpressionException.java index 9dc4f996e9..70801c538d 100644 --- a/src/main/java/org/tikv/common/exception/TiExpressionException.java +++ b/src/main/java/org/tikv/common/exception/TiExpressionException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TiInternalException.java b/src/main/java/org/tikv/common/exception/TiInternalException.java index 6880f8a11f..a755978cda 100644 --- a/src/main/java/org/tikv/common/exception/TiInternalException.java +++ b/src/main/java/org/tikv/common/exception/TiInternalException.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TiKVException.java b/src/main/java/org/tikv/common/exception/TiKVException.java index 5537106d22..f9435904bd 100644 --- a/src/main/java/org/tikv/common/exception/TiKVException.java +++ b/src/main/java/org/tikv/common/exception/TiKVException.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/TypeException.java b/src/main/java/org/tikv/common/exception/TypeException.java index ca56b549eb..53f2ec20a2 100644 --- a/src/main/java/org/tikv/common/exception/TypeException.java +++ b/src/main/java/org/tikv/common/exception/TypeException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/UnsupportedPartitionExprException.java b/src/main/java/org/tikv/common/exception/UnsupportedPartitionExprException.java index 9e012ad393..26ecf5224b 100644 --- a/src/main/java/org/tikv/common/exception/UnsupportedPartitionExprException.java +++ b/src/main/java/org/tikv/common/exception/UnsupportedPartitionExprException.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/UnsupportedSyntaxException.java b/src/main/java/org/tikv/common/exception/UnsupportedSyntaxException.java index 40a9abaa9c..9042109f27 100644 --- a/src/main/java/org/tikv/common/exception/UnsupportedSyntaxException.java +++ b/src/main/java/org/tikv/common/exception/UnsupportedSyntaxException.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/UnsupportedTypeException.java b/src/main/java/org/tikv/common/exception/UnsupportedTypeException.java index e67bb02e11..3766977881 100644 --- a/src/main/java/org/tikv/common/exception/UnsupportedTypeException.java +++ b/src/main/java/org/tikv/common/exception/UnsupportedTypeException.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/exception/WriteConflictException.java b/src/main/java/org/tikv/common/exception/WriteConflictException.java index 3711eb4f3e..856bf0e400 100644 --- a/src/main/java/org/tikv/common/exception/WriteConflictException.java +++ b/src/main/java/org/tikv/common/exception/WriteConflictException.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.exception; diff --git a/src/main/java/org/tikv/common/expression/AggregateFunction.java b/src/main/java/org/tikv/common/expression/AggregateFunction.java index 235eb01348..2abbd047b4 100644 --- a/src/main/java/org/tikv/common/expression/AggregateFunction.java +++ b/src/main/java/org/tikv/common/expression/AggregateFunction.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/ArithmeticBinaryExpression.java b/src/main/java/org/tikv/common/expression/ArithmeticBinaryExpression.java index ce62690336..c30ae96c45 100644 --- a/src/main/java/org/tikv/common/expression/ArithmeticBinaryExpression.java +++ b/src/main/java/org/tikv/common/expression/ArithmeticBinaryExpression.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/Blocklist.java b/src/main/java/org/tikv/common/expression/Blocklist.java index a0456c7275..300697b356 100644 --- a/src/main/java/org/tikv/common/expression/Blocklist.java +++ b/src/main/java/org/tikv/common/expression/Blocklist.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/expression/ByItem.java b/src/main/java/org/tikv/common/expression/ByItem.java index cb8c290492..cf87be30b2 100644 --- a/src/main/java/org/tikv/common/expression/ByItem.java +++ b/src/main/java/org/tikv/common/expression/ByItem.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/ColumnRef.java b/src/main/java/org/tikv/common/expression/ColumnRef.java index f846c8a070..0a6ed6e4b0 100644 --- a/src/main/java/org/tikv/common/expression/ColumnRef.java +++ b/src/main/java/org/tikv/common/expression/ColumnRef.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/ComparisonBinaryExpression.java b/src/main/java/org/tikv/common/expression/ComparisonBinaryExpression.java index 0cd7c6de72..53fc75a774 100644 --- a/src/main/java/org/tikv/common/expression/ComparisonBinaryExpression.java +++ b/src/main/java/org/tikv/common/expression/ComparisonBinaryExpression.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/Constant.java b/src/main/java/org/tikv/common/expression/Constant.java index 7606d1131e..6a53d8b19e 100644 --- a/src/main/java/org/tikv/common/expression/Constant.java +++ b/src/main/java/org/tikv/common/expression/Constant.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/Expression.java b/src/main/java/org/tikv/common/expression/Expression.java index ad484fa43d..883a97ab4a 100644 --- a/src/main/java/org/tikv/common/expression/Expression.java +++ b/src/main/java/org/tikv/common/expression/Expression.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/ExpressionBlocklist.java b/src/main/java/org/tikv/common/expression/ExpressionBlocklist.java index fb8ebd3f9a..392f799b31 100644 --- a/src/main/java/org/tikv/common/expression/ExpressionBlocklist.java +++ b/src/main/java/org/tikv/common/expression/ExpressionBlocklist.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/FuncCallExpr.java b/src/main/java/org/tikv/common/expression/FuncCallExpr.java index 75888b204f..983bcb6924 100644 --- a/src/main/java/org/tikv/common/expression/FuncCallExpr.java +++ b/src/main/java/org/tikv/common/expression/FuncCallExpr.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/FuncCallExprEval.java b/src/main/java/org/tikv/common/expression/FuncCallExprEval.java index 594fe564da..621e15d462 100644 --- a/src/main/java/org/tikv/common/expression/FuncCallExprEval.java +++ b/src/main/java/org/tikv/common/expression/FuncCallExprEval.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/IsNull.java b/src/main/java/org/tikv/common/expression/IsNull.java index 509fd8807a..90faffc51d 100644 --- a/src/main/java/org/tikv/common/expression/IsNull.java +++ b/src/main/java/org/tikv/common/expression/IsNull.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/LogicalBinaryExpression.java b/src/main/java/org/tikv/common/expression/LogicalBinaryExpression.java index 752c640bbb..bf75941fd9 100644 --- a/src/main/java/org/tikv/common/expression/LogicalBinaryExpression.java +++ b/src/main/java/org/tikv/common/expression/LogicalBinaryExpression.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. + * */ // Generated by the protocol buffer compiler. DO NOT EDIT! diff --git a/src/main/java/org/tikv/common/expression/Not.java b/src/main/java/org/tikv/common/expression/Not.java index 1744c3e27d..d0ce88d4e2 100644 --- a/src/main/java/org/tikv/common/expression/Not.java +++ b/src/main/java/org/tikv/common/expression/Not.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/PartitionPruner.java b/src/main/java/org/tikv/common/expression/PartitionPruner.java index 5d38a1944b..e7c1aaf4d5 100644 --- a/src/main/java/org/tikv/common/expression/PartitionPruner.java +++ b/src/main/java/org/tikv/common/expression/PartitionPruner.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/RangeColumnPartitionPruner.java b/src/main/java/org/tikv/common/expression/RangeColumnPartitionPruner.java index 856cb447b9..dd145f0570 100644 --- a/src/main/java/org/tikv/common/expression/RangeColumnPartitionPruner.java +++ b/src/main/java/org/tikv/common/expression/RangeColumnPartitionPruner.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/RangePartitionPruner.java b/src/main/java/org/tikv/common/expression/RangePartitionPruner.java index 79cb53c7c0..1b4e62e600 100644 --- a/src/main/java/org/tikv/common/expression/RangePartitionPruner.java +++ b/src/main/java/org/tikv/common/expression/RangePartitionPruner.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/StringRegExpression.java b/src/main/java/org/tikv/common/expression/StringRegExpression.java index 316a29a073..c6a94a1941 100644 --- a/src/main/java/org/tikv/common/expression/StringRegExpression.java +++ b/src/main/java/org/tikv/common/expression/StringRegExpression.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression; diff --git a/src/main/java/org/tikv/common/expression/TypeBlocklist.java b/src/main/java/org/tikv/common/expression/TypeBlocklist.java index d4c3cc4494..d72dece8b6 100644 --- a/src/main/java/org/tikv/common/expression/TypeBlocklist.java +++ b/src/main/java/org/tikv/common/expression/TypeBlocklist.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/expression/Visitor.java b/src/main/java/org/tikv/common/expression/Visitor.java index f18c750db6..26e7ffc4c8 100644 --- a/src/main/java/org/tikv/common/expression/Visitor.java +++ b/src/main/java/org/tikv/common/expression/Visitor.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/expression/visitor/ColumnMatcher.java b/src/main/java/org/tikv/common/expression/visitor/ColumnMatcher.java index 8ebfc1567a..a1f9f68b05 100644 --- a/src/main/java/org/tikv/common/expression/visitor/ColumnMatcher.java +++ b/src/main/java/org/tikv/common/expression/visitor/ColumnMatcher.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/DefaultVisitor.java b/src/main/java/org/tikv/common/expression/visitor/DefaultVisitor.java index b462ad717e..9dfceae4ad 100644 --- a/src/main/java/org/tikv/common/expression/visitor/DefaultVisitor.java +++ b/src/main/java/org/tikv/common/expression/visitor/DefaultVisitor.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/IndexMatcher.java b/src/main/java/org/tikv/common/expression/visitor/IndexMatcher.java index 39b1f0ddbb..343061effb 100644 --- a/src/main/java/org/tikv/common/expression/visitor/IndexMatcher.java +++ b/src/main/java/org/tikv/common/expression/visitor/IndexMatcher.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/IndexRangeSetBuilder.java b/src/main/java/org/tikv/common/expression/visitor/IndexRangeSetBuilder.java index 75c3a03a71..dcfdd1f53d 100644 --- a/src/main/java/org/tikv/common/expression/visitor/IndexRangeSetBuilder.java +++ b/src/main/java/org/tikv/common/expression/visitor/IndexRangeSetBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/MetaResolver.java b/src/main/java/org/tikv/common/expression/visitor/MetaResolver.java index 6caf38364d..6276eaa57a 100644 --- a/src/main/java/org/tikv/common/expression/visitor/MetaResolver.java +++ b/src/main/java/org/tikv/common/expression/visitor/MetaResolver.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/PartAndFilterExprRewriter.java b/src/main/java/org/tikv/common/expression/visitor/PartAndFilterExprRewriter.java index 43f1f6b486..3cc448f9e1 100644 --- a/src/main/java/org/tikv/common/expression/visitor/PartAndFilterExprRewriter.java +++ b/src/main/java/org/tikv/common/expression/visitor/PartAndFilterExprRewriter.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/ProtoConverter.java b/src/main/java/org/tikv/common/expression/visitor/ProtoConverter.java index cf653917d9..07b07f3c83 100644 --- a/src/main/java/org/tikv/common/expression/visitor/ProtoConverter.java +++ b/src/main/java/org/tikv/common/expression/visitor/ProtoConverter.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/PrunedPartitionBuilder.java b/src/main/java/org/tikv/common/expression/visitor/PrunedPartitionBuilder.java index 018a468e62..d660394b92 100644 --- a/src/main/java/org/tikv/common/expression/visitor/PrunedPartitionBuilder.java +++ b/src/main/java/org/tikv/common/expression/visitor/PrunedPartitionBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/PseudoCostCalculator.java b/src/main/java/org/tikv/common/expression/visitor/PseudoCostCalculator.java index 9cb2db2c5b..531e43694a 100644 --- a/src/main/java/org/tikv/common/expression/visitor/PseudoCostCalculator.java +++ b/src/main/java/org/tikv/common/expression/visitor/PseudoCostCalculator.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/RangeSetBuilder.java b/src/main/java/org/tikv/common/expression/visitor/RangeSetBuilder.java index adf3b51852..a0e97777fc 100644 --- a/src/main/java/org/tikv/common/expression/visitor/RangeSetBuilder.java +++ b/src/main/java/org/tikv/common/expression/visitor/RangeSetBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/expression/visitor/SupportedExpressionValidator.java b/src/main/java/org/tikv/common/expression/visitor/SupportedExpressionValidator.java index e73426c4f3..8e26663eeb 100644 --- a/src/main/java/org/tikv/common/expression/visitor/SupportedExpressionValidator.java +++ b/src/main/java/org/tikv/common/expression/visitor/SupportedExpressionValidator.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.expression.visitor; diff --git a/src/main/java/org/tikv/common/importer/ImporterClient.java b/src/main/java/org/tikv/common/importer/ImporterClient.java index 772a85f331..054e85caa1 100644 --- a/src/main/java/org/tikv/common/importer/ImporterClient.java +++ b/src/main/java/org/tikv/common/importer/ImporterClient.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/importer/ImporterStoreClient.java b/src/main/java/org/tikv/common/importer/ImporterStoreClient.java index b315c73724..4e652587db 100644 --- a/src/main/java/org/tikv/common/importer/ImporterStoreClient.java +++ b/src/main/java/org/tikv/common/importer/ImporterStoreClient.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/importer/SwitchTiKVModeClient.java b/src/main/java/org/tikv/common/importer/SwitchTiKVModeClient.java index 6fe63fbc7c..78429c4b69 100644 --- a/src/main/java/org/tikv/common/importer/SwitchTiKVModeClient.java +++ b/src/main/java/org/tikv/common/importer/SwitchTiKVModeClient.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/key/CompoundKey.java b/src/main/java/org/tikv/common/key/CompoundKey.java index 4c49044b39..d7f4598e24 100644 --- a/src/main/java/org/tikv/common/key/CompoundKey.java +++ b/src/main/java/org/tikv/common/key/CompoundKey.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/IndexKey.java b/src/main/java/org/tikv/common/key/IndexKey.java index aa795a2610..a222b2a94b 100644 --- a/src/main/java/org/tikv/common/key/IndexKey.java +++ b/src/main/java/org/tikv/common/key/IndexKey.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/IndexScanKeyRangeBuilder.java b/src/main/java/org/tikv/common/key/IndexScanKeyRangeBuilder.java index ca93e97610..7423220dec 100644 --- a/src/main/java/org/tikv/common/key/IndexScanKeyRangeBuilder.java +++ b/src/main/java/org/tikv/common/key/IndexScanKeyRangeBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/Key.java b/src/main/java/org/tikv/common/key/Key.java index ac182061cd..6da4bd8acf 100644 --- a/src/main/java/org/tikv/common/key/Key.java +++ b/src/main/java/org/tikv/common/key/Key.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/KeyRangeBuilder.java b/src/main/java/org/tikv/common/key/KeyRangeBuilder.java index 8093f5f20f..16e76fd515 100644 --- a/src/main/java/org/tikv/common/key/KeyRangeBuilder.java +++ b/src/main/java/org/tikv/common/key/KeyRangeBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/RowKey.java b/src/main/java/org/tikv/common/key/RowKey.java index 093b68cf5b..d752d7e214 100644 --- a/src/main/java/org/tikv/common/key/RowKey.java +++ b/src/main/java/org/tikv/common/key/RowKey.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/StatisticsKeyRangeBuilder.java b/src/main/java/org/tikv/common/key/StatisticsKeyRangeBuilder.java index 67dd27f965..d282c0908a 100644 --- a/src/main/java/org/tikv/common/key/StatisticsKeyRangeBuilder.java +++ b/src/main/java/org/tikv/common/key/StatisticsKeyRangeBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/key/TypedKey.java b/src/main/java/org/tikv/common/key/TypedKey.java index 21a05c16a8..40b3f039ce 100644 --- a/src/main/java/org/tikv/common/key/TypedKey.java +++ b/src/main/java/org/tikv/common/key/TypedKey.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.key; diff --git a/src/main/java/org/tikv/common/log/SlowLog.java b/src/main/java/org/tikv/common/log/SlowLog.java index be538f3555..2143b74533 100644 --- a/src/main/java/org/tikv/common/log/SlowLog.java +++ b/src/main/java/org/tikv/common/log/SlowLog.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/log/SlowLogEmptyImpl.java b/src/main/java/org/tikv/common/log/SlowLogEmptyImpl.java index 42cae37661..e938086062 100644 --- a/src/main/java/org/tikv/common/log/SlowLogEmptyImpl.java +++ b/src/main/java/org/tikv/common/log/SlowLogEmptyImpl.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/log/SlowLogImpl.java b/src/main/java/org/tikv/common/log/SlowLogImpl.java index f08ec1416f..d582248220 100644 --- a/src/main/java/org/tikv/common/log/SlowLogImpl.java +++ b/src/main/java/org/tikv/common/log/SlowLogImpl.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/log/SlowLogSpan.java b/src/main/java/org/tikv/common/log/SlowLogSpan.java index 42ea692069..5975530864 100644 --- a/src/main/java/org/tikv/common/log/SlowLogSpan.java +++ b/src/main/java/org/tikv/common/log/SlowLogSpan.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/log/SlowLogSpanEmptyImpl.java b/src/main/java/org/tikv/common/log/SlowLogSpanEmptyImpl.java index cfbca6146d..8ec5bf44cb 100644 --- a/src/main/java/org/tikv/common/log/SlowLogSpanEmptyImpl.java +++ b/src/main/java/org/tikv/common/log/SlowLogSpanEmptyImpl.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/log/SlowLogSpanImpl.java b/src/main/java/org/tikv/common/log/SlowLogSpanImpl.java index 131b3fa692..b910517d15 100644 --- a/src/main/java/org/tikv/common/log/SlowLogSpanImpl.java +++ b/src/main/java/org/tikv/common/log/SlowLogSpanImpl.java @@ -1,15 +1,15 @@ /* - * * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/meta/CIStr.java b/src/main/java/org/tikv/common/meta/CIStr.java index 2134a9c53a..6068dba082 100644 --- a/src/main/java/org/tikv/common/meta/CIStr.java +++ b/src/main/java/org/tikv/common/meta/CIStr.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/Collation.java b/src/main/java/org/tikv/common/meta/Collation.java index 3893a83a58..b2b1bcfc1e 100644 --- a/src/main/java/org/tikv/common/meta/Collation.java +++ b/src/main/java/org/tikv/common/meta/Collation.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/IndexType.java b/src/main/java/org/tikv/common/meta/IndexType.java index 97ec4c35e1..502fe7182d 100644 --- a/src/main/java/org/tikv/common/meta/IndexType.java +++ b/src/main/java/org/tikv/common/meta/IndexType.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/SchemaState.java b/src/main/java/org/tikv/common/meta/SchemaState.java index 953b4befd6..1d01622231 100644 --- a/src/main/java/org/tikv/common/meta/SchemaState.java +++ b/src/main/java/org/tikv/common/meta/SchemaState.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiColumnInfo.java b/src/main/java/org/tikv/common/meta/TiColumnInfo.java index fb754ceac7..20227b89f3 100644 --- a/src/main/java/org/tikv/common/meta/TiColumnInfo.java +++ b/src/main/java/org/tikv/common/meta/TiColumnInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiDAGRequest.java b/src/main/java/org/tikv/common/meta/TiDAGRequest.java index d0d5b9c13f..5200bdef83 100644 --- a/src/main/java/org/tikv/common/meta/TiDAGRequest.java +++ b/src/main/java/org/tikv/common/meta/TiDAGRequest.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiDBInfo.java b/src/main/java/org/tikv/common/meta/TiDBInfo.java index 21504c4027..759f82c35f 100644 --- a/src/main/java/org/tikv/common/meta/TiDBInfo.java +++ b/src/main/java/org/tikv/common/meta/TiDBInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiFlashReplicaInfo.java b/src/main/java/org/tikv/common/meta/TiFlashReplicaInfo.java index f66e2f090f..07f22a47b8 100644 --- a/src/main/java/org/tikv/common/meta/TiFlashReplicaInfo.java +++ b/src/main/java/org/tikv/common/meta/TiFlashReplicaInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiIndexColumn.java b/src/main/java/org/tikv/common/meta/TiIndexColumn.java index caa4f5e858..ddea32b835 100644 --- a/src/main/java/org/tikv/common/meta/TiIndexColumn.java +++ b/src/main/java/org/tikv/common/meta/TiIndexColumn.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiIndexInfo.java b/src/main/java/org/tikv/common/meta/TiIndexInfo.java index 70eb33ccb3..0f0c70b22c 100644 --- a/src/main/java/org/tikv/common/meta/TiIndexInfo.java +++ b/src/main/java/org/tikv/common/meta/TiIndexInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiPartitionDef.java b/src/main/java/org/tikv/common/meta/TiPartitionDef.java index 630b913206..178f586ca5 100644 --- a/src/main/java/org/tikv/common/meta/TiPartitionDef.java +++ b/src/main/java/org/tikv/common/meta/TiPartitionDef.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiPartitionExpr.java b/src/main/java/org/tikv/common/meta/TiPartitionExpr.java index fc42799ba8..d25fd48815 100644 --- a/src/main/java/org/tikv/common/meta/TiPartitionExpr.java +++ b/src/main/java/org/tikv/common/meta/TiPartitionExpr.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiPartitionInfo.java b/src/main/java/org/tikv/common/meta/TiPartitionInfo.java index d15374705d..2c7e505035 100644 --- a/src/main/java/org/tikv/common/meta/TiPartitionInfo.java +++ b/src/main/java/org/tikv/common/meta/TiPartitionInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiSequenceInfo.java b/src/main/java/org/tikv/common/meta/TiSequenceInfo.java index 2053c3f4c8..1c2408672a 100644 --- a/src/main/java/org/tikv/common/meta/TiSequenceInfo.java +++ b/src/main/java/org/tikv/common/meta/TiSequenceInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiTableInfo.java b/src/main/java/org/tikv/common/meta/TiTableInfo.java index 2dcb60bca3..344cf5d964 100644 --- a/src/main/java/org/tikv/common/meta/TiTableInfo.java +++ b/src/main/java/org/tikv/common/meta/TiTableInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiTimestamp.java b/src/main/java/org/tikv/common/meta/TiTimestamp.java index 1582a3cf55..a95a741bc7 100644 --- a/src/main/java/org/tikv/common/meta/TiTimestamp.java +++ b/src/main/java/org/tikv/common/meta/TiTimestamp.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiUserIdentity.java b/src/main/java/org/tikv/common/meta/TiUserIdentity.java index 6af80b449a..559596d65d 100644 --- a/src/main/java/org/tikv/common/meta/TiUserIdentity.java +++ b/src/main/java/org/tikv/common/meta/TiUserIdentity.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/meta/TiViewInfo.java b/src/main/java/org/tikv/common/meta/TiViewInfo.java index 404dba2958..1683330fa5 100644 --- a/src/main/java/org/tikv/common/meta/TiViewInfo.java +++ b/src/main/java/org/tikv/common/meta/TiViewInfo.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.meta; diff --git a/src/main/java/org/tikv/common/operation/ErrorHandler.java b/src/main/java/org/tikv/common/operation/ErrorHandler.java index a49d653bc8..b0ff3c820f 100644 --- a/src/main/java/org/tikv/common/operation/ErrorHandler.java +++ b/src/main/java/org/tikv/common/operation/ErrorHandler.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/operation/KVErrorHandler.java b/src/main/java/org/tikv/common/operation/KVErrorHandler.java index fd14537a03..135664530b 100644 --- a/src/main/java/org/tikv/common/operation/KVErrorHandler.java +++ b/src/main/java/org/tikv/common/operation/KVErrorHandler.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/operation/NoopHandler.java b/src/main/java/org/tikv/common/operation/NoopHandler.java index 81f54c66c4..f25a828129 100644 --- a/src/main/java/org/tikv/common/operation/NoopHandler.java +++ b/src/main/java/org/tikv/common/operation/NoopHandler.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation; diff --git a/src/main/java/org/tikv/common/operation/PDErrorHandler.java b/src/main/java/org/tikv/common/operation/PDErrorHandler.java index a5888f0e0e..7feac9bb2f 100644 --- a/src/main/java/org/tikv/common/operation/PDErrorHandler.java +++ b/src/main/java/org/tikv/common/operation/PDErrorHandler.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/operation/RegionErrorHandler.java b/src/main/java/org/tikv/common/operation/RegionErrorHandler.java index 11da87cb8b..a809d30441 100644 --- a/src/main/java/org/tikv/common/operation/RegionErrorHandler.java +++ b/src/main/java/org/tikv/common/operation/RegionErrorHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.operation; import com.google.protobuf.ByteString; diff --git a/src/main/java/org/tikv/common/operation/SchemaInfer.java b/src/main/java/org/tikv/common/operation/SchemaInfer.java index c07256f70b..7f22558fd6 100644 --- a/src/main/java/org/tikv/common/operation/SchemaInfer.java +++ b/src/main/java/org/tikv/common/operation/SchemaInfer.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation; diff --git a/src/main/java/org/tikv/common/operation/iterator/ChunkIterator.java b/src/main/java/org/tikv/common/operation/iterator/ChunkIterator.java index 3d37840f47..92792fe198 100644 --- a/src/main/java/org/tikv/common/operation/iterator/ChunkIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/ChunkIterator.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/operation/iterator/ConcreteScanIterator.java b/src/main/java/org/tikv/common/operation/iterator/ConcreteScanIterator.java index 2003c12c08..c366079551 100644 --- a/src/main/java/org/tikv/common/operation/iterator/ConcreteScanIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/ConcreteScanIterator.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation.iterator; diff --git a/src/main/java/org/tikv/common/operation/iterator/CoprocessorIterator.java b/src/main/java/org/tikv/common/operation/iterator/CoprocessorIterator.java index 9ada17afbe..5208878dd1 100644 --- a/src/main/java/org/tikv/common/operation/iterator/CoprocessorIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/CoprocessorIterator.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation.iterator; diff --git a/src/main/java/org/tikv/common/operation/iterator/DAGIterator.java b/src/main/java/org/tikv/common/operation/iterator/DAGIterator.java index 1c8216f784..f0d412c112 100644 --- a/src/main/java/org/tikv/common/operation/iterator/DAGIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/DAGIterator.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation.iterator; diff --git a/src/main/java/org/tikv/common/operation/iterator/IndexScanIterator.java b/src/main/java/org/tikv/common/operation/iterator/IndexScanIterator.java index 51cc253a24..b8fcab5ac4 100644 --- a/src/main/java/org/tikv/common/operation/iterator/IndexScanIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/IndexScanIterator.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation.iterator; diff --git a/src/main/java/org/tikv/common/operation/iterator/RawScanIterator.java b/src/main/java/org/tikv/common/operation/iterator/RawScanIterator.java index 04179fdde6..ce532cb962 100644 --- a/src/main/java/org/tikv/common/operation/iterator/RawScanIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/RawScanIterator.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation.iterator; diff --git a/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java b/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java index fd87ab553e..7d900fe08a 100644 --- a/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java +++ b/src/main/java/org/tikv/common/operation/iterator/ScanIterator.java @@ -1,16 +1,18 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.operation.iterator; diff --git a/src/main/java/org/tikv/common/parser/AstBuilder.java b/src/main/java/org/tikv/common/parser/AstBuilder.java index 33782ebc79..f9a8966b45 100644 --- a/src/main/java/org/tikv/common/parser/AstBuilder.java +++ b/src/main/java/org/tikv/common/parser/AstBuilder.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.parser; diff --git a/src/main/java/org/tikv/common/parser/CaseChangingCharStream.java b/src/main/java/org/tikv/common/parser/CaseChangingCharStream.java index d39fe04e75..0c4fd951aa 100644 --- a/src/main/java/org/tikv/common/parser/CaseChangingCharStream.java +++ b/src/main/java/org/tikv/common/parser/CaseChangingCharStream.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/parser/TiParser.java b/src/main/java/org/tikv/common/parser/TiParser.java index c0291dd848..e57142b3d0 100644 --- a/src/main/java/org/tikv/common/parser/TiParser.java +++ b/src/main/java/org/tikv/common/parser/TiParser.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/pd/PDError.java b/src/main/java/org/tikv/common/pd/PDError.java index 21601f38c0..645d1eb2c3 100644 --- a/src/main/java/org/tikv/common/pd/PDError.java +++ b/src/main/java/org/tikv/common/pd/PDError.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/pd/PDUtils.java b/src/main/java/org/tikv/common/pd/PDUtils.java index 03ed977be9..2049af7543 100644 --- a/src/main/java/org/tikv/common/pd/PDUtils.java +++ b/src/main/java/org/tikv/common/pd/PDUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.pd; diff --git a/src/main/java/org/tikv/common/policy/RetryMaxMs.java b/src/main/java/org/tikv/common/policy/RetryMaxMs.java index e4e64b2722..888ccb1f1b 100644 --- a/src/main/java/org/tikv/common/policy/RetryMaxMs.java +++ b/src/main/java/org/tikv/common/policy/RetryMaxMs.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.policy; diff --git a/src/main/java/org/tikv/common/policy/RetryPolicy.java b/src/main/java/org/tikv/common/policy/RetryPolicy.java index fc9cd7ac1c..bf075d7db0 100644 --- a/src/main/java/org/tikv/common/policy/RetryPolicy.java +++ b/src/main/java/org/tikv/common/policy/RetryPolicy.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.policy; diff --git a/src/main/java/org/tikv/common/predicates/IndexRange.java b/src/main/java/org/tikv/common/predicates/IndexRange.java index 6912f26c40..3ab76d15a8 100644 --- a/src/main/java/org/tikv/common/predicates/IndexRange.java +++ b/src/main/java/org/tikv/common/predicates/IndexRange.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.predicates; diff --git a/src/main/java/org/tikv/common/predicates/PredicateUtils.java b/src/main/java/org/tikv/common/predicates/PredicateUtils.java index 48c6809ada..76dd9d0d74 100644 --- a/src/main/java/org/tikv/common/predicates/PredicateUtils.java +++ b/src/main/java/org/tikv/common/predicates/PredicateUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.predicates; diff --git a/src/main/java/org/tikv/common/predicates/ScanSpec.java b/src/main/java/org/tikv/common/predicates/ScanSpec.java index a136421303..7f56595003 100644 --- a/src/main/java/org/tikv/common/predicates/ScanSpec.java +++ b/src/main/java/org/tikv/common/predicates/ScanSpec.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.predicates; diff --git a/src/main/java/org/tikv/common/predicates/SelectivityCalculator.java b/src/main/java/org/tikv/common/predicates/SelectivityCalculator.java index 5d39040f15..964b420771 100644 --- a/src/main/java/org/tikv/common/predicates/SelectivityCalculator.java +++ b/src/main/java/org/tikv/common/predicates/SelectivityCalculator.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.predicates; diff --git a/src/main/java/org/tikv/common/predicates/TiKVScanAnalyzer.java b/src/main/java/org/tikv/common/predicates/TiKVScanAnalyzer.java index 70c90a674c..c7f9b092c5 100644 --- a/src/main/java/org/tikv/common/predicates/TiKVScanAnalyzer.java +++ b/src/main/java/org/tikv/common/predicates/TiKVScanAnalyzer.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.predicates; diff --git a/src/main/java/org/tikv/common/region/AbstractRegionStoreClient.java b/src/main/java/org/tikv/common/region/AbstractRegionStoreClient.java index cd0673dee0..718824eb16 100644 --- a/src/main/java/org/tikv/common/region/AbstractRegionStoreClient.java +++ b/src/main/java/org/tikv/common/region/AbstractRegionStoreClient.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/region/RegionCache.java b/src/main/java/org/tikv/common/region/RegionCache.java index f9d848ac9d..c7192bef47 100644 --- a/src/main/java/org/tikv/common/region/RegionCache.java +++ b/src/main/java/org/tikv/common/region/RegionCache.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.region; import static org.tikv.common.codec.KeyUtils.formatBytesUTF8; diff --git a/src/main/java/org/tikv/common/region/RegionErrorReceiver.java b/src/main/java/org/tikv/common/region/RegionErrorReceiver.java index 36ef68b82c..edd1d5d7ca 100644 --- a/src/main/java/org/tikv/common/region/RegionErrorReceiver.java +++ b/src/main/java/org/tikv/common/region/RegionErrorReceiver.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/region/RegionManager.java b/src/main/java/org/tikv/common/region/RegionManager.java index e2614895e1..47cfa11b3f 100644 --- a/src/main/java/org/tikv/common/region/RegionManager.java +++ b/src/main/java/org/tikv/common/region/RegionManager.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/region/RegionStoreClient.java b/src/main/java/org/tikv/common/region/RegionStoreClient.java index 67ccf4d554..a41c1f5069 100644 --- a/src/main/java/org/tikv/common/region/RegionStoreClient.java +++ b/src/main/java/org/tikv/common/region/RegionStoreClient.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/region/StoreHealthyChecker.java b/src/main/java/org/tikv/common/region/StoreHealthyChecker.java index 0d9de5c3fb..56c953d296 100644 --- a/src/main/java/org/tikv/common/region/StoreHealthyChecker.java +++ b/src/main/java/org/tikv/common/region/StoreHealthyChecker.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.region; import io.grpc.ManagedChannel; diff --git a/src/main/java/org/tikv/common/region/TiRegion.java b/src/main/java/org/tikv/common/region/TiRegion.java index 53a667bf4d..71b326c46e 100644 --- a/src/main/java/org/tikv/common/region/TiRegion.java +++ b/src/main/java/org/tikv/common/region/TiRegion.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/region/TiStore.java b/src/main/java/org/tikv/common/region/TiStore.java index c246490df9..8513e2b56e 100644 --- a/src/main/java/org/tikv/common/region/TiStore.java +++ b/src/main/java/org/tikv/common/region/TiStore.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.region; import java.io.Serializable; diff --git a/src/main/java/org/tikv/common/region/TiStoreType.java b/src/main/java/org/tikv/common/region/TiStoreType.java index e49e0cc6af..9f2ae00a3c 100644 --- a/src/main/java/org/tikv/common/region/TiStoreType.java +++ b/src/main/java/org/tikv/common/region/TiStoreType.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.region; diff --git a/src/main/java/org/tikv/common/replica/FollowerReplicaSelector.java b/src/main/java/org/tikv/common/replica/FollowerReplicaSelector.java index 81341bdacf..e4d45ef124 100644 --- a/src/main/java/org/tikv/common/replica/FollowerReplicaSelector.java +++ b/src/main/java/org/tikv/common/replica/FollowerReplicaSelector.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.replica; diff --git a/src/main/java/org/tikv/common/replica/LeaderFollowerReplicaSelector.java b/src/main/java/org/tikv/common/replica/LeaderFollowerReplicaSelector.java index ed8a7c5073..9945943f9d 100644 --- a/src/main/java/org/tikv/common/replica/LeaderFollowerReplicaSelector.java +++ b/src/main/java/org/tikv/common/replica/LeaderFollowerReplicaSelector.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.replica; diff --git a/src/main/java/org/tikv/common/replica/LeaderReplicaSelector.java b/src/main/java/org/tikv/common/replica/LeaderReplicaSelector.java index 84838eb1a5..4ca382237f 100644 --- a/src/main/java/org/tikv/common/replica/LeaderReplicaSelector.java +++ b/src/main/java/org/tikv/common/replica/LeaderReplicaSelector.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.replica; diff --git a/src/main/java/org/tikv/common/replica/Region.java b/src/main/java/org/tikv/common/replica/Region.java index b87c0552a6..18cf6b1c20 100644 --- a/src/main/java/org/tikv/common/replica/Region.java +++ b/src/main/java/org/tikv/common/replica/Region.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.replica; import static com.google.common.base.MoreObjects.toStringHelper; diff --git a/src/main/java/org/tikv/common/replica/ReplicaSelector.java b/src/main/java/org/tikv/common/replica/ReplicaSelector.java index 95f74eb4f9..3577874147 100644 --- a/src/main/java/org/tikv/common/replica/ReplicaSelector.java +++ b/src/main/java/org/tikv/common/replica/ReplicaSelector.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.replica; diff --git a/src/main/java/org/tikv/common/replica/Store.java b/src/main/java/org/tikv/common/replica/Store.java index 6881d4be91..b4c55cca5b 100644 --- a/src/main/java/org/tikv/common/replica/Store.java +++ b/src/main/java/org/tikv/common/replica/Store.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.replica; import static com.google.common.base.MoreObjects.toStringHelper; diff --git a/src/main/java/org/tikv/common/row/DefaultRowReader.java b/src/main/java/org/tikv/common/row/DefaultRowReader.java index 6172b40fc2..12bc216cba 100644 --- a/src/main/java/org/tikv/common/row/DefaultRowReader.java +++ b/src/main/java/org/tikv/common/row/DefaultRowReader.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/row/ObjectRowImpl.java b/src/main/java/org/tikv/common/row/ObjectRowImpl.java index 0991c57786..5801598419 100644 --- a/src/main/java/org/tikv/common/row/ObjectRowImpl.java +++ b/src/main/java/org/tikv/common/row/ObjectRowImpl.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/row/Row.java b/src/main/java/org/tikv/common/row/Row.java index c0aba134c9..110a80d090 100644 --- a/src/main/java/org/tikv/common/row/Row.java +++ b/src/main/java/org/tikv/common/row/Row.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/row/RowReader.java b/src/main/java/org/tikv/common/row/RowReader.java index 135695a622..4f53f5ad61 100644 --- a/src/main/java/org/tikv/common/row/RowReader.java +++ b/src/main/java/org/tikv/common/row/RowReader.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/row/RowReaderFactory.java b/src/main/java/org/tikv/common/row/RowReaderFactory.java index bbb2e7b3eb..97941931bf 100644 --- a/src/main/java/org/tikv/common/row/RowReaderFactory.java +++ b/src/main/java/org/tikv/common/row/RowReaderFactory.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/statistics/Bucket.java b/src/main/java/org/tikv/common/statistics/Bucket.java index 601540fcb9..2ef2511289 100644 --- a/src/main/java/org/tikv/common/statistics/Bucket.java +++ b/src/main/java/org/tikv/common/statistics/Bucket.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/statistics/CMSketch.java b/src/main/java/org/tikv/common/statistics/CMSketch.java index 8dbb336d3f..e6d5d79f19 100644 --- a/src/main/java/org/tikv/common/statistics/CMSketch.java +++ b/src/main/java/org/tikv/common/statistics/CMSketch.java @@ -1,14 +1,15 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/statistics/ColumnStatistics.java b/src/main/java/org/tikv/common/statistics/ColumnStatistics.java index c6afccc2f9..fd89aef018 100644 --- a/src/main/java/org/tikv/common/statistics/ColumnStatistics.java +++ b/src/main/java/org/tikv/common/statistics/ColumnStatistics.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/statistics/Histogram.java b/src/main/java/org/tikv/common/statistics/Histogram.java index abf5c373cb..06bd6d5be3 100644 --- a/src/main/java/org/tikv/common/statistics/Histogram.java +++ b/src/main/java/org/tikv/common/statistics/Histogram.java @@ -1,14 +1,15 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/statistics/IndexStatistics.java b/src/main/java/org/tikv/common/statistics/IndexStatistics.java index 55b8daaf01..d8912080c4 100644 --- a/src/main/java/org/tikv/common/statistics/IndexStatistics.java +++ b/src/main/java/org/tikv/common/statistics/IndexStatistics.java @@ -1,14 +1,15 @@ /* - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/statistics/TableStatistics.java b/src/main/java/org/tikv/common/statistics/TableStatistics.java index 6826635bd9..d2e671b1f0 100644 --- a/src/main/java/org/tikv/common/statistics/TableStatistics.java +++ b/src/main/java/org/tikv/common/statistics/TableStatistics.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2018 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/streaming/StreamingResponse.java b/src/main/java/org/tikv/common/streaming/StreamingResponse.java index 10f4fd8eda..d76215eb69 100644 --- a/src/main/java/org/tikv/common/streaming/StreamingResponse.java +++ b/src/main/java/org/tikv/common/streaming/StreamingResponse.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.streaming; diff --git a/src/main/java/org/tikv/common/types/AbstractDateTimeType.java b/src/main/java/org/tikv/common/types/AbstractDateTimeType.java index d8de5d363c..9da64c339f 100644 --- a/src/main/java/org/tikv/common/types/AbstractDateTimeType.java +++ b/src/main/java/org/tikv/common/types/AbstractDateTimeType.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.types; diff --git a/src/main/java/org/tikv/common/types/BitType.java b/src/main/java/org/tikv/common/types/BitType.java index 9fa3d453f0..4a38368671 100644 --- a/src/main/java/org/tikv/common/types/BitType.java +++ b/src/main/java/org/tikv/common/types/BitType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/BytesType.java b/src/main/java/org/tikv/common/types/BytesType.java index 43dcca54a7..dc3899f062 100644 --- a/src/main/java/org/tikv/common/types/BytesType.java +++ b/src/main/java/org/tikv/common/types/BytesType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/Charset.java b/src/main/java/org/tikv/common/types/Charset.java index 731de7ac0b..d7242c2545 100644 --- a/src/main/java/org/tikv/common/types/Charset.java +++ b/src/main/java/org/tikv/common/types/Charset.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.types; diff --git a/src/main/java/org/tikv/common/types/Converter.java b/src/main/java/org/tikv/common/types/Converter.java index 5cb0a59b7e..51d6762a5a 100644 --- a/src/main/java/org/tikv/common/types/Converter.java +++ b/src/main/java/org/tikv/common/types/Converter.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/DataType.java b/src/main/java/org/tikv/common/types/DataType.java index 205689a236..18e9b557ff 100644 --- a/src/main/java/org/tikv/common/types/DataType.java +++ b/src/main/java/org/tikv/common/types/DataType.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.types; diff --git a/src/main/java/org/tikv/common/types/DataTypeFactory.java b/src/main/java/org/tikv/common/types/DataTypeFactory.java index 0fc43c17ad..918e973045 100644 --- a/src/main/java/org/tikv/common/types/DataTypeFactory.java +++ b/src/main/java/org/tikv/common/types/DataTypeFactory.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/DateTimeType.java b/src/main/java/org/tikv/common/types/DateTimeType.java index c379a625ff..602e744bb1 100644 --- a/src/main/java/org/tikv/common/types/DateTimeType.java +++ b/src/main/java/org/tikv/common/types/DateTimeType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/DateType.java b/src/main/java/org/tikv/common/types/DateType.java index e123f79a51..8cf914d0d9 100644 --- a/src/main/java/org/tikv/common/types/DateType.java +++ b/src/main/java/org/tikv/common/types/DateType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/DecimalType.java b/src/main/java/org/tikv/common/types/DecimalType.java index 609be070d5..55f2815916 100644 --- a/src/main/java/org/tikv/common/types/DecimalType.java +++ b/src/main/java/org/tikv/common/types/DecimalType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/EnumType.java b/src/main/java/org/tikv/common/types/EnumType.java index aa94cf9149..98c858317b 100644 --- a/src/main/java/org/tikv/common/types/EnumType.java +++ b/src/main/java/org/tikv/common/types/EnumType.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.types; diff --git a/src/main/java/org/tikv/common/types/IntegerType.java b/src/main/java/org/tikv/common/types/IntegerType.java index c83fe64bfa..bc9fd09b5c 100644 --- a/src/main/java/org/tikv/common/types/IntegerType.java +++ b/src/main/java/org/tikv/common/types/IntegerType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/JsonType.java b/src/main/java/org/tikv/common/types/JsonType.java index cbd46223f2..05df960f2a 100644 --- a/src/main/java/org/tikv/common/types/JsonType.java +++ b/src/main/java/org/tikv/common/types/JsonType.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.types; diff --git a/src/main/java/org/tikv/common/types/MySQLType.java b/src/main/java/org/tikv/common/types/MySQLType.java index 791a0687bd..aba660ffd7 100644 --- a/src/main/java/org/tikv/common/types/MySQLType.java +++ b/src/main/java/org/tikv/common/types/MySQLType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/RealType.java b/src/main/java/org/tikv/common/types/RealType.java index f8fff301e7..6154bc202c 100644 --- a/src/main/java/org/tikv/common/types/RealType.java +++ b/src/main/java/org/tikv/common/types/RealType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/SetType.java b/src/main/java/org/tikv/common/types/SetType.java index 6a53a8e148..a13507b0ae 100644 --- a/src/main/java/org/tikv/common/types/SetType.java +++ b/src/main/java/org/tikv/common/types/SetType.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.types; diff --git a/src/main/java/org/tikv/common/types/StringType.java b/src/main/java/org/tikv/common/types/StringType.java index 8c3374ef41..6701fbe76d 100644 --- a/src/main/java/org/tikv/common/types/StringType.java +++ b/src/main/java/org/tikv/common/types/StringType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/TimeType.java b/src/main/java/org/tikv/common/types/TimeType.java index a69fd20719..8202acca3a 100644 --- a/src/main/java/org/tikv/common/types/TimeType.java +++ b/src/main/java/org/tikv/common/types/TimeType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/TimestampType.java b/src/main/java/org/tikv/common/types/TimestampType.java index 960a519ce2..8a28fd3ea2 100644 --- a/src/main/java/org/tikv/common/types/TimestampType.java +++ b/src/main/java/org/tikv/common/types/TimestampType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/types/UninitializedType.java b/src/main/java/org/tikv/common/types/UninitializedType.java index 327230e91c..e72516dabd 100644 --- a/src/main/java/org/tikv/common/types/UninitializedType.java +++ b/src/main/java/org/tikv/common/types/UninitializedType.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2019 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/util/BackOffFunction.java b/src/main/java/org/tikv/common/util/BackOffFunction.java index bc080e7355..72435dca35 100644 --- a/src/main/java/org/tikv/common/util/BackOffFunction.java +++ b/src/main/java/org/tikv/common/util/BackOffFunction.java @@ -1,3 +1,19 @@ +/* + * Copyright 2021 TiKV Project Authors. + * + * 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 org.tikv.common.util; import java.util.concurrent.ThreadLocalRandom; diff --git a/src/main/java/org/tikv/common/util/BackOffer.java b/src/main/java/org/tikv/common/util/BackOffer.java index 052dff7ced..911cf35ad6 100644 --- a/src/main/java/org/tikv/common/util/BackOffer.java +++ b/src/main/java/org/tikv/common/util/BackOffer.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/util/Batch.java b/src/main/java/org/tikv/common/util/Batch.java index ebb3f8ec4c..b7689725c6 100644 --- a/src/main/java/org/tikv/common/util/Batch.java +++ b/src/main/java/org/tikv/common/util/Batch.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/CHTypeMapping.java b/src/main/java/org/tikv/common/util/CHTypeMapping.java index 2d3c35318a..813b547a5e 100644 --- a/src/main/java/org/tikv/common/util/CHTypeMapping.java +++ b/src/main/java/org/tikv/common/util/CHTypeMapping.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/ChannelFactory.java b/src/main/java/org/tikv/common/util/ChannelFactory.java index e3f809726f..4d9bcbd5ec 100644 --- a/src/main/java/org/tikv/common/util/ChannelFactory.java +++ b/src/main/java/org/tikv/common/util/ChannelFactory.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/ClientUtils.java b/src/main/java/org/tikv/common/util/ClientUtils.java index 524307a311..d5c0adf9a4 100644 --- a/src/main/java/org/tikv/common/util/ClientUtils.java +++ b/src/main/java/org/tikv/common/util/ClientUtils.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/ConcreteBackOffer.java b/src/main/java/org/tikv/common/util/ConcreteBackOffer.java index a101831fd4..bbcababa3e 100644 --- a/src/main/java/org/tikv/common/util/ConcreteBackOffer.java +++ b/src/main/java/org/tikv/common/util/ConcreteBackOffer.java @@ -1,15 +1,15 @@ /* - * - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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. * diff --git a/src/main/java/org/tikv/common/util/DeleteRange.java b/src/main/java/org/tikv/common/util/DeleteRange.java index 37f4c4d356..4d6c922634 100644 --- a/src/main/java/org/tikv/common/util/DeleteRange.java +++ b/src/main/java/org/tikv/common/util/DeleteRange.java @@ -5,12 +5,14 @@ * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/FastByteComparisons.java b/src/main/java/org/tikv/common/util/FastByteComparisons.java index 047c637a54..62d23c95ad 100644 --- a/src/main/java/org/tikv/common/util/FastByteComparisons.java +++ b/src/main/java/org/tikv/common/util/FastByteComparisons.java @@ -1,17 +1,20 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one or more contributor license - * agreements. See the NOTICE file distributed with this work for additional information regarding - * copyright ownership. The ASF licenses this file to you 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 +/* + * Copyright 2021 TiKV Project Authors. * - *

http://www.apache.org/licenses/LICENSE-2.0 + * 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 * - *

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 + * 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 org.tikv.common.util; import com.google.common.primitives.Longs; diff --git a/src/main/java/org/tikv/common/util/FutureObserver.java b/src/main/java/org/tikv/common/util/FutureObserver.java index d5c66b84db..9417e798b5 100644 --- a/src/main/java/org/tikv/common/util/FutureObserver.java +++ b/src/main/java/org/tikv/common/util/FutureObserver.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/JsonUtils.java b/src/main/java/org/tikv/common/util/JsonUtils.java index 1723bf908e..ddea28bbcd 100644 --- a/src/main/java/org/tikv/common/util/JsonUtils.java +++ b/src/main/java/org/tikv/common/util/JsonUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/KeyRangeUtils.java b/src/main/java/org/tikv/common/util/KeyRangeUtils.java index 3ab426a9d8..b24f290027 100644 --- a/src/main/java/org/tikv/common/util/KeyRangeUtils.java +++ b/src/main/java/org/tikv/common/util/KeyRangeUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/MemoryUtil.java b/src/main/java/org/tikv/common/util/MemoryUtil.java index 4f9cc045a2..3ef20a5a95 100644 --- a/src/main/java/org/tikv/common/util/MemoryUtil.java +++ b/src/main/java/org/tikv/common/util/MemoryUtil.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/Pair.java b/src/main/java/org/tikv/common/util/Pair.java index 7100c1139c..803880a9d1 100644 --- a/src/main/java/org/tikv/common/util/Pair.java +++ b/src/main/java/org/tikv/common/util/Pair.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/RangeSplitter.java b/src/main/java/org/tikv/common/util/RangeSplitter.java index bb2dacc277..cd1098eccc 100644 --- a/src/main/java/org/tikv/common/util/RangeSplitter.java +++ b/src/main/java/org/tikv/common/util/RangeSplitter.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/ScanOption.java b/src/main/java/org/tikv/common/util/ScanOption.java index 181b6e30df..048269c6a0 100644 --- a/src/main/java/org/tikv/common/util/ScanOption.java +++ b/src/main/java/org/tikv/common/util/ScanOption.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/Timer.java b/src/main/java/org/tikv/common/util/Timer.java index ec956fb61c..0d88249fba 100644 --- a/src/main/java/org/tikv/common/util/Timer.java +++ b/src/main/java/org/tikv/common/util/Timer.java @@ -1,16 +1,18 @@ /* - * Copyright 2017 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util; diff --git a/src/main/java/org/tikv/common/util/TsoUtils.java b/src/main/java/org/tikv/common/util/TsoUtils.java index a33b2f3a88..2a050fbfc7 100644 --- a/src/main/java/org/tikv/common/util/TsoUtils.java +++ b/src/main/java/org/tikv/common/util/TsoUtils.java @@ -1,16 +1,18 @@ /* - * Copyright 2020 TiKV Project Authors. + * Copyright 2021 TiKV Project Authors. * * 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 + * 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 org.tikv.common.util;