xref: /aosp_15_r20/external/jacoco/org.jacoco.build/licenses/googlecodeprettify-20100721.html (revision 7e63c1270baf9bfa84f5b6aecf17bd0c1a75af94)
1*7e63c127SSorin Basca<h3>Google Code Prettify</h3>
2*7e63c127SSorin Basca
3*7e63c127SSorin Basca<p>
4*7e63c127SSorin Basca  <a href="https://github.com/google/code-prettify">Google Code Prettify 2010/07/21</a>
5*7e63c127SSorin Basca  is subject to the terms and conditions of the following license:
6*7e63c127SSorin Basca</p>
7*7e63c127SSorin Basca
8*7e63c127SSorin Basca<pre>
9*7e63c127SSorin BascaCopyright 2011 Mike Samuel et al
10*7e63c127SSorin Basca
11*7e63c127SSorin Basca                                 Apache License
12*7e63c127SSorin Basca                           Version 2.0, January 2004
13*7e63c127SSorin Basca                        http://www.apache.org/licenses/
14*7e63c127SSorin Basca
15*7e63c127SSorin Basca   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
16*7e63c127SSorin Basca
17*7e63c127SSorin Basca   1. Definitions.
18*7e63c127SSorin Basca
19*7e63c127SSorin Basca      "License" shall mean the terms and conditions for use, reproduction,
20*7e63c127SSorin Basca      and distribution as defined by Sections 1 through 9 of this document.
21*7e63c127SSorin Basca
22*7e63c127SSorin Basca      "Licensor" shall mean the copyright owner or entity authorized by
23*7e63c127SSorin Basca      the copyright owner that is granting the License.
24*7e63c127SSorin Basca
25*7e63c127SSorin Basca      "Legal Entity" shall mean the union of the acting entity and all
26*7e63c127SSorin Basca      other entities that control, are controlled by, or are under common
27*7e63c127SSorin Basca      control with that entity. For the purposes of this definition,
28*7e63c127SSorin Basca      "control" means (i) the power, direct or indirect, to cause the
29*7e63c127SSorin Basca      direction or management of such entity, whether by contract or
30*7e63c127SSorin Basca      otherwise, or (ii) ownership of fifty percent (50%) or more of the
31*7e63c127SSorin Basca      outstanding shares, or (iii) beneficial ownership of such entity.
32*7e63c127SSorin Basca
33*7e63c127SSorin Basca      "You" (or "Your") shall mean an individual or Legal Entity
34*7e63c127SSorin Basca      exercising permissions granted by this License.
35*7e63c127SSorin Basca
36*7e63c127SSorin Basca      "Source" form shall mean the preferred form for making modifications,
37*7e63c127SSorin Basca      including but not limited to software source code, documentation
38*7e63c127SSorin Basca      source, and configuration files.
39*7e63c127SSorin Basca
40*7e63c127SSorin Basca      "Object" form shall mean any form resulting from mechanical
41*7e63c127SSorin Basca      transformation or translation of a Source form, including but
42*7e63c127SSorin Basca      not limited to compiled object code, generated documentation,
43*7e63c127SSorin Basca      and conversions to other media types.
44*7e63c127SSorin Basca
45*7e63c127SSorin Basca      "Work" shall mean the work of authorship, whether in Source or
46*7e63c127SSorin Basca      Object form, made available under the License, as indicated by a
47*7e63c127SSorin Basca      copyright notice that is included in or attached to the work
48*7e63c127SSorin Basca      (an example is provided in the Appendix below).
49*7e63c127SSorin Basca
50*7e63c127SSorin Basca      "Derivative Works" shall mean any work, whether in Source or Object
51*7e63c127SSorin Basca      form, that is based on (or derived from) the Work and for which the
52*7e63c127SSorin Basca      editorial revisions, annotations, elaborations, or other modifications
53*7e63c127SSorin Basca      represent, as a whole, an original work of authorship. For the purposes
54*7e63c127SSorin Basca      of this License, Derivative Works shall not include works that remain
55*7e63c127SSorin Basca      separable from, or merely link (or bind by name) to the interfaces of,
56*7e63c127SSorin Basca      the Work and Derivative Works thereof.
57*7e63c127SSorin Basca
58*7e63c127SSorin Basca      "Contribution" shall mean any work of authorship, including
59*7e63c127SSorin Basca      the original version of the Work and any modifications or additions
60*7e63c127SSorin Basca      to that Work or Derivative Works thereof, that is intentionally
61*7e63c127SSorin Basca      submitted to Licensor for inclusion in the Work by the copyright owner
62*7e63c127SSorin Basca      or by an individual or Legal Entity authorized to submit on behalf of
63*7e63c127SSorin Basca      the copyright owner. For the purposes of this definition, "submitted"
64*7e63c127SSorin Basca      means any form of electronic, verbal, or written communication sent
65*7e63c127SSorin Basca      to the Licensor or its representatives, including but not limited to
66*7e63c127SSorin Basca      communication on electronic mailing lists, source code control systems,
67*7e63c127SSorin Basca      and issue tracking systems that are managed by, or on behalf of, the
68*7e63c127SSorin Basca      Licensor for the purpose of discussing and improving the Work, but
69*7e63c127SSorin Basca      excluding communication that is conspicuously marked or otherwise
70*7e63c127SSorin Basca      designated in writing by the copyright owner as "Not a Contribution."
71*7e63c127SSorin Basca
72*7e63c127SSorin Basca      "Contributor" shall mean Licensor and any individual or Legal Entity
73*7e63c127SSorin Basca      on behalf of whom a Contribution has been received by Licensor and
74*7e63c127SSorin Basca      subsequently incorporated within the Work.
75*7e63c127SSorin Basca
76*7e63c127SSorin Basca   2. Grant of Copyright License. Subject to the terms and conditions of
77*7e63c127SSorin Basca      this License, each Contributor hereby grants to You a perpetual,
78*7e63c127SSorin Basca      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
79*7e63c127SSorin Basca      copyright license to reproduce, prepare Derivative Works of,
80*7e63c127SSorin Basca      publicly display, publicly perform, sublicense, and distribute the
81*7e63c127SSorin Basca      Work and such Derivative Works in Source or Object form.
82*7e63c127SSorin Basca
83*7e63c127SSorin Basca   3. Grant of Patent License. Subject to the terms and conditions of
84*7e63c127SSorin Basca      this License, each Contributor hereby grants to You a perpetual,
85*7e63c127SSorin Basca      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
86*7e63c127SSorin Basca      (except as stated in this section) patent license to make, have made,
87*7e63c127SSorin Basca      use, offer to sell, sell, import, and otherwise transfer the Work,
88*7e63c127SSorin Basca      where such license applies only to those patent claims licensable
89*7e63c127SSorin Basca      by such Contributor that are necessarily infringed by their
90*7e63c127SSorin Basca      Contribution(s) alone or by combination of their Contribution(s)
91*7e63c127SSorin Basca      with the Work to which such Contribution(s) was submitted. If You
92*7e63c127SSorin Basca      institute patent litigation against any entity (including a
93*7e63c127SSorin Basca      cross-claim or counterclaim in a lawsuit) alleging that the Work
94*7e63c127SSorin Basca      or a Contribution incorporated within the Work constitutes direct
95*7e63c127SSorin Basca      or contributory patent infringement, then any patent licenses
96*7e63c127SSorin Basca      granted to You under this License for that Work shall terminate
97*7e63c127SSorin Basca      as of the date such litigation is filed.
98*7e63c127SSorin Basca
99*7e63c127SSorin Basca   4. Redistribution. You may reproduce and distribute copies of the
100*7e63c127SSorin Basca      Work or Derivative Works thereof in any medium, with or without
101*7e63c127SSorin Basca      modifications, and in Source or Object form, provided that You
102*7e63c127SSorin Basca      meet the following conditions:
103*7e63c127SSorin Basca
104*7e63c127SSorin Basca      (a) You must give any other recipients of the Work or
105*7e63c127SSorin Basca          Derivative Works a copy of this License; and
106*7e63c127SSorin Basca
107*7e63c127SSorin Basca      (b) You must cause any modified files to carry prominent notices
108*7e63c127SSorin Basca          stating that You changed the files; and
109*7e63c127SSorin Basca
110*7e63c127SSorin Basca      (c) You must retain, in the Source form of any Derivative Works
111*7e63c127SSorin Basca          that You distribute, all copyright, patent, trademark, and
112*7e63c127SSorin Basca          attribution notices from the Source form of the Work,
113*7e63c127SSorin Basca          excluding those notices that do not pertain to any part of
114*7e63c127SSorin Basca          the Derivative Works; and
115*7e63c127SSorin Basca
116*7e63c127SSorin Basca      (d) If the Work includes a "NOTICE" text file as part of its
117*7e63c127SSorin Basca          distribution, then any Derivative Works that You distribute must
118*7e63c127SSorin Basca          include a readable copy of the attribution notices contained
119*7e63c127SSorin Basca          within such NOTICE file, excluding those notices that do not
120*7e63c127SSorin Basca          pertain to any part of the Derivative Works, in at least one
121*7e63c127SSorin Basca          of the following places: within a NOTICE text file distributed
122*7e63c127SSorin Basca          as part of the Derivative Works; within the Source form or
123*7e63c127SSorin Basca          documentation, if provided along with the Derivative Works; or,
124*7e63c127SSorin Basca          within a display generated by the Derivative Works, if and
125*7e63c127SSorin Basca          wherever such third-party notices normally appear. The contents
126*7e63c127SSorin Basca          of the NOTICE file are for informational purposes only and
127*7e63c127SSorin Basca          do not modify the License. You may add Your own attribution
128*7e63c127SSorin Basca          notices within Derivative Works that You distribute, alongside
129*7e63c127SSorin Basca          or as an addendum to the NOTICE text from the Work, provided
130*7e63c127SSorin Basca          that such additional attribution notices cannot be construed
131*7e63c127SSorin Basca          as modifying the License.
132*7e63c127SSorin Basca
133*7e63c127SSorin Basca      You may add Your own copyright statement to Your modifications and
134*7e63c127SSorin Basca      may provide additional or different license terms and conditions
135*7e63c127SSorin Basca      for use, reproduction, or distribution of Your modifications, or
136*7e63c127SSorin Basca      for any such Derivative Works as a whole, provided Your use,
137*7e63c127SSorin Basca      reproduction, and distribution of the Work otherwise complies with
138*7e63c127SSorin Basca      the conditions stated in this License.
139*7e63c127SSorin Basca
140*7e63c127SSorin Basca   5. Submission of Contributions. Unless You explicitly state otherwise,
141*7e63c127SSorin Basca      any Contribution intentionally submitted for inclusion in the Work
142*7e63c127SSorin Basca      by You to the Licensor shall be under the terms and conditions of
143*7e63c127SSorin Basca      this License, without any additional terms or conditions.
144*7e63c127SSorin Basca      Notwithstanding the above, nothing herein shall supersede or modify
145*7e63c127SSorin Basca      the terms of any separate license agreement you may have executed
146*7e63c127SSorin Basca      with Licensor regarding such Contributions.
147*7e63c127SSorin Basca
148*7e63c127SSorin Basca   6. Trademarks. This License does not grant permission to use the trade
149*7e63c127SSorin Basca      names, trademarks, service marks, or product names of the Licensor,
150*7e63c127SSorin Basca      except as required for reasonable and customary use in describing the
151*7e63c127SSorin Basca      origin of the Work and reproducing the content of the NOTICE file.
152*7e63c127SSorin Basca
153*7e63c127SSorin Basca   7. Disclaimer of Warranty. Unless required by applicable law or
154*7e63c127SSorin Basca      agreed to in writing, Licensor provides the Work (and each
155*7e63c127SSorin Basca      Contributor provides its Contributions) on an "AS IS" BASIS,
156*7e63c127SSorin Basca      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
157*7e63c127SSorin Basca      implied, including, without limitation, any warranties or conditions
158*7e63c127SSorin Basca      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
159*7e63c127SSorin Basca      PARTICULAR PURPOSE. You are solely responsible for determining the
160*7e63c127SSorin Basca      appropriateness of using or redistributing the Work and assume any
161*7e63c127SSorin Basca      risks associated with Your exercise of permissions under this License.
162*7e63c127SSorin Basca
163*7e63c127SSorin Basca   8. Limitation of Liability. In no event and under no legal theory,
164*7e63c127SSorin Basca      whether in tort (including negligence), contract, or otherwise,
165*7e63c127SSorin Basca      unless required by applicable law (such as deliberate and grossly
166*7e63c127SSorin Basca      negligent acts) or agreed to in writing, shall any Contributor be
167*7e63c127SSorin Basca      liable to You for damages, including any direct, indirect, special,
168*7e63c127SSorin Basca      incidental, or consequential damages of any character arising as a
169*7e63c127SSorin Basca      result of this License or out of the use or inability to use the
170*7e63c127SSorin Basca      Work (including but not limited to damages for loss of goodwill,
171*7e63c127SSorin Basca      work stoppage, computer failure or malfunction, or any and all
172*7e63c127SSorin Basca      other commercial damages or losses), even if such Contributor
173*7e63c127SSorin Basca      has been advised of the possibility of such damages.
174*7e63c127SSorin Basca
175*7e63c127SSorin Basca   9. Accepting Warranty or Additional Liability. While redistributing
176*7e63c127SSorin Basca      the Work or Derivative Works thereof, You may choose to offer,
177*7e63c127SSorin Basca      and charge a fee for, acceptance of support, warranty, indemnity,
178*7e63c127SSorin Basca      or other liability obligations and/or rights consistent with this
179*7e63c127SSorin Basca      License. However, in accepting such obligations, You may act only
180*7e63c127SSorin Basca      on Your own behalf and on Your sole responsibility, not on behalf
181*7e63c127SSorin Basca      of any other Contributor, and only if You agree to indemnify,
182*7e63c127SSorin Basca      defend, and hold each Contributor harmless for any liability
183*7e63c127SSorin Basca      incurred by, or claims asserted against, such Contributor by reason
184*7e63c127SSorin Basca      of your accepting any such warranty or additional liability.
185*7e63c127SSorin Basca</pre>
186