From 4ace413667a0c83c20ba072fcfd270d9bc531b90 Mon Sep 17 00:00:00 2001 From: Kevin Davis Date: Wed, 15 May 2019 11:19:34 -0400 Subject: [PATCH] Use Apache 2.0 License (#4) * Configuring License Plugin * Adding License Notices to Source Files --- LICENSE | 201 ++++++++++++++++++ NOTICE | 13 ++ feignx-core/pom.xml | 21 ++ feignx-core/src/main/java/feign/Client.java | 16 ++ feignx-core/src/main/java/feign/Contract.java | 16 ++ .../src/main/java/feign/ExceptionHandler.java | 16 ++ feignx-core/src/main/java/feign/Feign.java | 16 ++ .../main/java/feign/FeignConfiguration.java | 16 ++ .../java/feign/FeignConfigurationBuilder.java | 16 ++ feignx-core/src/main/java/feign/Header.java | 16 ++ feignx-core/src/main/java/feign/Logger.java | 16 ++ feignx-core/src/main/java/feign/Request.java | 16 ++ .../src/main/java/feign/RequestEncoder.java | 16 ++ .../main/java/feign/RequestInterceptor.java | 16 ++ .../src/main/java/feign/RequestOptions.java | 16 ++ feignx-core/src/main/java/feign/Response.java | 16 ++ .../src/main/java/feign/ResponseDecoder.java | 16 ++ feignx-core/src/main/java/feign/Target.java | 16 ++ .../java/feign/TargetMethodDefinition.java | 16 ++ .../main/java/feign/TargetMethodHandler.java | 16 ++ .../feign/TargetMethodHandlerFactory.java | 16 ++ .../AbstractAnnotationDrivenContract.java | 16 ++ .../src/main/java/feign/contract/Body.java | 16 ++ .../java/feign/contract/FeignContract.java | 16 ++ .../src/main/java/feign/contract/Header.java | 16 ++ .../src/main/java/feign/contract/Headers.java | 16 ++ .../src/main/java/feign/contract/Param.java | 16 ++ .../src/main/java/feign/contract/Request.java | 16 ++ .../decoder/AbstractResponseDecoder.java | 16 ++ .../java/feign/decoder/StringDecoder.java | 16 ++ .../java/feign/encoder/StringEncoder.java | 16 ++ .../java/feign/exception/FeignException.java | 16 ++ .../main/java/feign/http/HttpException.java | 16 ++ .../src/main/java/feign/http/HttpHeader.java | 16 ++ .../src/main/java/feign/http/HttpMethod.java | 16 ++ .../src/main/java/feign/http/HttpRequest.java | 16 ++ .../main/java/feign/http/HttpResponse.java | 16 ++ .../java/feign/http/RequestSpecification.java | 16 ++ .../http/client/UrlConnectionClient.java | 18 +- .../AbstractFeignConfigurationBuilder.java | 16 ++ .../main/java/feign/impl/AbstractTarget.java | 16 ++ .../impl/AbstractTargetMethodHandler.java | 16 ++ .../feign/impl/BaseFeignConfiguration.java | 16 ++ .../impl/BlockingTargetMethodHandler.java | 16 ++ .../impl/TypeDrivenMethodHandlerFactory.java | 16 ++ .../src/main/java/feign/impl/UriTarget.java | 16 ++ .../feign/impl/type/ClassTypeDefinition.java | 16 ++ .../impl/type/GenericArrayTypeDefinition.java | 16 ++ .../type/ParameterizedTypeDefinition.java | 16 ++ .../java/feign/impl/type/TypeDefinition.java | 16 ++ .../impl/type/TypeDefinitionFactory.java | 16 ++ .../impl/type/WildCardTypeDefinition.java | 16 ++ .../java/feign/logging/AbstractLogger.java | 16 ++ .../main/java/feign/logging/SimpleLogger.java | 16 ++ .../java/feign/proxy/GuardMethodHandler.java | 16 ++ .../src/main/java/feign/proxy/ProxyFeign.java | 16 ++ .../main/java/feign/proxy/ProxyTarget.java | 16 ++ .../src/main/java/feign/support/Assert.java | 16 ++ .../main/java/feign/support/StringUtils.java | 16 ++ .../src/main/java/feign/template/Chunk.java | 16 ++ .../feign/template/CompositeExpression.java | 16 ++ .../java/feign/template/DotExpression.java | 16 ++ .../main/java/feign/template/Expression.java | 16 ++ .../main/java/feign/template/Expressions.java | 16 ++ .../FormContinuationStyleExpression.java | 16 ++ .../feign/template/FormStyleExpression.java | 16 ++ .../feign/template/FragmentExpression.java | 16 ++ .../src/main/java/feign/template/Literal.java | 16 ++ .../feign/template/PathSegmentExpression.java | 16 ++ .../feign/template/PathStyleExpression.java | 16 ++ .../feign/template/ReservedExpression.java | 16 ++ .../java/feign/template/SimpleExpression.java | 16 ++ .../template/SimpleTemplateParameter.java | 16 ++ .../feign/template/TemplateParameter.java | 16 ++ .../main/java/feign/template/UriTemplate.java | 16 ++ .../main/java/feign/template/UriUtils.java | 16 ++ .../src/test/java/feign/FeignTests.java | 16 ++ .../feign/TargetMethodDefinitionTest.java | 16 ++ .../assertions/AbstractHttpHeaderAssert.java | 16 ++ .../assertions/AbstractHttpRequestAssert.java | 16 ++ .../AbstractHttpResponseAssert.java | 16 ++ .../java/feign/assertions/Assertions.java | 16 ++ .../feign/assertions/HttpHeaderAssert.java | 16 ++ .../feign/assertions/HttpRequestAssert.java | 16 ++ .../feign/assertions/HttpResponseAssert.java | 16 ++ .../feign/contract/FeignContractTest.java | 16 ++ .../decoder/AbstractResponseDecoderTest.java | 16 ++ .../java/feign/decoder/StringDecoderTest.java | 16 ++ .../java/feign/encoder/StringEncoderTest.java | 16 ++ .../RethrowExceptionHandlerTest.java | 16 ++ .../java/feign/http/HttpExceptionTest.java | 16 ++ .../test/java/feign/http/HttpHeaderTest.java | 16 ++ .../java/feign/http/HttpResponseTest.java | 16 ++ .../feign/http/RequestSpecificationTest.java | 16 ++ .../UrlConnectionClientIntegrationTest.java | 16 ++ .../impl/AbstractTargetMethodHandlerTest.java | 16 ++ .../test/java/feign/impl/UriTargetTest.java | 16 ++ .../impl/type/TypeDefinitionFactoryTest.java | 16 ++ .../java/feign/logging/SimpleLoggerTest.java | 16 ++ .../java/feign/proxy/ProxyTargetTest.java | 16 ++ .../feign/template/DotExpressionTest.java | 16 ++ .../java/feign/template/ExpressionTest.java | 16 ++ .../java/feign/template/ExpressionsTest.java | 16 ++ .../FormContinuationStyleExpressionTest.java | 16 ++ .../template/FormStyleExpressionTest.java | 16 ++ .../template/FragmentExpressionTest.java | 16 ++ .../template/PathSegmentExpressionTest.java | 16 ++ .../template/PathStyleExpressionTest.java | 16 ++ .../template/ReservedExpressionTest.java | 16 ++ .../feign/template/SimpleExpressionTest.java | 16 ++ .../feign/template/StyleExpressionTest.java | 16 ++ .../feign/template/UriTemplateTckTests.java | 16 ++ .../java/feign/template/UriTemplateTest.java | 16 ++ .../java/feign/template/UriUtilsTest.java | 16 ++ .../java/feign/template/tck/TestCase.java | 16 ++ .../java/feign/template/tck/TestExamples.java | 16 ++ .../java/feign/template/tck/TestGroup.java | 16 ++ pom.xml | 53 +++++ src/resources/header-definition.xml | 14 ++ 119 files changed, 2127 insertions(+), 1 deletion(-) create mode 100644 LICENSE create mode 100644 NOTICE create mode 100644 src/resources/header-definition.xml diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f49a4e1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this 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. \ No newline at end of file diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..f3336b8 --- /dev/null +++ b/NOTICE @@ -0,0 +1,13 @@ +Copyright 2019 OpenFeign Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. \ No newline at end of file diff --git a/feignx-core/pom.xml b/feignx-core/pom.xml index 301d7a5..c5fff6c 100644 --- a/feignx-core/pom.xml +++ b/feignx-core/pom.xml @@ -1,4 +1,21 @@ + @@ -11,6 +28,10 @@ feignx-core + + ${project.basedir}/.. + + org.slf4j diff --git a/feignx-core/src/main/java/feign/Client.java b/feignx-core/src/main/java/feign/Client.java index 565d9cd..0c20af8 100644 --- a/feignx-core/src/main/java/feign/Client.java +++ b/feignx-core/src/main/java/feign/Client.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.exception.FeignException; diff --git a/feignx-core/src/main/java/feign/Contract.java b/feignx-core/src/main/java/feign/Contract.java index 4770c49..8cafb3b 100644 --- a/feignx-core/src/main/java/feign/Contract.java +++ b/feignx-core/src/main/java/feign/Contract.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.util.Collection; diff --git a/feignx-core/src/main/java/feign/ExceptionHandler.java b/feignx-core/src/main/java/feign/ExceptionHandler.java index 120d626..c4fa136 100644 --- a/feignx-core/src/main/java/feign/ExceptionHandler.java +++ b/feignx-core/src/main/java/feign/ExceptionHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.util.function.Consumer; diff --git a/feignx-core/src/main/java/feign/Feign.java b/feignx-core/src/main/java/feign/Feign.java index 7b1f2ca..bfe2dce 100644 --- a/feignx-core/src/main/java/feign/Feign.java +++ b/feignx-core/src/main/java/feign/Feign.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.ExceptionHandler.RethrowExceptionHandler; diff --git a/feignx-core/src/main/java/feign/FeignConfiguration.java b/feignx-core/src/main/java/feign/FeignConfiguration.java index 50f145e..f5cde98 100644 --- a/feignx-core/src/main/java/feign/FeignConfiguration.java +++ b/feignx-core/src/main/java/feign/FeignConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.util.List; diff --git a/feignx-core/src/main/java/feign/FeignConfigurationBuilder.java b/feignx-core/src/main/java/feign/FeignConfigurationBuilder.java index 68cd61f..250229b 100644 --- a/feignx-core/src/main/java/feign/FeignConfigurationBuilder.java +++ b/feignx-core/src/main/java/feign/FeignConfigurationBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.util.concurrent.Executor; diff --git a/feignx-core/src/main/java/feign/Header.java b/feignx-core/src/main/java/feign/Header.java index 0184f76..bb21f32 100644 --- a/feignx-core/src/main/java/feign/Header.java +++ b/feignx-core/src/main/java/feign/Header.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.util.Collection; diff --git a/feignx-core/src/main/java/feign/Logger.java b/feignx-core/src/main/java/feign/Logger.java index ee8e1df..c66b46a 100644 --- a/feignx-core/src/main/java/feign/Logger.java +++ b/feignx-core/src/main/java/feign/Logger.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; /** diff --git a/feignx-core/src/main/java/feign/Request.java b/feignx-core/src/main/java/feign/Request.java index 142702e..218c2db 100644 --- a/feignx-core/src/main/java/feign/Request.java +++ b/feignx-core/src/main/java/feign/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.http.HttpMethod; diff --git a/feignx-core/src/main/java/feign/RequestEncoder.java b/feignx-core/src/main/java/feign/RequestEncoder.java index 79e7178..bbc29c3 100644 --- a/feignx-core/src/main/java/feign/RequestEncoder.java +++ b/feignx-core/src/main/java/feign/RequestEncoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.http.RequestSpecification; diff --git a/feignx-core/src/main/java/feign/RequestInterceptor.java b/feignx-core/src/main/java/feign/RequestInterceptor.java index e554b48..e170e38 100644 --- a/feignx-core/src/main/java/feign/RequestInterceptor.java +++ b/feignx-core/src/main/java/feign/RequestInterceptor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.http.RequestSpecification; diff --git a/feignx-core/src/main/java/feign/RequestOptions.java b/feignx-core/src/main/java/feign/RequestOptions.java index ccda3aa..1f457c5 100644 --- a/feignx-core/src/main/java/feign/RequestOptions.java +++ b/feignx-core/src/main/java/feign/RequestOptions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.util.Objects; diff --git a/feignx-core/src/main/java/feign/Response.java b/feignx-core/src/main/java/feign/Response.java index ac9c074..59c89fe 100644 --- a/feignx-core/src/main/java/feign/Response.java +++ b/feignx-core/src/main/java/feign/Response.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import java.io.IOException; diff --git a/feignx-core/src/main/java/feign/ResponseDecoder.java b/feignx-core/src/main/java/feign/ResponseDecoder.java index f7e280c..da4f8d7 100644 --- a/feignx-core/src/main/java/feign/ResponseDecoder.java +++ b/feignx-core/src/main/java/feign/ResponseDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; /** diff --git a/feignx-core/src/main/java/feign/Target.java b/feignx-core/src/main/java/feign/Target.java index c551d3f..2e162e8 100644 --- a/feignx-core/src/main/java/feign/Target.java +++ b/feignx-core/src/main/java/feign/Target.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.http.RequestSpecification; diff --git a/feignx-core/src/main/java/feign/TargetMethodDefinition.java b/feignx-core/src/main/java/feign/TargetMethodDefinition.java index 0d88cc7..378fd9f 100644 --- a/feignx-core/src/main/java/feign/TargetMethodDefinition.java +++ b/feignx-core/src/main/java/feign/TargetMethodDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import feign.http.HttpHeader; diff --git a/feignx-core/src/main/java/feign/TargetMethodHandler.java b/feignx-core/src/main/java/feign/TargetMethodHandler.java index 3d0194b..62ff55e 100644 --- a/feignx-core/src/main/java/feign/TargetMethodHandler.java +++ b/feignx-core/src/main/java/feign/TargetMethodHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; /** diff --git a/feignx-core/src/main/java/feign/TargetMethodHandlerFactory.java b/feignx-core/src/main/java/feign/TargetMethodHandlerFactory.java index 543ebf9..78a6bd2 100644 --- a/feignx-core/src/main/java/feign/TargetMethodHandlerFactory.java +++ b/feignx-core/src/main/java/feign/TargetMethodHandlerFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; /** diff --git a/feignx-core/src/main/java/feign/contract/AbstractAnnotationDrivenContract.java b/feignx-core/src/main/java/feign/contract/AbstractAnnotationDrivenContract.java index ddc6a2a..9ce43fc 100644 --- a/feignx-core/src/main/java/feign/contract/AbstractAnnotationDrivenContract.java +++ b/feignx-core/src/main/java/feign/contract/AbstractAnnotationDrivenContract.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import feign.Contract; diff --git a/feignx-core/src/main/java/feign/contract/Body.java b/feignx-core/src/main/java/feign/contract/Body.java index 0939d18..52dac33 100644 --- a/feignx-core/src/main/java/feign/contract/Body.java +++ b/feignx-core/src/main/java/feign/contract/Body.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import java.lang.annotation.Documented; diff --git a/feignx-core/src/main/java/feign/contract/FeignContract.java b/feignx-core/src/main/java/feign/contract/FeignContract.java index 4407535..cc6c77a 100644 --- a/feignx-core/src/main/java/feign/contract/FeignContract.java +++ b/feignx-core/src/main/java/feign/contract/FeignContract.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import feign.TargetMethodDefinition; diff --git a/feignx-core/src/main/java/feign/contract/Header.java b/feignx-core/src/main/java/feign/contract/Header.java index a8ea3bd..0fcc345 100644 --- a/feignx-core/src/main/java/feign/contract/Header.java +++ b/feignx-core/src/main/java/feign/contract/Header.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import java.lang.annotation.Documented; diff --git a/feignx-core/src/main/java/feign/contract/Headers.java b/feignx-core/src/main/java/feign/contract/Headers.java index 3db4d6a..fe13ec7 100644 --- a/feignx-core/src/main/java/feign/contract/Headers.java +++ b/feignx-core/src/main/java/feign/contract/Headers.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import java.lang.annotation.Documented; diff --git a/feignx-core/src/main/java/feign/contract/Param.java b/feignx-core/src/main/java/feign/contract/Param.java index 50323b7..5f179c1 100644 --- a/feignx-core/src/main/java/feign/contract/Param.java +++ b/feignx-core/src/main/java/feign/contract/Param.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import java.lang.annotation.Documented; diff --git a/feignx-core/src/main/java/feign/contract/Request.java b/feignx-core/src/main/java/feign/contract/Request.java index dfd1f77..bbef9ff 100644 --- a/feignx-core/src/main/java/feign/contract/Request.java +++ b/feignx-core/src/main/java/feign/contract/Request.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import feign.RequestOptions; diff --git a/feignx-core/src/main/java/feign/decoder/AbstractResponseDecoder.java b/feignx-core/src/main/java/feign/decoder/AbstractResponseDecoder.java index 8c5131d..3bcbd6e 100644 --- a/feignx-core/src/main/java/feign/decoder/AbstractResponseDecoder.java +++ b/feignx-core/src/main/java/feign/decoder/AbstractResponseDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.decoder; import feign.Response; diff --git a/feignx-core/src/main/java/feign/decoder/StringDecoder.java b/feignx-core/src/main/java/feign/decoder/StringDecoder.java index 6e7a692..ba48a2a 100644 --- a/feignx-core/src/main/java/feign/decoder/StringDecoder.java +++ b/feignx-core/src/main/java/feign/decoder/StringDecoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.decoder; import feign.Response; diff --git a/feignx-core/src/main/java/feign/encoder/StringEncoder.java b/feignx-core/src/main/java/feign/encoder/StringEncoder.java index 20bd571..940eb50 100644 --- a/feignx-core/src/main/java/feign/encoder/StringEncoder.java +++ b/feignx-core/src/main/java/feign/encoder/StringEncoder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.encoder; import feign.RequestEncoder; diff --git a/feignx-core/src/main/java/feign/exception/FeignException.java b/feignx-core/src/main/java/feign/exception/FeignException.java index 720ffbd..6e4e0a6 100644 --- a/feignx-core/src/main/java/feign/exception/FeignException.java +++ b/feignx-core/src/main/java/feign/exception/FeignException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.exception; /** diff --git a/feignx-core/src/main/java/feign/http/HttpException.java b/feignx-core/src/main/java/feign/http/HttpException.java index 968f51e..bff6499 100644 --- a/feignx-core/src/main/java/feign/http/HttpException.java +++ b/feignx-core/src/main/java/feign/http/HttpException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import feign.Client; diff --git a/feignx-core/src/main/java/feign/http/HttpHeader.java b/feignx-core/src/main/java/feign/http/HttpHeader.java index b140568..7c1f997 100644 --- a/feignx-core/src/main/java/feign/http/HttpHeader.java +++ b/feignx-core/src/main/java/feign/http/HttpHeader.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import feign.Header; diff --git a/feignx-core/src/main/java/feign/http/HttpMethod.java b/feignx-core/src/main/java/feign/http/HttpMethod.java index a7ea949..3008959 100644 --- a/feignx-core/src/main/java/feign/http/HttpMethod.java +++ b/feignx-core/src/main/java/feign/http/HttpMethod.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; /** diff --git a/feignx-core/src/main/java/feign/http/HttpRequest.java b/feignx-core/src/main/java/feign/http/HttpRequest.java index 248fc4e..0a8de5e 100644 --- a/feignx-core/src/main/java/feign/http/HttpRequest.java +++ b/feignx-core/src/main/java/feign/http/HttpRequest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import feign.Header; diff --git a/feignx-core/src/main/java/feign/http/HttpResponse.java b/feignx-core/src/main/java/feign/http/HttpResponse.java index 0074236..6469bde 100644 --- a/feignx-core/src/main/java/feign/http/HttpResponse.java +++ b/feignx-core/src/main/java/feign/http/HttpResponse.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import feign.Header; diff --git a/feignx-core/src/main/java/feign/http/RequestSpecification.java b/feignx-core/src/main/java/feign/http/RequestSpecification.java index 58f4d5e..c21f311 100644 --- a/feignx-core/src/main/java/feign/http/RequestSpecification.java +++ b/feignx-core/src/main/java/feign/http/RequestSpecification.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import feign.Header; diff --git a/feignx-core/src/main/java/feign/http/client/UrlConnectionClient.java b/feignx-core/src/main/java/feign/http/client/UrlConnectionClient.java index 697e501..12e18b1 100644 --- a/feignx-core/src/main/java/feign/http/client/UrlConnectionClient.java +++ b/feignx-core/src/main/java/feign/http/client/UrlConnectionClient.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http.client; import feign.Client; @@ -27,7 +43,7 @@ public class UrlConnectionClient implements Client { * * @param request to send. * @return Response received. - * @throws HttpException if any error occurred during processing. + * @throws FeignException if any error occurred during processing. */ @Override public Response request(Request request) throws FeignException { diff --git a/feignx-core/src/main/java/feign/impl/AbstractFeignConfigurationBuilder.java b/feignx-core/src/main/java/feign/impl/AbstractFeignConfigurationBuilder.java index 674931f..57d9666 100644 --- a/feignx-core/src/main/java/feign/impl/AbstractFeignConfigurationBuilder.java +++ b/feignx-core/src/main/java/feign/impl/AbstractFeignConfigurationBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.Client; diff --git a/feignx-core/src/main/java/feign/impl/AbstractTarget.java b/feignx-core/src/main/java/feign/impl/AbstractTarget.java index 7a3f476..9acdba6 100644 --- a/feignx-core/src/main/java/feign/impl/AbstractTarget.java +++ b/feignx-core/src/main/java/feign/impl/AbstractTarget.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.Target; diff --git a/feignx-core/src/main/java/feign/impl/AbstractTargetMethodHandler.java b/feignx-core/src/main/java/feign/impl/AbstractTargetMethodHandler.java index 5218f17..2c225eb 100644 --- a/feignx-core/src/main/java/feign/impl/AbstractTargetMethodHandler.java +++ b/feignx-core/src/main/java/feign/impl/AbstractTargetMethodHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.Client; diff --git a/feignx-core/src/main/java/feign/impl/BaseFeignConfiguration.java b/feignx-core/src/main/java/feign/impl/BaseFeignConfiguration.java index 7ae2ae9..580c31b 100644 --- a/feignx-core/src/main/java/feign/impl/BaseFeignConfiguration.java +++ b/feignx-core/src/main/java/feign/impl/BaseFeignConfiguration.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.Client; diff --git a/feignx-core/src/main/java/feign/impl/BlockingTargetMethodHandler.java b/feignx-core/src/main/java/feign/impl/BlockingTargetMethodHandler.java index 6bc2d02..339c11b 100644 --- a/feignx-core/src/main/java/feign/impl/BlockingTargetMethodHandler.java +++ b/feignx-core/src/main/java/feign/impl/BlockingTargetMethodHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.Client; diff --git a/feignx-core/src/main/java/feign/impl/TypeDrivenMethodHandlerFactory.java b/feignx-core/src/main/java/feign/impl/TypeDrivenMethodHandlerFactory.java index 90918ba..a5d4589 100644 --- a/feignx-core/src/main/java/feign/impl/TypeDrivenMethodHandlerFactory.java +++ b/feignx-core/src/main/java/feign/impl/TypeDrivenMethodHandlerFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.FeignConfiguration; diff --git a/feignx-core/src/main/java/feign/impl/UriTarget.java b/feignx-core/src/main/java/feign/impl/UriTarget.java index 95186ec..84b3585 100644 --- a/feignx-core/src/main/java/feign/impl/UriTarget.java +++ b/feignx-core/src/main/java/feign/impl/UriTarget.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import feign.http.RequestSpecification; diff --git a/feignx-core/src/main/java/feign/impl/type/ClassTypeDefinition.java b/feignx-core/src/main/java/feign/impl/type/ClassTypeDefinition.java index 0e3b27c..4f230b1 100644 --- a/feignx-core/src/main/java/feign/impl/type/ClassTypeDefinition.java +++ b/feignx-core/src/main/java/feign/impl/type/ClassTypeDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import java.lang.reflect.Type; diff --git a/feignx-core/src/main/java/feign/impl/type/GenericArrayTypeDefinition.java b/feignx-core/src/main/java/feign/impl/type/GenericArrayTypeDefinition.java index f84a991..e6ae088 100644 --- a/feignx-core/src/main/java/feign/impl/type/GenericArrayTypeDefinition.java +++ b/feignx-core/src/main/java/feign/impl/type/GenericArrayTypeDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import java.lang.reflect.GenericArrayType; diff --git a/feignx-core/src/main/java/feign/impl/type/ParameterizedTypeDefinition.java b/feignx-core/src/main/java/feign/impl/type/ParameterizedTypeDefinition.java index a1cf9c2..ca48435 100644 --- a/feignx-core/src/main/java/feign/impl/type/ParameterizedTypeDefinition.java +++ b/feignx-core/src/main/java/feign/impl/type/ParameterizedTypeDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import java.lang.reflect.ParameterizedType; diff --git a/feignx-core/src/main/java/feign/impl/type/TypeDefinition.java b/feignx-core/src/main/java/feign/impl/type/TypeDefinition.java index d3b12a7..ebaf2cb 100644 --- a/feignx-core/src/main/java/feign/impl/type/TypeDefinition.java +++ b/feignx-core/src/main/java/feign/impl/type/TypeDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import java.lang.reflect.Type; diff --git a/feignx-core/src/main/java/feign/impl/type/TypeDefinitionFactory.java b/feignx-core/src/main/java/feign/impl/type/TypeDefinitionFactory.java index fa3f949..c01c803 100644 --- a/feignx-core/src/main/java/feign/impl/type/TypeDefinitionFactory.java +++ b/feignx-core/src/main/java/feign/impl/type/TypeDefinitionFactory.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import java.lang.reflect.GenericArrayType; diff --git a/feignx-core/src/main/java/feign/impl/type/WildCardTypeDefinition.java b/feignx-core/src/main/java/feign/impl/type/WildCardTypeDefinition.java index 3e1acff..b92064f 100644 --- a/feignx-core/src/main/java/feign/impl/type/WildCardTypeDefinition.java +++ b/feignx-core/src/main/java/feign/impl/type/WildCardTypeDefinition.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import java.lang.reflect.Type; diff --git a/feignx-core/src/main/java/feign/logging/AbstractLogger.java b/feignx-core/src/main/java/feign/logging/AbstractLogger.java index 79b943c..1b38f04 100644 --- a/feignx-core/src/main/java/feign/logging/AbstractLogger.java +++ b/feignx-core/src/main/java/feign/logging/AbstractLogger.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.logging; import feign.Header; diff --git a/feignx-core/src/main/java/feign/logging/SimpleLogger.java b/feignx-core/src/main/java/feign/logging/SimpleLogger.java index 77264a4..ba204be 100644 --- a/feignx-core/src/main/java/feign/logging/SimpleLogger.java +++ b/feignx-core/src/main/java/feign/logging/SimpleLogger.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.logging; import org.slf4j.Logger; diff --git a/feignx-core/src/main/java/feign/proxy/GuardMethodHandler.java b/feignx-core/src/main/java/feign/proxy/GuardMethodHandler.java index 37f24ac..15e2d1a 100644 --- a/feignx-core/src/main/java/feign/proxy/GuardMethodHandler.java +++ b/feignx-core/src/main/java/feign/proxy/GuardMethodHandler.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.proxy; import feign.Target; diff --git a/feignx-core/src/main/java/feign/proxy/ProxyFeign.java b/feignx-core/src/main/java/feign/proxy/ProxyFeign.java index 1b7da29..2c716c5 100644 --- a/feignx-core/src/main/java/feign/proxy/ProxyFeign.java +++ b/feignx-core/src/main/java/feign/proxy/ProxyFeign.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.proxy; import feign.Feign; diff --git a/feignx-core/src/main/java/feign/proxy/ProxyTarget.java b/feignx-core/src/main/java/feign/proxy/ProxyTarget.java index 3ef9fa7..f7c8656 100644 --- a/feignx-core/src/main/java/feign/proxy/ProxyTarget.java +++ b/feignx-core/src/main/java/feign/proxy/ProxyTarget.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.proxy; import feign.FeignConfiguration; diff --git a/feignx-core/src/main/java/feign/support/Assert.java b/feignx-core/src/main/java/feign/support/Assert.java index 40c3f00..33b4aeb 100644 --- a/feignx-core/src/main/java/feign/support/Assert.java +++ b/feignx-core/src/main/java/feign/support/Assert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.support; import java.util.function.Predicate; diff --git a/feignx-core/src/main/java/feign/support/StringUtils.java b/feignx-core/src/main/java/feign/support/StringUtils.java index b183837..3a81ec3 100644 --- a/feignx-core/src/main/java/feign/support/StringUtils.java +++ b/feignx-core/src/main/java/feign/support/StringUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.support; /** diff --git a/feignx-core/src/main/java/feign/template/Chunk.java b/feignx-core/src/main/java/feign/template/Chunk.java index d4e8b75..1334530 100644 --- a/feignx-core/src/main/java/feign/template/Chunk.java +++ b/feignx-core/src/main/java/feign/template/Chunk.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/CompositeExpression.java b/feignx-core/src/main/java/feign/template/CompositeExpression.java index e06d673..fb75e06 100644 --- a/feignx-core/src/main/java/feign/template/CompositeExpression.java +++ b/feignx-core/src/main/java/feign/template/CompositeExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.StringUtils; diff --git a/feignx-core/src/main/java/feign/template/DotExpression.java b/feignx-core/src/main/java/feign/template/DotExpression.java index 6d14d55..237230a 100644 --- a/feignx-core/src/main/java/feign/template/DotExpression.java +++ b/feignx-core/src/main/java/feign/template/DotExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/Expression.java b/feignx-core/src/main/java/feign/template/Expression.java index e0a381d..d073227 100644 --- a/feignx-core/src/main/java/feign/template/Expression.java +++ b/feignx-core/src/main/java/feign/template/Expression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.Assert; diff --git a/feignx-core/src/main/java/feign/template/Expressions.java b/feignx-core/src/main/java/feign/template/Expressions.java index 946b9cc..03fbfcf 100644 --- a/feignx-core/src/main/java/feign/template/Expressions.java +++ b/feignx-core/src/main/java/feign/template/Expressions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.StringUtils; diff --git a/feignx-core/src/main/java/feign/template/FormContinuationStyleExpression.java b/feignx-core/src/main/java/feign/template/FormContinuationStyleExpression.java index 1a28e35..905fb24 100644 --- a/feignx-core/src/main/java/feign/template/FormContinuationStyleExpression.java +++ b/feignx-core/src/main/java/feign/template/FormContinuationStyleExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/FormStyleExpression.java b/feignx-core/src/main/java/feign/template/FormStyleExpression.java index 5126cb7..514a9c0 100644 --- a/feignx-core/src/main/java/feign/template/FormStyleExpression.java +++ b/feignx-core/src/main/java/feign/template/FormStyleExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/FragmentExpression.java b/feignx-core/src/main/java/feign/template/FragmentExpression.java index b0edf57..0df4532 100644 --- a/feignx-core/src/main/java/feign/template/FragmentExpression.java +++ b/feignx-core/src/main/java/feign/template/FragmentExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/Literal.java b/feignx-core/src/main/java/feign/template/Literal.java index ba3cdb7..38b7648 100644 --- a/feignx-core/src/main/java/feign/template/Literal.java +++ b/feignx-core/src/main/java/feign/template/Literal.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.Assert; diff --git a/feignx-core/src/main/java/feign/template/PathSegmentExpression.java b/feignx-core/src/main/java/feign/template/PathSegmentExpression.java index 97fee33..6bdc325 100644 --- a/feignx-core/src/main/java/feign/template/PathSegmentExpression.java +++ b/feignx-core/src/main/java/feign/template/PathSegmentExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/PathStyleExpression.java b/feignx-core/src/main/java/feign/template/PathStyleExpression.java index 2c8a2ac..e43ec97 100644 --- a/feignx-core/src/main/java/feign/template/PathStyleExpression.java +++ b/feignx-core/src/main/java/feign/template/PathStyleExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.StringUtils; diff --git a/feignx-core/src/main/java/feign/template/ReservedExpression.java b/feignx-core/src/main/java/feign/template/ReservedExpression.java index fcedc03..654d7e1 100644 --- a/feignx-core/src/main/java/feign/template/ReservedExpression.java +++ b/feignx-core/src/main/java/feign/template/ReservedExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/SimpleExpression.java b/feignx-core/src/main/java/feign/template/SimpleExpression.java index 276447d..9673a8a 100644 --- a/feignx-core/src/main/java/feign/template/SimpleExpression.java +++ b/feignx-core/src/main/java/feign/template/SimpleExpression.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/SimpleTemplateParameter.java b/feignx-core/src/main/java/feign/template/SimpleTemplateParameter.java index 508f26b..384c023 100644 --- a/feignx-core/src/main/java/feign/template/SimpleTemplateParameter.java +++ b/feignx-core/src/main/java/feign/template/SimpleTemplateParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.Assert; diff --git a/feignx-core/src/main/java/feign/template/TemplateParameter.java b/feignx-core/src/main/java/feign/template/TemplateParameter.java index d94e9e4..e0f75b2 100644 --- a/feignx-core/src/main/java/feign/template/TemplateParameter.java +++ b/feignx-core/src/main/java/feign/template/TemplateParameter.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; /** diff --git a/feignx-core/src/main/java/feign/template/UriTemplate.java b/feignx-core/src/main/java/feign/template/UriTemplate.java index 3066cc0..1fb9349 100644 --- a/feignx-core/src/main/java/feign/template/UriTemplate.java +++ b/feignx-core/src/main/java/feign/template/UriTemplate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import feign.support.Assert; diff --git a/feignx-core/src/main/java/feign/template/UriUtils.java b/feignx-core/src/main/java/feign/template/UriUtils.java index 7bb70a6..94fde27 100644 --- a/feignx-core/src/main/java/feign/template/UriUtils.java +++ b/feignx-core/src/main/java/feign/template/UriUtils.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import java.io.ByteArrayOutputStream; diff --git a/feignx-core/src/test/java/feign/FeignTests.java b/feignx-core/src/test/java/feign/FeignTests.java index 2496130..403395e 100644 --- a/feignx-core/src/test/java/feign/FeignTests.java +++ b/feignx-core/src/test/java/feign/FeignTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/TargetMethodDefinitionTest.java b/feignx-core/src/test/java/feign/TargetMethodDefinitionTest.java index 983f5d0..6e5b115 100644 --- a/feignx-core/src/test/java/feign/TargetMethodDefinitionTest.java +++ b/feignx-core/src/test/java/feign/TargetMethodDefinitionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/assertions/AbstractHttpHeaderAssert.java b/feignx-core/src/test/java/feign/assertions/AbstractHttpHeaderAssert.java index 3073326..93be8dd 100644 --- a/feignx-core/src/test/java/feign/assertions/AbstractHttpHeaderAssert.java +++ b/feignx-core/src/test/java/feign/assertions/AbstractHttpHeaderAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; import feign.http.HttpHeader; diff --git a/feignx-core/src/test/java/feign/assertions/AbstractHttpRequestAssert.java b/feignx-core/src/test/java/feign/assertions/AbstractHttpRequestAssert.java index 196487c..041cc64 100644 --- a/feignx-core/src/test/java/feign/assertions/AbstractHttpRequestAssert.java +++ b/feignx-core/src/test/java/feign/assertions/AbstractHttpRequestAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; import feign.http.HttpHeader; diff --git a/feignx-core/src/test/java/feign/assertions/AbstractHttpResponseAssert.java b/feignx-core/src/test/java/feign/assertions/AbstractHttpResponseAssert.java index d6fdcf9..6fc4408 100644 --- a/feignx-core/src/test/java/feign/assertions/AbstractHttpResponseAssert.java +++ b/feignx-core/src/test/java/feign/assertions/AbstractHttpResponseAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; import feign.http.HttpHeader; diff --git a/feignx-core/src/test/java/feign/assertions/Assertions.java b/feignx-core/src/test/java/feign/assertions/Assertions.java index 8a56884..76b4bde 100644 --- a/feignx-core/src/test/java/feign/assertions/Assertions.java +++ b/feignx-core/src/test/java/feign/assertions/Assertions.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; /** diff --git a/feignx-core/src/test/java/feign/assertions/HttpHeaderAssert.java b/feignx-core/src/test/java/feign/assertions/HttpHeaderAssert.java index 14b4ceb..6b55289 100644 --- a/feignx-core/src/test/java/feign/assertions/HttpHeaderAssert.java +++ b/feignx-core/src/test/java/feign/assertions/HttpHeaderAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; import feign.http.HttpHeader; diff --git a/feignx-core/src/test/java/feign/assertions/HttpRequestAssert.java b/feignx-core/src/test/java/feign/assertions/HttpRequestAssert.java index 25e27fd..0ea159f 100644 --- a/feignx-core/src/test/java/feign/assertions/HttpRequestAssert.java +++ b/feignx-core/src/test/java/feign/assertions/HttpRequestAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; import feign.http.HttpRequest; diff --git a/feignx-core/src/test/java/feign/assertions/HttpResponseAssert.java b/feignx-core/src/test/java/feign/assertions/HttpResponseAssert.java index e31acc6..94e596a 100644 --- a/feignx-core/src/test/java/feign/assertions/HttpResponseAssert.java +++ b/feignx-core/src/test/java/feign/assertions/HttpResponseAssert.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.assertions; import feign.http.HttpResponse; diff --git a/feignx-core/src/test/java/feign/contract/FeignContractTest.java b/feignx-core/src/test/java/feign/contract/FeignContractTest.java index 275718c..83924c7 100644 --- a/feignx-core/src/test/java/feign/contract/FeignContractTest.java +++ b/feignx-core/src/test/java/feign/contract/FeignContractTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.contract; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/decoder/AbstractResponseDecoderTest.java b/feignx-core/src/test/java/feign/decoder/AbstractResponseDecoderTest.java index afec47c..888a639 100644 --- a/feignx-core/src/test/java/feign/decoder/AbstractResponseDecoderTest.java +++ b/feignx-core/src/test/java/feign/decoder/AbstractResponseDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.decoder; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/decoder/StringDecoderTest.java b/feignx-core/src/test/java/feign/decoder/StringDecoderTest.java index cf3c540..c33e6e7 100644 --- a/feignx-core/src/test/java/feign/decoder/StringDecoderTest.java +++ b/feignx-core/src/test/java/feign/decoder/StringDecoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.decoder; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/encoder/StringEncoderTest.java b/feignx-core/src/test/java/feign/encoder/StringEncoderTest.java index 600cb4c..3171b3c 100644 --- a/feignx-core/src/test/java/feign/encoder/StringEncoderTest.java +++ b/feignx-core/src/test/java/feign/encoder/StringEncoderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.encoder; import static org.mockito.ArgumentMatchers.any; diff --git a/feignx-core/src/test/java/feign/exception/RethrowExceptionHandlerTest.java b/feignx-core/src/test/java/feign/exception/RethrowExceptionHandlerTest.java index b7281ae..029f819 100644 --- a/feignx-core/src/test/java/feign/exception/RethrowExceptionHandlerTest.java +++ b/feignx-core/src/test/java/feign/exception/RethrowExceptionHandlerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.exception; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/http/HttpExceptionTest.java b/feignx-core/src/test/java/feign/http/HttpExceptionTest.java index b1384b9..788e136 100644 --- a/feignx-core/src/test/java/feign/http/HttpExceptionTest.java +++ b/feignx-core/src/test/java/feign/http/HttpExceptionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/http/HttpHeaderTest.java b/feignx-core/src/test/java/feign/http/HttpHeaderTest.java index 71d9f41..34e8a9d 100644 --- a/feignx-core/src/test/java/feign/http/HttpHeaderTest.java +++ b/feignx-core/src/test/java/feign/http/HttpHeaderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import static feign.assertions.HttpHeaderAssert.assertThat; diff --git a/feignx-core/src/test/java/feign/http/HttpResponseTest.java b/feignx-core/src/test/java/feign/http/HttpResponseTest.java index 506e9d1..cf1a237 100644 --- a/feignx-core/src/test/java/feign/http/HttpResponseTest.java +++ b/feignx-core/src/test/java/feign/http/HttpResponseTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/http/RequestSpecificationTest.java b/feignx-core/src/test/java/feign/http/RequestSpecificationTest.java index 05e5c02..311a89f 100644 --- a/feignx-core/src/test/java/feign/http/RequestSpecificationTest.java +++ b/feignx-core/src/test/java/feign/http/RequestSpecificationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http; import static feign.assertions.HttpRequestAssert.assertThat; diff --git a/feignx-core/src/test/java/feign/http/client/UrlConnectionClientIntegrationTest.java b/feignx-core/src/test/java/feign/http/client/UrlConnectionClientIntegrationTest.java index 11f256d..356e4e5 100644 --- a/feignx-core/src/test/java/feign/http/client/UrlConnectionClientIntegrationTest.java +++ b/feignx-core/src/test/java/feign/http/client/UrlConnectionClientIntegrationTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.http.client; import static feign.assertions.HttpResponseAssert.assertThat; diff --git a/feignx-core/src/test/java/feign/impl/AbstractTargetMethodHandlerTest.java b/feignx-core/src/test/java/feign/impl/AbstractTargetMethodHandlerTest.java index 6bc3712..941cbfc 100644 --- a/feignx-core/src/test/java/feign/impl/AbstractTargetMethodHandlerTest.java +++ b/feignx-core/src/test/java/feign/impl/AbstractTargetMethodHandlerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/impl/UriTargetTest.java b/feignx-core/src/test/java/feign/impl/UriTargetTest.java index 9b4811a..44f6d8c 100644 --- a/feignx-core/src/test/java/feign/impl/UriTargetTest.java +++ b/feignx-core/src/test/java/feign/impl/UriTargetTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/impl/type/TypeDefinitionFactoryTest.java b/feignx-core/src/test/java/feign/impl/type/TypeDefinitionFactoryTest.java index d76abd5..084626d 100644 --- a/feignx-core/src/test/java/feign/impl/type/TypeDefinitionFactoryTest.java +++ b/feignx-core/src/test/java/feign/impl/type/TypeDefinitionFactoryTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.impl.type; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/logging/SimpleLoggerTest.java b/feignx-core/src/test/java/feign/logging/SimpleLoggerTest.java index 4bd6cfd..5dc9fdd 100644 --- a/feignx-core/src/test/java/feign/logging/SimpleLoggerTest.java +++ b/feignx-core/src/test/java/feign/logging/SimpleLoggerTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.logging; import static org.mockito.Mockito.mock; diff --git a/feignx-core/src/test/java/feign/proxy/ProxyTargetTest.java b/feignx-core/src/test/java/feign/proxy/ProxyTargetTest.java index e04fe84..52df857 100644 --- a/feignx-core/src/test/java/feign/proxy/ProxyTargetTest.java +++ b/feignx-core/src/test/java/feign/proxy/ProxyTargetTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.proxy; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/DotExpressionTest.java b/feignx-core/src/test/java/feign/template/DotExpressionTest.java index c5950a8..9798222 100644 --- a/feignx-core/src/test/java/feign/template/DotExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/DotExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/ExpressionTest.java b/feignx-core/src/test/java/feign/template/ExpressionTest.java index 77e952d..3d4e7a2 100644 --- a/feignx-core/src/test/java/feign/template/ExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/ExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/ExpressionsTest.java b/feignx-core/src/test/java/feign/template/ExpressionsTest.java index 18cc753..70cf46b 100644 --- a/feignx-core/src/test/java/feign/template/ExpressionsTest.java +++ b/feignx-core/src/test/java/feign/template/ExpressionsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/FormContinuationStyleExpressionTest.java b/feignx-core/src/test/java/feign/template/FormContinuationStyleExpressionTest.java index fbb8acf..a21209e 100644 --- a/feignx-core/src/test/java/feign/template/FormContinuationStyleExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/FormContinuationStyleExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; class FormContinuationStyleExpressionTest extends FormStyleExpressionTest { diff --git a/feignx-core/src/test/java/feign/template/FormStyleExpressionTest.java b/feignx-core/src/test/java/feign/template/FormStyleExpressionTest.java index 911b179..017c237 100644 --- a/feignx-core/src/test/java/feign/template/FormStyleExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/FormStyleExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; class FormStyleExpressionTest extends StyleExpressionTest { diff --git a/feignx-core/src/test/java/feign/template/FragmentExpressionTest.java b/feignx-core/src/test/java/feign/template/FragmentExpressionTest.java index dadef69..340932a 100644 --- a/feignx-core/src/test/java/feign/template/FragmentExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/FragmentExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; class FragmentExpressionTest extends ReservedExpressionTest { diff --git a/feignx-core/src/test/java/feign/template/PathSegmentExpressionTest.java b/feignx-core/src/test/java/feign/template/PathSegmentExpressionTest.java index 237000e..3c52f90 100644 --- a/feignx-core/src/test/java/feign/template/PathSegmentExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/PathSegmentExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/PathStyleExpressionTest.java b/feignx-core/src/test/java/feign/template/PathStyleExpressionTest.java index f777a60..e96aa56 100644 --- a/feignx-core/src/test/java/feign/template/PathStyleExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/PathStyleExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/ReservedExpressionTest.java b/feignx-core/src/test/java/feign/template/ReservedExpressionTest.java index ff5afd1..224f511 100644 --- a/feignx-core/src/test/java/feign/template/ReservedExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/ReservedExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/SimpleExpressionTest.java b/feignx-core/src/test/java/feign/template/SimpleExpressionTest.java index 7661491..c56f18d 100644 --- a/feignx-core/src/test/java/feign/template/SimpleExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/SimpleExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; class SimpleExpressionTest extends ExpressionTest { diff --git a/feignx-core/src/test/java/feign/template/StyleExpressionTest.java b/feignx-core/src/test/java/feign/template/StyleExpressionTest.java index 3e33fc6..8cc50d6 100644 --- a/feignx-core/src/test/java/feign/template/StyleExpressionTest.java +++ b/feignx-core/src/test/java/feign/template/StyleExpressionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/UriTemplateTckTests.java b/feignx-core/src/test/java/feign/template/UriTemplateTckTests.java index 9feeae9..1f1a50a 100644 --- a/feignx-core/src/test/java/feign/template/UriTemplateTckTests.java +++ b/feignx-core/src/test/java/feign/template/UriTemplateTckTests.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.fail; diff --git a/feignx-core/src/test/java/feign/template/UriTemplateTest.java b/feignx-core/src/test/java/feign/template/UriTemplateTest.java index 053d80e..4db2503 100644 --- a/feignx-core/src/test/java/feign/template/UriTemplateTest.java +++ b/feignx-core/src/test/java/feign/template/UriTemplateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/UriUtilsTest.java b/feignx-core/src/test/java/feign/template/UriUtilsTest.java index cca2e9a..bfa5a29 100644 --- a/feignx-core/src/test/java/feign/template/UriUtilsTest.java +++ b/feignx-core/src/test/java/feign/template/UriUtilsTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template; import static org.assertj.core.api.Assertions.assertThat; diff --git a/feignx-core/src/test/java/feign/template/tck/TestCase.java b/feignx-core/src/test/java/feign/template/tck/TestCase.java index 4b066c4..d4a4b97 100644 --- a/feignx-core/src/test/java/feign/template/tck/TestCase.java +++ b/feignx-core/src/test/java/feign/template/tck/TestCase.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template.tck; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/feignx-core/src/test/java/feign/template/tck/TestExamples.java b/feignx-core/src/test/java/feign/template/tck/TestExamples.java index c8f0a0b..54b2999 100644 --- a/feignx-core/src/test/java/feign/template/tck/TestExamples.java +++ b/feignx-core/src/test/java/feign/template/tck/TestExamples.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template.tck; import java.util.LinkedHashMap; diff --git a/feignx-core/src/test/java/feign/template/tck/TestGroup.java b/feignx-core/src/test/java/feign/template/tck/TestGroup.java index 6719f97..e5f040d 100644 --- a/feignx-core/src/test/java/feign/template/tck/TestGroup.java +++ b/feignx-core/src/test/java/feign/template/tck/TestGroup.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 OpenFeign Contributors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + package feign.template.tck; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/pom.xml b/pom.xml index 5fc9e3c..8a4e22e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,21 @@ + @@ -14,6 +31,7 @@ UTF-8 + ${project.basedir} 1.7.26 @@ -225,6 +243,37 @@ + + com.mycila + license-maven-plugin + 3.0 + + true + + ${feign.basedir}/src/resources/header-definition.xml + +
NOTICE
+ + mvnw** + **/LICENSE + **/NOTICE + **/*.md + **/*.properties + src/resources/** + src/main/resources/** + src/test/resources/** + + true +
+ + + validate + + check + + + +
@@ -240,6 +289,10 @@ org.apache.maven.plugins maven-surefire-plugin + + com.mycila + license-maven-plugin + diff --git a/src/resources/header-definition.xml b/src/resources/header-definition.xml new file mode 100644 index 0000000..0695fac --- /dev/null +++ b/src/resources/header-definition.xml @@ -0,0 +1,14 @@ + + + + /* + * + */EOL + true + (\s|\t)*/\*.*$ + .*\*/(\s|\t)*$ + true + true + false + + \ No newline at end of file