xref: /OK3568_Linux_fs/external/chromium/licenses/LICENSE.28 (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTerms and conditions
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis is the Android Software Development Kit License Agreement
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun1. Introduction
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun1.4 "Google" means Google LLC, a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun2. Accepting this License Agreement
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun2.2 By clicking to accept, you hereby agree to the terms of the License Agreement.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun3. SDK License from Google
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement.  Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
44*4882a593Smuzhiyun
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun4. Use of the SDK by You
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
53*4882a593Smuzhiyun
54*4882a593Smuzhiyun4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
59*4882a593Smuzhiyun
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun5. Your Developer Credentials
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun
66*4882a593Smuzhiyun6. Privacy and Information
67*4882a593Smuzhiyun
68*4882a593Smuzhiyun6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyun6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun7. Third Party Applications
74*4882a593Smuzhiyun
75*4882a593Smuzhiyun7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
78*4882a593Smuzhiyun
79*4882a593Smuzhiyun7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun8. Using Android APIs
83*4882a593Smuzhiyun
84*4882a593Smuzhiyun8.1 Google Data APIs
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
87*4882a593Smuzhiyun
88*4882a593Smuzhiyun8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
89*4882a593Smuzhiyun
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun9. Terminating this License Agreement
92*4882a593Smuzhiyun
93*4882a593Smuzhiyun9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below.
94*4882a593Smuzhiyun
95*4882a593Smuzhiyun9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyun9.3 Google may at any time, terminate the License Agreement with you if:
98*4882a593Smuzhiyun(A) you have breached any provision of the License Agreement; or
99*4882a593Smuzhiyun(B) Google is required to do so by law; or
100*4882a593Smuzhiyun(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
101*4882a593Smuzhiyun(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
102*4882a593Smuzhiyun
103*4882a593Smuzhiyun9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
104*4882a593Smuzhiyun
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun10. DISCLAIMER OF WARRANTIES
107*4882a593Smuzhiyun
108*4882a593Smuzhiyun10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
109*4882a593Smuzhiyun
110*4882a593Smuzhiyun10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
111*4882a593Smuzhiyun
112*4882a593Smuzhiyun10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
113*4882a593Smuzhiyun
114*4882a593Smuzhiyun
115*4882a593Smuzhiyun11. LIMITATION OF LIABILITY
116*4882a593Smuzhiyun
117*4882a593Smuzhiyun11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
118*4882a593Smuzhiyun
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun12. Indemnification
121*4882a593Smuzhiyun
122*4882a593Smuzhiyun12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun
125*4882a593Smuzhiyun13. Changes to the License Agreement
126*4882a593Smuzhiyun
127*4882a593Smuzhiyun13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
128*4882a593Smuzhiyun
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun14. General Legal Terms
131*4882a593Smuzhiyun
132*4882a593Smuzhiyun14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.
133*4882a593Smuzhiyun
134*4882a593Smuzhiyun14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
135*4882a593Smuzhiyun
136*4882a593Smuzhiyun14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.
137*4882a593Smuzhiyun
138*4882a593Smuzhiyun14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.
139*4882a593Smuzhiyun
140*4882a593Smuzhiyun14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
141*4882a593Smuzhiyun
142*4882a593Smuzhiyun14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party.
143*4882a593Smuzhiyun
144*4882a593Smuzhiyun14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
145*4882a593Smuzhiyun
146*4882a593Smuzhiyun
147*4882a593SmuzhiyunDecember 9, 2016
148*4882a593Smuzhiyun
149*4882a593Smuzhiyun
150*4882a593SmuzhiyunAndroidX document file library.:
151*4882a593Smuzhiyun
152*4882a593Smuzhiyun
153*4882a593Smuzhiyun   Copyright (c) 2005-2011, The Android Open Source Project
154*4882a593Smuzhiyun
155*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
156*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
157*4882a593Smuzhiyun
158*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
159*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
160*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161*4882a593Smuzhiyun   See the License for the specific language governing permissions and
162*4882a593Smuzhiyun   limitations under the License.
163*4882a593Smuzhiyun
164*4882a593Smuzhiyun
165*4882a593Smuzhiyun                                 Apache License
166*4882a593Smuzhiyun                           Version 2.0, January 2004
167*4882a593Smuzhiyun                        http://www.apache.org/licenses/
168*4882a593Smuzhiyun
169*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
170*4882a593Smuzhiyun
171*4882a593Smuzhiyun   1. Definitions.
172*4882a593Smuzhiyun
173*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
174*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
175*4882a593Smuzhiyun
176*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
177*4882a593Smuzhiyun      the copyright owner that is granting the License.
178*4882a593Smuzhiyun
179*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
180*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
181*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
182*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
183*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
184*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
185*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
186*4882a593Smuzhiyun
187*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
188*4882a593Smuzhiyun      exercising permissions granted by this License.
189*4882a593Smuzhiyun
190*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
191*4882a593Smuzhiyun      including but not limited to software source code, documentation
192*4882a593Smuzhiyun      source, and configuration files.
193*4882a593Smuzhiyun
194*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
195*4882a593Smuzhiyun      transformation or translation of a Source form, including but
196*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
197*4882a593Smuzhiyun      and conversions to other media types.
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
200*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
201*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
202*4882a593Smuzhiyun      (an example is provided in the Appendix below).
203*4882a593Smuzhiyun
204*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
205*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
206*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
207*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
208*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
209*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
210*4882a593Smuzhiyun      the Work and Derivative Works thereof.
211*4882a593Smuzhiyun
212*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
213*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
214*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
215*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
216*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
217*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
218*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
219*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
220*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
221*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
222*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
223*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
224*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
225*4882a593Smuzhiyun
226*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
227*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
228*4882a593Smuzhiyun      subsequently incorporated within the Work.
229*4882a593Smuzhiyun
230*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
231*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
232*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
233*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
234*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
235*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
236*4882a593Smuzhiyun
237*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
238*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
239*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
240*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
241*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
242*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
243*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
244*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
245*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
246*4882a593Smuzhiyun      institute patent litigation against any entity (including a
247*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
248*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
249*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
250*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
251*4882a593Smuzhiyun      as of the date such litigation is filed.
252*4882a593Smuzhiyun
253*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
254*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
255*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
256*4882a593Smuzhiyun      meet the following conditions:
257*4882a593Smuzhiyun
258*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
259*4882a593Smuzhiyun          Derivative Works a copy of this License; and
260*4882a593Smuzhiyun
261*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
262*4882a593Smuzhiyun          stating that You changed the files; and
263*4882a593Smuzhiyun
264*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
265*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
266*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
267*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
268*4882a593Smuzhiyun          the Derivative Works; and
269*4882a593Smuzhiyun
270*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
271*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
272*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
273*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
274*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
275*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
276*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
277*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
278*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
279*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
280*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
281*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
282*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
283*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
284*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
285*4882a593Smuzhiyun          as modifying the License.
286*4882a593Smuzhiyun
287*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
288*4882a593Smuzhiyun      may provide additional or different license terms and conditions
289*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
290*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
291*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
292*4882a593Smuzhiyun      the conditions stated in this License.
293*4882a593Smuzhiyun
294*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
295*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
296*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
297*4882a593Smuzhiyun      this License, without any additional terms or conditions.
298*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
299*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
300*4882a593Smuzhiyun      with Licensor regarding such Contributions.
301*4882a593Smuzhiyun
302*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
303*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
304*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
305*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
306*4882a593Smuzhiyun
307*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
308*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
309*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
310*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
311*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
312*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
313*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
314*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
315*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
316*4882a593Smuzhiyun
317*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
318*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
319*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
320*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
321*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
322*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
323*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
324*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
325*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
326*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
327*4882a593Smuzhiyun      has been advised of the possibility of such damages.
328*4882a593Smuzhiyun
329*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
330*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
331*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
332*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
333*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
334*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
335*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
336*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
337*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
338*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
339*4882a593Smuzhiyun
340*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
341*4882a593Smuzhiyun
342*4882a593Smuzhiyun
343*4882a593Smuzhiyun
344*4882a593SmuzhiyunAndroidX print library.:
345*4882a593Smuzhiyun
346*4882a593Smuzhiyun
347*4882a593Smuzhiyun   Copyright (c) 2005-2011, The Android Open Source Project
348*4882a593Smuzhiyun
349*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
350*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
351*4882a593Smuzhiyun
352*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
353*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
354*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
355*4882a593Smuzhiyun   See the License for the specific language governing permissions and
356*4882a593Smuzhiyun   limitations under the License.
357*4882a593Smuzhiyun
358*4882a593Smuzhiyun
359*4882a593Smuzhiyun                                 Apache License
360*4882a593Smuzhiyun                           Version 2.0, January 2004
361*4882a593Smuzhiyun                        http://www.apache.org/licenses/
362*4882a593Smuzhiyun
363*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
364*4882a593Smuzhiyun
365*4882a593Smuzhiyun   1. Definitions.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
368*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
369*4882a593Smuzhiyun
370*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
371*4882a593Smuzhiyun      the copyright owner that is granting the License.
372*4882a593Smuzhiyun
373*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
374*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
375*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
376*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
377*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
378*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
379*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
380*4882a593Smuzhiyun
381*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
382*4882a593Smuzhiyun      exercising permissions granted by this License.
383*4882a593Smuzhiyun
384*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
385*4882a593Smuzhiyun      including but not limited to software source code, documentation
386*4882a593Smuzhiyun      source, and configuration files.
387*4882a593Smuzhiyun
388*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
389*4882a593Smuzhiyun      transformation or translation of a Source form, including but
390*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
391*4882a593Smuzhiyun      and conversions to other media types.
392*4882a593Smuzhiyun
393*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
394*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
395*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
396*4882a593Smuzhiyun      (an example is provided in the Appendix below).
397*4882a593Smuzhiyun
398*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
399*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
400*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
401*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
402*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
403*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
404*4882a593Smuzhiyun      the Work and Derivative Works thereof.
405*4882a593Smuzhiyun
406*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
407*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
408*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
409*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
410*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
411*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
412*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
413*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
414*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
415*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
416*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
417*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
418*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
419*4882a593Smuzhiyun
420*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
421*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
422*4882a593Smuzhiyun      subsequently incorporated within the Work.
423*4882a593Smuzhiyun
424*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
425*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
426*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
427*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
428*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
429*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
430*4882a593Smuzhiyun
431*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
432*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
433*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
434*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
435*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
436*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
437*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
438*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
439*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
440*4882a593Smuzhiyun      institute patent litigation against any entity (including a
441*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
442*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
443*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
444*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
445*4882a593Smuzhiyun      as of the date such litigation is filed.
446*4882a593Smuzhiyun
447*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
448*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
449*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
450*4882a593Smuzhiyun      meet the following conditions:
451*4882a593Smuzhiyun
452*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
453*4882a593Smuzhiyun          Derivative Works a copy of this License; and
454*4882a593Smuzhiyun
455*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
456*4882a593Smuzhiyun          stating that You changed the files; and
457*4882a593Smuzhiyun
458*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
459*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
460*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
461*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
462*4882a593Smuzhiyun          the Derivative Works; and
463*4882a593Smuzhiyun
464*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
465*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
466*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
467*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
468*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
469*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
470*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
471*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
472*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
473*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
474*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
475*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
476*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
477*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
478*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
479*4882a593Smuzhiyun          as modifying the License.
480*4882a593Smuzhiyun
481*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
482*4882a593Smuzhiyun      may provide additional or different license terms and conditions
483*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
484*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
485*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
486*4882a593Smuzhiyun      the conditions stated in this License.
487*4882a593Smuzhiyun
488*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
489*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
490*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
491*4882a593Smuzhiyun      this License, without any additional terms or conditions.
492*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
493*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
494*4882a593Smuzhiyun      with Licensor regarding such Contributions.
495*4882a593Smuzhiyun
496*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
497*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
498*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
499*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
500*4882a593Smuzhiyun
501*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
502*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
503*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
504*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
505*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
506*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
507*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
508*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
509*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
510*4882a593Smuzhiyun
511*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
512*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
513*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
514*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
515*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
516*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
517*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
518*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
519*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
520*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
521*4882a593Smuzhiyun      has been advised of the possibility of such damages.
522*4882a593Smuzhiyun
523*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
524*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
525*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
526*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
527*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
528*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
529*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
530*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
531*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
532*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
533*4882a593Smuzhiyun
534*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
535*4882a593Smuzhiyun
536*4882a593Smuzhiyun
537*4882a593Smuzhiyun
538*4882a593SmuzhiyunAndroidX versioned parcelable library.:
539*4882a593Smuzhiyun
540*4882a593Smuzhiyun
541*4882a593Smuzhiyun   Copyright (c) 2005-2018, The Android Open Source Project
542*4882a593Smuzhiyun
543*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
544*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
545*4882a593Smuzhiyun
546*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
547*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
548*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
549*4882a593Smuzhiyun   See the License for the specific language governing permissions and
550*4882a593Smuzhiyun   limitations under the License.
551*4882a593Smuzhiyun
552*4882a593Smuzhiyun
553*4882a593Smuzhiyun                                 Apache License
554*4882a593Smuzhiyun                           Version 2.0, January 2004
555*4882a593Smuzhiyun                        http://www.apache.org/licenses/
556*4882a593Smuzhiyun
557*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
558*4882a593Smuzhiyun
559*4882a593Smuzhiyun   1. Definitions.
560*4882a593Smuzhiyun
561*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
562*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
563*4882a593Smuzhiyun
564*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
565*4882a593Smuzhiyun      the copyright owner that is granting the License.
566*4882a593Smuzhiyun
567*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
568*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
569*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
570*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
571*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
572*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
573*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
574*4882a593Smuzhiyun
575*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
576*4882a593Smuzhiyun      exercising permissions granted by this License.
577*4882a593Smuzhiyun
578*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
579*4882a593Smuzhiyun      including but not limited to software source code, documentation
580*4882a593Smuzhiyun      source, and configuration files.
581*4882a593Smuzhiyun
582*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
583*4882a593Smuzhiyun      transformation or translation of a Source form, including but
584*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
585*4882a593Smuzhiyun      and conversions to other media types.
586*4882a593Smuzhiyun
587*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
588*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
589*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
590*4882a593Smuzhiyun      (an example is provided in the Appendix below).
591*4882a593Smuzhiyun
592*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
593*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
594*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
595*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
596*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
597*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
598*4882a593Smuzhiyun      the Work and Derivative Works thereof.
599*4882a593Smuzhiyun
600*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
601*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
602*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
603*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
604*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
605*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
606*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
607*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
608*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
609*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
610*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
611*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
612*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
613*4882a593Smuzhiyun
614*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
615*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
616*4882a593Smuzhiyun      subsequently incorporated within the Work.
617*4882a593Smuzhiyun
618*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
619*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
620*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
621*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
622*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
623*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
624*4882a593Smuzhiyun
625*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
626*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
627*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
628*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
629*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
630*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
631*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
632*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
633*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
634*4882a593Smuzhiyun      institute patent litigation against any entity (including a
635*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
636*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
637*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
638*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
639*4882a593Smuzhiyun      as of the date such litigation is filed.
640*4882a593Smuzhiyun
641*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
642*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
643*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
644*4882a593Smuzhiyun      meet the following conditions:
645*4882a593Smuzhiyun
646*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
647*4882a593Smuzhiyun          Derivative Works a copy of this License; and
648*4882a593Smuzhiyun
649*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
650*4882a593Smuzhiyun          stating that You changed the files; and
651*4882a593Smuzhiyun
652*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
653*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
654*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
655*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
656*4882a593Smuzhiyun          the Derivative Works; and
657*4882a593Smuzhiyun
658*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
659*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
660*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
661*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
662*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
663*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
664*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
665*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
666*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
667*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
668*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
669*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
670*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
671*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
672*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
673*4882a593Smuzhiyun          as modifying the License.
674*4882a593Smuzhiyun
675*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
676*4882a593Smuzhiyun      may provide additional or different license terms and conditions
677*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
678*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
679*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
680*4882a593Smuzhiyun      the conditions stated in this License.
681*4882a593Smuzhiyun
682*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
683*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
684*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
685*4882a593Smuzhiyun      this License, without any additional terms or conditions.
686*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
687*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
688*4882a593Smuzhiyun      with Licensor regarding such Contributions.
689*4882a593Smuzhiyun
690*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
691*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
692*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
693*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
694*4882a593Smuzhiyun
695*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
696*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
697*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
698*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
699*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
700*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
701*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
702*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
703*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
704*4882a593Smuzhiyun
705*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
706*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
707*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
708*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
709*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
710*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
711*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
712*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
713*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
714*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
715*4882a593Smuzhiyun      has been advised of the possibility of such damages.
716*4882a593Smuzhiyun
717*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
718*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
719*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
720*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
721*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
722*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
723*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
724*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
725*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
726*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
727*4882a593Smuzhiyun
728*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
729*4882a593Smuzhiyun
730*4882a593Smuzhiyun
731*4882a593Smuzhiyun
732*4882a593SmuzhiyunChecker Framework Annotations:
733*4882a593Smuzhiyun
734*4882a593SmuzhiyunA few parts of the Checker Framework have more permissive licenses.
735*4882a593Smuzhiyun
736*4882a593Smuzhiyun * The annotations are licensed under the MIT License.  (The text of this
737*4882a593Smuzhiyun   license appears below.)  More specifically, all the parts of the Checker
738*4882a593Smuzhiyun   Framework that you might want to include with your own program use the
739*4882a593Smuzhiyun   MIT License.  This is the checker-qual.jar file and all the files that
740*4882a593Smuzhiyun   appear in it:  every file in a qual/ directory, plus NullnessUtils.java
741*4882a593Smuzhiyun   and RegexUtil.java.  In addition, the cleanroom implementations of
742*4882a593Smuzhiyun   third-party annotations, which the Checker Framework recognizes as
743*4882a593Smuzhiyun   aliases for its own annotations, are licensed under the MIT License.
744*4882a593Smuzhiyun
745*4882a593Smuzhiyun===========================================================================
746*4882a593Smuzhiyun
747*4882a593SmuzhiyunMIT License:
748*4882a593Smuzhiyun
749*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy
750*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal
751*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights
752*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
753*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is
754*4882a593Smuzhiyunfurnished to do so, subject to the following conditions:
755*4882a593Smuzhiyun
756*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in
757*4882a593Smuzhiyunall copies or substantial portions of the Software.
758*4882a593Smuzhiyun
759*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
760*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
761*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
762*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
763*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
764*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
765*4882a593SmuzhiyunTHE SOFTWARE.
766*4882a593Smuzhiyun
767*4882a593Smuzhiyun===========================================================================
768*4882a593Smuzhiyun
769*4882a593Smuzhiyun
770*4882a593SmuzhiyunError Prone:
771*4882a593Smuzhiyun
772*4882a593Smuzhiyun                                 Apache License
773*4882a593Smuzhiyun                           Version 2.0, January 2004
774*4882a593Smuzhiyun                        http://www.apache.org/licenses/
775*4882a593Smuzhiyun
776*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
777*4882a593Smuzhiyun
778*4882a593Smuzhiyun   1. Definitions.
779*4882a593Smuzhiyun
780*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
781*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
782*4882a593Smuzhiyun
783*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
784*4882a593Smuzhiyun      the copyright owner that is granting the License.
785*4882a593Smuzhiyun
786*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
787*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
788*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
789*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
790*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
791*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
792*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
793*4882a593Smuzhiyun
794*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
795*4882a593Smuzhiyun      exercising permissions granted by this License.
796*4882a593Smuzhiyun
797*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
798*4882a593Smuzhiyun      including but not limited to software source code, documentation
799*4882a593Smuzhiyun      source, and configuration files.
800*4882a593Smuzhiyun
801*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
802*4882a593Smuzhiyun      transformation or translation of a Source form, including but
803*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
804*4882a593Smuzhiyun      and conversions to other media types.
805*4882a593Smuzhiyun
806*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
807*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
808*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
809*4882a593Smuzhiyun      (an example is provided in the Appendix below).
810*4882a593Smuzhiyun
811*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
812*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
813*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
814*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
815*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
816*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
817*4882a593Smuzhiyun      the Work and Derivative Works thereof.
818*4882a593Smuzhiyun
819*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
820*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
821*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
822*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
823*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
824*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
825*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
826*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
827*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
828*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
829*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
830*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
831*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
832*4882a593Smuzhiyun
833*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
834*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
835*4882a593Smuzhiyun      subsequently incorporated within the Work.
836*4882a593Smuzhiyun
837*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
838*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
839*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
840*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
841*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
842*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
843*4882a593Smuzhiyun
844*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
845*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
846*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
847*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
848*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
849*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
850*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
851*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
852*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
853*4882a593Smuzhiyun      institute patent litigation against any entity (including a
854*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
855*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
856*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
857*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
858*4882a593Smuzhiyun      as of the date such litigation is filed.
859*4882a593Smuzhiyun
860*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
861*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
862*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
863*4882a593Smuzhiyun      meet the following conditions:
864*4882a593Smuzhiyun
865*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
866*4882a593Smuzhiyun          Derivative Works a copy of this License; and
867*4882a593Smuzhiyun
868*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
869*4882a593Smuzhiyun          stating that You changed the files; and
870*4882a593Smuzhiyun
871*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
872*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
873*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
874*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
875*4882a593Smuzhiyun          the Derivative Works; and
876*4882a593Smuzhiyun
877*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
878*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
879*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
880*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
881*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
882*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
883*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
884*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
885*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
886*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
887*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
888*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
889*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
890*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
891*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
892*4882a593Smuzhiyun          as modifying the License.
893*4882a593Smuzhiyun
894*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
895*4882a593Smuzhiyun      may provide additional or different license terms and conditions
896*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
897*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
898*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
899*4882a593Smuzhiyun      the conditions stated in this License.
900*4882a593Smuzhiyun
901*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
902*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
903*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
904*4882a593Smuzhiyun      this License, without any additional terms or conditions.
905*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
906*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
907*4882a593Smuzhiyun      with Licensor regarding such Contributions.
908*4882a593Smuzhiyun
909*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
910*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
911*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
912*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
913*4882a593Smuzhiyun
914*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
915*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
916*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
917*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
918*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
919*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
920*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
921*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
922*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
923*4882a593Smuzhiyun
924*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
925*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
926*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
927*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
928*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
929*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
930*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
931*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
932*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
933*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
934*4882a593Smuzhiyun      has been advised of the possibility of such damages.
935*4882a593Smuzhiyun
936*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
937*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
938*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
939*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
940*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
941*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
942*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
943*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
944*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
945*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
946*4882a593Smuzhiyun
947*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
948*4882a593Smuzhiyun
949*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
950*4882a593Smuzhiyun
951*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
952*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
953*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
954*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
955*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
956*4882a593Smuzhiyun      file or class name and description of purpose be included on the
957*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
958*4882a593Smuzhiyun      identification within third-party archives.
959*4882a593Smuzhiyun
960*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
961*4882a593Smuzhiyun
962*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
963*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
964*4882a593Smuzhiyun   You may obtain a copy of the License at
965*4882a593Smuzhiyun
966*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
967*4882a593Smuzhiyun
968*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
969*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
970*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
971*4882a593Smuzhiyun   See the License for the specific language governing permissions and
972*4882a593Smuzhiyun   limitations under the License.
973*4882a593Smuzhiyun
974*4882a593Smuzhiyun
975*4882a593SmuzhiyunGuava JDK5:
976*4882a593Smuzhiyun
977*4882a593Smuzhiyun
978*4882a593Smuzhiyun                                 Apache License
979*4882a593Smuzhiyun                           Version 2.0, January 2004
980*4882a593Smuzhiyun                        http://www.apache.org/licenses/
981*4882a593Smuzhiyun
982*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
983*4882a593Smuzhiyun
984*4882a593Smuzhiyun   1. Definitions.
985*4882a593Smuzhiyun
986*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
987*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
988*4882a593Smuzhiyun
989*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
990*4882a593Smuzhiyun      the copyright owner that is granting the License.
991*4882a593Smuzhiyun
992*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
993*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
994*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
995*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
996*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
997*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
998*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
999*4882a593Smuzhiyun
1000*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
1001*4882a593Smuzhiyun      exercising permissions granted by this License.
1002*4882a593Smuzhiyun
1003*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
1004*4882a593Smuzhiyun      including but not limited to software source code, documentation
1005*4882a593Smuzhiyun      source, and configuration files.
1006*4882a593Smuzhiyun
1007*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
1008*4882a593Smuzhiyun      transformation or translation of a Source form, including but
1009*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
1010*4882a593Smuzhiyun      and conversions to other media types.
1011*4882a593Smuzhiyun
1012*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
1013*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
1014*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
1015*4882a593Smuzhiyun      (an example is provided in the Appendix below).
1016*4882a593Smuzhiyun
1017*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
1018*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
1019*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
1020*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
1021*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
1022*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
1023*4882a593Smuzhiyun      the Work and Derivative Works thereof.
1024*4882a593Smuzhiyun
1025*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
1026*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
1027*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
1028*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
1029*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
1030*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
1031*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
1032*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
1033*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
1034*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
1035*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
1036*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
1037*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
1038*4882a593Smuzhiyun
1039*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
1040*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
1041*4882a593Smuzhiyun      subsequently incorporated within the Work.
1042*4882a593Smuzhiyun
1043*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
1044*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1045*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1046*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
1047*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
1048*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
1049*4882a593Smuzhiyun
1050*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
1051*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1052*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1053*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
1054*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
1055*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
1056*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
1057*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
1058*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
1059*4882a593Smuzhiyun      institute patent litigation against any entity (including a
1060*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
1061*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
1062*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
1063*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
1064*4882a593Smuzhiyun      as of the date such litigation is filed.
1065*4882a593Smuzhiyun
1066*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
1067*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
1068*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
1069*4882a593Smuzhiyun      meet the following conditions:
1070*4882a593Smuzhiyun
1071*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
1072*4882a593Smuzhiyun          Derivative Works a copy of this License; and
1073*4882a593Smuzhiyun
1074*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
1075*4882a593Smuzhiyun          stating that You changed the files; and
1076*4882a593Smuzhiyun
1077*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
1078*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
1079*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
1080*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
1081*4882a593Smuzhiyun          the Derivative Works; and
1082*4882a593Smuzhiyun
1083*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
1084*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
1085*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
1086*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
1087*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
1088*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
1089*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
1090*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
1091*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
1092*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
1093*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
1094*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
1095*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
1096*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
1097*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
1098*4882a593Smuzhiyun          as modifying the License.
1099*4882a593Smuzhiyun
1100*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
1101*4882a593Smuzhiyun      may provide additional or different license terms and conditions
1102*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
1103*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
1104*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
1105*4882a593Smuzhiyun      the conditions stated in this License.
1106*4882a593Smuzhiyun
1107*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
1108*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
1109*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
1110*4882a593Smuzhiyun      this License, without any additional terms or conditions.
1111*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
1112*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
1113*4882a593Smuzhiyun      with Licensor regarding such Contributions.
1114*4882a593Smuzhiyun
1115*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
1116*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
1117*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
1118*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
1119*4882a593Smuzhiyun
1120*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
1121*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
1122*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
1123*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1124*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
1125*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1126*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
1127*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
1128*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
1129*4882a593Smuzhiyun
1130*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
1131*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
1132*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
1133*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
1134*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
1135*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
1136*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
1137*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
1138*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
1139*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
1140*4882a593Smuzhiyun      has been advised of the possibility of such damages.
1141*4882a593Smuzhiyun
1142*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
1143*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
1144*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
1145*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
1146*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
1147*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
1148*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
1149*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
1150*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
1151*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
1152*4882a593Smuzhiyun
1153*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
1154*4882a593Smuzhiyun
1155*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
1156*4882a593Smuzhiyun
1157*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1158*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1159*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1160*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1161*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1162*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1163*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1164*4882a593Smuzhiyun      identification within third-party archives.
1165*4882a593Smuzhiyun
1166*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
1167*4882a593Smuzhiyun
1168*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1169*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1170*4882a593Smuzhiyun   You may obtain a copy of the License at
1171*4882a593Smuzhiyun
1172*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1173*4882a593Smuzhiyun
1174*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
1175*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
1176*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1177*4882a593Smuzhiyun   See the License for the specific language governing permissions and
1178*4882a593Smuzhiyun   limitations under the License.
1179*4882a593Smuzhiyun
1180*4882a593Smuzhiyun
1181*4882a593SmuzhiyunGuava JDK7:
1182*4882a593Smuzhiyun
1183*4882a593Smuzhiyun
1184*4882a593Smuzhiyun                                 Apache License
1185*4882a593Smuzhiyun                           Version 2.0, January 2004
1186*4882a593Smuzhiyun                        http://www.apache.org/licenses/
1187*4882a593Smuzhiyun
1188*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1189*4882a593Smuzhiyun
1190*4882a593Smuzhiyun   1. Definitions.
1191*4882a593Smuzhiyun
1192*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
1193*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
1194*4882a593Smuzhiyun
1195*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
1196*4882a593Smuzhiyun      the copyright owner that is granting the License.
1197*4882a593Smuzhiyun
1198*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
1199*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
1200*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
1201*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
1202*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
1203*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
1204*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
1205*4882a593Smuzhiyun
1206*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
1207*4882a593Smuzhiyun      exercising permissions granted by this License.
1208*4882a593Smuzhiyun
1209*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
1210*4882a593Smuzhiyun      including but not limited to software source code, documentation
1211*4882a593Smuzhiyun      source, and configuration files.
1212*4882a593Smuzhiyun
1213*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
1214*4882a593Smuzhiyun      transformation or translation of a Source form, including but
1215*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
1216*4882a593Smuzhiyun      and conversions to other media types.
1217*4882a593Smuzhiyun
1218*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
1219*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
1220*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
1221*4882a593Smuzhiyun      (an example is provided in the Appendix below).
1222*4882a593Smuzhiyun
1223*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
1224*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
1225*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
1226*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
1227*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
1228*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
1229*4882a593Smuzhiyun      the Work and Derivative Works thereof.
1230*4882a593Smuzhiyun
1231*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
1232*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
1233*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
1234*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
1235*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
1236*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
1237*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
1238*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
1239*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
1240*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
1241*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
1242*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
1243*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
1244*4882a593Smuzhiyun
1245*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
1246*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
1247*4882a593Smuzhiyun      subsequently incorporated within the Work.
1248*4882a593Smuzhiyun
1249*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
1250*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1251*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1252*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
1253*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
1254*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
1255*4882a593Smuzhiyun
1256*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
1257*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1258*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1259*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
1260*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
1261*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
1262*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
1263*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
1264*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
1265*4882a593Smuzhiyun      institute patent litigation against any entity (including a
1266*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
1267*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
1268*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
1269*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
1270*4882a593Smuzhiyun      as of the date such litigation is filed.
1271*4882a593Smuzhiyun
1272*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
1273*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
1274*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
1275*4882a593Smuzhiyun      meet the following conditions:
1276*4882a593Smuzhiyun
1277*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
1278*4882a593Smuzhiyun          Derivative Works a copy of this License; and
1279*4882a593Smuzhiyun
1280*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
1281*4882a593Smuzhiyun          stating that You changed the files; and
1282*4882a593Smuzhiyun
1283*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
1284*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
1285*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
1286*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
1287*4882a593Smuzhiyun          the Derivative Works; and
1288*4882a593Smuzhiyun
1289*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
1290*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
1291*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
1292*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
1293*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
1294*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
1295*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
1296*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
1297*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
1298*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
1299*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
1300*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
1301*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
1302*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
1303*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
1304*4882a593Smuzhiyun          as modifying the License.
1305*4882a593Smuzhiyun
1306*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
1307*4882a593Smuzhiyun      may provide additional or different license terms and conditions
1308*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
1309*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
1310*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
1311*4882a593Smuzhiyun      the conditions stated in this License.
1312*4882a593Smuzhiyun
1313*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
1314*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
1315*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
1316*4882a593Smuzhiyun      this License, without any additional terms or conditions.
1317*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
1318*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
1319*4882a593Smuzhiyun      with Licensor regarding such Contributions.
1320*4882a593Smuzhiyun
1321*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
1322*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
1323*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
1324*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
1325*4882a593Smuzhiyun
1326*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
1327*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
1328*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
1329*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1330*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
1331*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1332*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
1333*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
1334*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
1335*4882a593Smuzhiyun
1336*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
1337*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
1338*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
1339*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
1340*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
1341*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
1342*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
1343*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
1344*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
1345*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
1346*4882a593Smuzhiyun      has been advised of the possibility of such damages.
1347*4882a593Smuzhiyun
1348*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
1349*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
1350*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
1351*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
1352*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
1353*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
1354*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
1355*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
1356*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
1357*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
1358*4882a593Smuzhiyun
1359*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
1360*4882a593Smuzhiyun
1361*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
1362*4882a593Smuzhiyun
1363*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1364*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1365*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1366*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1367*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1368*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1369*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1370*4882a593Smuzhiyun      identification within third-party archives.
1371*4882a593Smuzhiyun
1372*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
1373*4882a593Smuzhiyun
1374*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1375*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1376*4882a593Smuzhiyun   You may obtain a copy of the License at
1377*4882a593Smuzhiyun
1378*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1379*4882a593Smuzhiyun
1380*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
1381*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
1382*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1383*4882a593Smuzhiyun   See the License for the specific language governing permissions and
1384*4882a593Smuzhiyun   limitations under the License.
1385*4882a593Smuzhiyun
1386*4882a593Smuzhiyun
1387*4882a593Smuzhiyun
1388*4882a593SmuzhiyunJSR 250:
1389*4882a593Smuzhiyun
1390*4882a593Smuzhiyun
1391*4882a593Smuzhiyun                                 Apache License
1392*4882a593Smuzhiyun                           Version 2.0, January 2004
1393*4882a593Smuzhiyun                        http://www.apache.org/licenses/
1394*4882a593Smuzhiyun
1395*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1396*4882a593Smuzhiyun
1397*4882a593Smuzhiyun   1. Definitions.
1398*4882a593Smuzhiyun
1399*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
1400*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
1401*4882a593Smuzhiyun
1402*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
1403*4882a593Smuzhiyun      the copyright owner that is granting the License.
1404*4882a593Smuzhiyun
1405*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
1406*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
1407*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
1408*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
1409*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
1410*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
1411*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
1412*4882a593Smuzhiyun
1413*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
1414*4882a593Smuzhiyun      exercising permissions granted by this License.
1415*4882a593Smuzhiyun
1416*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
1417*4882a593Smuzhiyun      including but not limited to software source code, documentation
1418*4882a593Smuzhiyun      source, and configuration files.
1419*4882a593Smuzhiyun
1420*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
1421*4882a593Smuzhiyun      transformation or translation of a Source form, including but
1422*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
1423*4882a593Smuzhiyun      and conversions to other media types.
1424*4882a593Smuzhiyun
1425*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
1426*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
1427*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
1428*4882a593Smuzhiyun      (an example is provided in the Appendix below).
1429*4882a593Smuzhiyun
1430*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
1431*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
1432*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
1433*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
1434*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
1435*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
1436*4882a593Smuzhiyun      the Work and Derivative Works thereof.
1437*4882a593Smuzhiyun
1438*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
1439*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
1440*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
1441*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
1442*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
1443*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
1444*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
1445*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
1446*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
1447*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
1448*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
1449*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
1450*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
1451*4882a593Smuzhiyun
1452*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
1453*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
1454*4882a593Smuzhiyun      subsequently incorporated within the Work.
1455*4882a593Smuzhiyun
1456*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
1457*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1458*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1459*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
1460*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
1461*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
1462*4882a593Smuzhiyun
1463*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
1464*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1465*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1466*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
1467*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
1468*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
1469*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
1470*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
1471*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
1472*4882a593Smuzhiyun      institute patent litigation against any entity (including a
1473*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
1474*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
1475*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
1476*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
1477*4882a593Smuzhiyun      as of the date such litigation is filed.
1478*4882a593Smuzhiyun
1479*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
1480*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
1481*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
1482*4882a593Smuzhiyun      meet the following conditions:
1483*4882a593Smuzhiyun
1484*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
1485*4882a593Smuzhiyun          Derivative Works a copy of this License; and
1486*4882a593Smuzhiyun
1487*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
1488*4882a593Smuzhiyun          stating that You changed the files; and
1489*4882a593Smuzhiyun
1490*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
1491*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
1492*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
1493*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
1494*4882a593Smuzhiyun          the Derivative Works; and
1495*4882a593Smuzhiyun
1496*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
1497*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
1498*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
1499*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
1500*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
1501*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
1502*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
1503*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
1504*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
1505*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
1506*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
1507*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
1508*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
1509*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
1510*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
1511*4882a593Smuzhiyun          as modifying the License.
1512*4882a593Smuzhiyun
1513*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
1514*4882a593Smuzhiyun      may provide additional or different license terms and conditions
1515*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
1516*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
1517*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
1518*4882a593Smuzhiyun      the conditions stated in this License.
1519*4882a593Smuzhiyun
1520*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
1521*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
1522*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
1523*4882a593Smuzhiyun      this License, without any additional terms or conditions.
1524*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
1525*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
1526*4882a593Smuzhiyun      with Licensor regarding such Contributions.
1527*4882a593Smuzhiyun
1528*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
1529*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
1530*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
1531*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
1532*4882a593Smuzhiyun
1533*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
1534*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
1535*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
1536*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1537*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
1538*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1539*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
1540*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
1541*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
1542*4882a593Smuzhiyun
1543*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
1544*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
1545*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
1546*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
1547*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
1548*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
1549*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
1550*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
1551*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
1552*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
1553*4882a593Smuzhiyun      has been advised of the possibility of such damages.
1554*4882a593Smuzhiyun
1555*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
1556*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
1557*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
1558*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
1559*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
1560*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
1561*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
1562*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
1563*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
1564*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
1565*4882a593Smuzhiyun
1566*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
1567*4882a593Smuzhiyun
1568*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
1569*4882a593Smuzhiyun
1570*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1571*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1572*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1573*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1574*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1575*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1576*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1577*4882a593Smuzhiyun      identification within third-party archives.
1578*4882a593Smuzhiyun
1579*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
1580*4882a593Smuzhiyun
1581*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1582*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1583*4882a593Smuzhiyun   You may obtain a copy of the License at
1584*4882a593Smuzhiyun
1585*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1586*4882a593Smuzhiyun
1587*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
1588*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
1589*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1590*4882a593Smuzhiyun   See the License for the specific language governing permissions and
1591*4882a593Smuzhiyun   limitations under the License.
1592*4882a593Smuzhiyun
1593*4882a593Smuzhiyun
1594*4882a593Smuzhiyunsafeparcel:
1595*4882a593Smuzhiyun
1596*4882a593Smuzhiyun
1597*4882a593Smuzhiyun                                 Apache License
1598*4882a593Smuzhiyun                           Version 2.0, January 2004
1599*4882a593Smuzhiyun                        http://www.apache.org/licenses/
1600*4882a593Smuzhiyun
1601*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1602*4882a593Smuzhiyun
1603*4882a593Smuzhiyun   1. Definitions.
1604*4882a593Smuzhiyun
1605*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
1606*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
1607*4882a593Smuzhiyun
1608*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
1609*4882a593Smuzhiyun      the copyright owner that is granting the License.
1610*4882a593Smuzhiyun
1611*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
1612*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
1613*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
1614*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
1615*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
1616*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
1617*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
1618*4882a593Smuzhiyun
1619*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
1620*4882a593Smuzhiyun      exercising permissions granted by this License.
1621*4882a593Smuzhiyun
1622*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
1623*4882a593Smuzhiyun      including but not limited to software source code, documentation
1624*4882a593Smuzhiyun      source, and configuration files.
1625*4882a593Smuzhiyun
1626*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
1627*4882a593Smuzhiyun      transformation or translation of a Source form, including but
1628*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
1629*4882a593Smuzhiyun      and conversions to other media types.
1630*4882a593Smuzhiyun
1631*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
1632*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
1633*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
1634*4882a593Smuzhiyun      (an example is provided in the Appendix below).
1635*4882a593Smuzhiyun
1636*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
1637*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
1638*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
1639*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
1640*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
1641*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
1642*4882a593Smuzhiyun      the Work and Derivative Works thereof.
1643*4882a593Smuzhiyun
1644*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
1645*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
1646*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
1647*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
1648*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
1649*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
1650*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
1651*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
1652*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
1653*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
1654*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
1655*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
1656*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
1657*4882a593Smuzhiyun
1658*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
1659*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
1660*4882a593Smuzhiyun      subsequently incorporated within the Work.
1661*4882a593Smuzhiyun
1662*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
1663*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1664*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1665*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
1666*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
1667*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
1668*4882a593Smuzhiyun
1669*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
1670*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1671*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1672*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
1673*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
1674*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
1675*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
1676*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
1677*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
1678*4882a593Smuzhiyun      institute patent litigation against any entity (including a
1679*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
1680*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
1681*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
1682*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
1683*4882a593Smuzhiyun      as of the date such litigation is filed.
1684*4882a593Smuzhiyun
1685*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
1686*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
1687*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
1688*4882a593Smuzhiyun      meet the following conditions:
1689*4882a593Smuzhiyun
1690*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
1691*4882a593Smuzhiyun          Derivative Works a copy of this License; and
1692*4882a593Smuzhiyun
1693*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
1694*4882a593Smuzhiyun          stating that You changed the files; and
1695*4882a593Smuzhiyun
1696*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
1697*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
1698*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
1699*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
1700*4882a593Smuzhiyun          the Derivative Works; and
1701*4882a593Smuzhiyun
1702*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
1703*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
1704*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
1705*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
1706*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
1707*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
1708*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
1709*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
1710*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
1711*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
1712*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
1713*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
1714*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
1715*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
1716*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
1717*4882a593Smuzhiyun          as modifying the License.
1718*4882a593Smuzhiyun
1719*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
1720*4882a593Smuzhiyun      may provide additional or different license terms and conditions
1721*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
1722*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
1723*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
1724*4882a593Smuzhiyun      the conditions stated in this License.
1725*4882a593Smuzhiyun
1726*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
1727*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
1728*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
1729*4882a593Smuzhiyun      this License, without any additional terms or conditions.
1730*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
1731*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
1732*4882a593Smuzhiyun      with Licensor regarding such Contributions.
1733*4882a593Smuzhiyun
1734*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
1735*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
1736*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
1737*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
1738*4882a593Smuzhiyun
1739*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
1740*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
1741*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
1742*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1743*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
1744*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1745*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
1746*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
1747*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
1748*4882a593Smuzhiyun
1749*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
1750*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
1751*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
1752*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
1753*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
1754*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
1755*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
1756*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
1757*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
1758*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
1759*4882a593Smuzhiyun      has been advised of the possibility of such damages.
1760*4882a593Smuzhiyun
1761*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
1762*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
1763*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
1764*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
1765*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
1766*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
1767*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
1768*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
1769*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
1770*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
1771*4882a593Smuzhiyun
1772*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
1773*4882a593Smuzhiyun
1774*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
1775*4882a593Smuzhiyun
1776*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1777*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1778*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1779*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1780*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1781*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1782*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1783*4882a593Smuzhiyun      identification within third-party archives.
1784*4882a593Smuzhiyun
1785*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
1786*4882a593Smuzhiyun
1787*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1788*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1789*4882a593Smuzhiyun   You may obtain a copy of the License at
1790*4882a593Smuzhiyun
1791*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1792*4882a593Smuzhiyun
1793*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
1794*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
1795*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1796*4882a593Smuzhiyun   See the License for the specific language governing permissions and
1797*4882a593Smuzhiyun   limitations under the License.
1798*4882a593Smuzhiyun
1799*4882a593Smuzhiyun
1800*4882a593SmuzhiyunFlatBuffers:
1801*4882a593Smuzhiyun
1802*4882a593Smuzhiyun
1803*4882a593Smuzhiyun                                 Apache License
1804*4882a593Smuzhiyun                           Version 2.0, January 2004
1805*4882a593Smuzhiyun                        http://www.apache.org/licenses/
1806*4882a593Smuzhiyun
1807*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1808*4882a593Smuzhiyun
1809*4882a593Smuzhiyun   1. Definitions.
1810*4882a593Smuzhiyun
1811*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
1812*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
1813*4882a593Smuzhiyun
1814*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
1815*4882a593Smuzhiyun      the copyright owner that is granting the License.
1816*4882a593Smuzhiyun
1817*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
1818*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
1819*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
1820*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
1821*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
1822*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
1823*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
1824*4882a593Smuzhiyun
1825*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
1826*4882a593Smuzhiyun      exercising permissions granted by this License.
1827*4882a593Smuzhiyun
1828*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
1829*4882a593Smuzhiyun      including but not limited to software source code, documentation
1830*4882a593Smuzhiyun      source, and configuration files.
1831*4882a593Smuzhiyun
1832*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
1833*4882a593Smuzhiyun      transformation or translation of a Source form, including but
1834*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
1835*4882a593Smuzhiyun      and conversions to other media types.
1836*4882a593Smuzhiyun
1837*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
1838*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
1839*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
1840*4882a593Smuzhiyun      (an example is provided in the Appendix below).
1841*4882a593Smuzhiyun
1842*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
1843*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
1844*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
1845*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
1846*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
1847*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
1848*4882a593Smuzhiyun      the Work and Derivative Works thereof.
1849*4882a593Smuzhiyun
1850*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
1851*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
1852*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
1853*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
1854*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
1855*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
1856*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
1857*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
1858*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
1859*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
1860*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
1861*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
1862*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
1863*4882a593Smuzhiyun
1864*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
1865*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
1866*4882a593Smuzhiyun      subsequently incorporated within the Work.
1867*4882a593Smuzhiyun
1868*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
1869*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1870*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1871*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
1872*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
1873*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
1874*4882a593Smuzhiyun
1875*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
1876*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1877*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1878*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
1879*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
1880*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
1881*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
1882*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
1883*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
1884*4882a593Smuzhiyun      institute patent litigation against any entity (including a
1885*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
1886*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
1887*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
1888*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
1889*4882a593Smuzhiyun      as of the date such litigation is filed.
1890*4882a593Smuzhiyun
1891*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
1892*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
1893*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
1894*4882a593Smuzhiyun      meet the following conditions:
1895*4882a593Smuzhiyun
1896*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
1897*4882a593Smuzhiyun          Derivative Works a copy of this License; and
1898*4882a593Smuzhiyun
1899*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
1900*4882a593Smuzhiyun          stating that You changed the files; and
1901*4882a593Smuzhiyun
1902*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
1903*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
1904*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
1905*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
1906*4882a593Smuzhiyun          the Derivative Works; and
1907*4882a593Smuzhiyun
1908*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
1909*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
1910*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
1911*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
1912*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
1913*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
1914*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
1915*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
1916*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
1917*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
1918*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
1919*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
1920*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
1921*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
1922*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
1923*4882a593Smuzhiyun          as modifying the License.
1924*4882a593Smuzhiyun
1925*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
1926*4882a593Smuzhiyun      may provide additional or different license terms and conditions
1927*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
1928*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
1929*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
1930*4882a593Smuzhiyun      the conditions stated in this License.
1931*4882a593Smuzhiyun
1932*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
1933*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
1934*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
1935*4882a593Smuzhiyun      this License, without any additional terms or conditions.
1936*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
1937*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
1938*4882a593Smuzhiyun      with Licensor regarding such Contributions.
1939*4882a593Smuzhiyun
1940*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
1941*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
1942*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
1943*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
1944*4882a593Smuzhiyun
1945*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
1946*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
1947*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
1948*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1949*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
1950*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1951*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
1952*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
1953*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
1954*4882a593Smuzhiyun
1955*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
1956*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
1957*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
1958*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
1959*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
1960*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
1961*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
1962*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
1963*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
1964*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
1965*4882a593Smuzhiyun      has been advised of the possibility of such damages.
1966*4882a593Smuzhiyun
1967*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
1968*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
1969*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
1970*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
1971*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
1972*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
1973*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
1974*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
1975*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
1976*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
1977*4882a593Smuzhiyun
1978*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
1979*4882a593Smuzhiyun
1980*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
1981*4882a593Smuzhiyun
1982*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1983*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1984*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1985*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1986*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1987*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1988*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1989*4882a593Smuzhiyun      identification within third-party archives.
1990*4882a593Smuzhiyun
1991*4882a593Smuzhiyun   Copyright 2014 Google Inc.
1992*4882a593Smuzhiyun
1993*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1994*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1995*4882a593Smuzhiyun   You may obtain a copy of the License at
1996*4882a593Smuzhiyun
1997*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1998*4882a593Smuzhiyun
1999*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
2000*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
2001*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2002*4882a593Smuzhiyun   See the License for the specific language governing permissions and
2003*4882a593Smuzhiyun   limitations under the License.
2004*4882a593Smuzhiyun
2005*4882a593Smuzhiyun
2006*4882a593SmuzhiyunJSR 305:
2007*4882a593Smuzhiyun
2008*4882a593SmuzhiyunCopyright (c) 2007-2009, JSR305 expert group
2009*4882a593SmuzhiyunAll rights reserved.
2010*4882a593Smuzhiyun
2011*4882a593Smuzhiyunhttp://www.opensource.org/licenses/bsd-license.php
2012*4882a593Smuzhiyun
2013*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without
2014*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are met:
2015*4882a593Smuzhiyun
2016*4882a593Smuzhiyun    * Redistributions of source code must retain the above copyright notice,
2017*4882a593Smuzhiyun      this list of conditions and the following disclaimer.
2018*4882a593Smuzhiyun    * Redistributions in binary form must reproduce the above copyright notice,
2019*4882a593Smuzhiyun      this list of conditions and the following disclaimer in the documentation
2020*4882a593Smuzhiyun      and/or other materials provided with the distribution.
2021*4882a593Smuzhiyun    * Neither the name of the JSR305 expert group nor the names of its
2022*4882a593Smuzhiyun      contributors may be used to endorse or promote products derived from
2023*4882a593Smuzhiyun      this software without specific prior written permission.
2024*4882a593Smuzhiyun
2025*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2026*4882a593SmuzhiyunAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
2027*4882a593SmuzhiyunTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2028*4882a593SmuzhiyunARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2029*4882a593SmuzhiyunLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2030*4882a593SmuzhiyunCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2031*4882a593SmuzhiyunSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2032*4882a593SmuzhiyunINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2033*4882a593SmuzhiyunCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2034*4882a593SmuzhiyunARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2035*4882a593SmuzhiyunPOSSIBILITY OF SUCH DAMAGE.
2036