c.s.tools.ide.analysis.modernize/license.txt
author Ilia Gromov <ilia@netbeans.org>
Wed, 07 Jun 2017 20:23:29 +0300
branchrelease82
changeset 18423 b9d9af239a0c
parent 18403 ide.analysis.modernize/license.txt@67d78b11d2e0
permissions -rw-r--r--
Fixing #270763 - Move clang-tidy integration to nb contrib
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - move wrapper
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - sign nbm
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - move tests
* * *
Fixing #270763 - Move clang-tidy integration to nb contrib - data for a new test
* * *
Fixed #270839 - [clang-tidy] Group checks in Editor hints
(transplanted from 35b6125ef00c470655dac6673075f5c12ec74593)
     1 NetBeans IDE Dual License Header and License Notice
     2 
     3 Oracle elects to use only the GNU Lesser General Public License version 2.1 
     4 (LGPL) for any software where a choice of LGPL/GPL license versions are made 
     5 available with the language indicating that LGPLv2.1/GPLv2 or any later version 
     6 may be used, or where a choice of which version of the LGPL/GPL is applied is 
     7 unspecified.
     8 For more information on the license please see: the NetBeans License FAQs. 
     9 
    10 COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
    11 
    12 1. Definitions.
    13 1.1. "Contributor" means each individual or entity that creates or contributes 
    14 to the creation of Modifications.
    15 1.2. "Contributor Version" means the combination of the Original Software, 
    16 prior Modifications used by a Contributor (if any), and the Modifications made 
    17 by that particular Contributor.
    18 1.3. "Covered Software" means (a) the Original Software, or (b) Modifications, 
    19 or (c) the combination of files containing Original Software with files 
    20 containing Modifications, in each case including portions thereof.
    21 1.4. "Executable" means the Covered Software in any form other than Source Code.
    22 1.5. "Initial Developer" means the individual or entity that first makes 
    23 Original Software available under this License.
    24 1.6. "Larger Work" means a work which combines Covered Software or portions 
    25 thereof with code not governed by the terms of this License.
    26 1.7. "License" means this document.
    27 1.8. "Licensable" means having the right to grant, to the maximum extent 
    28 possible, whether at the time of the initial grant or subsequently acquired, 
    29 any and all of the rights conveyed herein.
    30 1.9 "Modifications" means the Source Code and Executable form of any of the 
    31 following:
    32 A. Any file that results from an addition to, deletion from or modification of 
    33 the contents of a file containing Original Software or previous Modifications;
    34 B. Any new file that contains any part of the Original Software or previous 
    35 Modification; or
    36 C. Any new file that is contributed or otherwise made available under the terms 
    37 of this License.
    38 1.10. "Original Software" means the Source Code and Executable form of computer 
    39 software code that is originally released under this License.
    40 1.11. "Patent Claims" means any patent claim(s), now owned or hereafter 
    41 acquired, including without limitation, method, process, and apparatus claims, 
    42 in any patent Licensable by grantor.
    43 1.12. "Source Code" means (a) the common form of computer software code in 
    44 which modifications are made and (b) associated documentation included in or 
    45 with such code.
    46 1.13. "You" (or "Your") means an individual or a legal entity exercising rights 
    47 under, and complying with all of the terms of, this License. For legal 
    48 entities, "You" includes any entity which controls, is controlled by, or is 
    49 under common control with You. For purposes of this definition, "control" means 
    50 (a) the power, direct or indirect, to cause the direction or management of such 
    51 entity, whether by contract or otherwise, or (b) ownership of more than fifty 
    52 percent (50%) of the outstanding shares or beneficial ownership of such entity.
    53 2. License Grants.
    54 2.1. The Initial Developer Grant.
    55 Conditioned upon Your compliance with Section 3.1 below and subject to third 
    56 party intellectual property claims, the Initial Developer hereby grants You a 
    57 world-wide, royalty-free, non-exclusive license:
    58 (a) under intellectual property rights (other than patent or trademark) 
    59 Licensable by Initial Developer, to use, reproduce, modify, display, perform, 
    60 sublicense and distribute the Original Software (or portions thereof), with or 
    61 without Modifications, and/or as part of a Larger Work; and
    62 (b) under Patent Claims infringed by the making, using or selling of Original 
    63 Software, to make, have made, use, practice, sell, and offer for sale, and/or 
    64 otherwise dispose of the Original Software (or portions thereof).
    65 (c) The licenses granted in Sections 2.1(a) and (b) are effective on the date 
    66 Initial Developer first distributes or otherwise makes the Original Software 
    67 available to a third party under the terms of this License.
    68 (d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for 
    69 code that You delete from the Original Software, or (2) for infringements 
    70 caused by: (i) the modification of the Original Software, or (ii) the 
    71 combination of the Original Software with other software or devices.
    72 2.2. Contributor Grant.
    73 Conditioned upon Your compliance with Section 3.1 below and subject to third 
    74 party intellectual property claims, each Contributor hereby grants You a 
    75 world-wide, royalty-free, non-exclusive license:
    76 (a) under intellectual property rights (other than patent or trademark) 
    77 Licensable by Contributor to use, reproduce, modify, display, perform, 
    78 sublicense and distribute the Modifications created by such Contributor (or 
    79 portions thereof), either on an unmodified basis, with other Modifications, as 
    80 Covered Software and/or as part of a Larger Work; and
    81 (b) under Patent Claims infringed by the making, using, or selling of 
    82 Modifications made by that Contributor either alone and/or in combination with 
    83 its Contributor Version (or portions of such combination), to make, use, sell, 
    84 offer for sale, have made, and/or otherwise dispose of: (1) Modifications made 
    85 by that Contributor (or portions thereof); and (2) the combination of 
    86 Modifications made by that Contributor with its Contributor Version (or 
    87 portions of such combination).
    88 (c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the 
    89 date Contributor first distributes or otherwise makes the Modifications 
    90 available to a third party.
    91 (d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for 
    92 any code that Contributor has deleted from the Contributor Version; (2) for 
    93 infringements caused by: (i) third party modifications of Contributor Version, 
    94 or (ii) the combination of Modifications made by that Contributor with other 
    95 software (except as part of the Contributor Version) or other devices; or (3) 
    96 under Patent Claims infringed by Covered Software in the absence of 
    97 Modifications made by that Contributor.
    98 3. Distribution Obligations.
    99 3.1. Availability of Source Code.
   100 Any Covered Software that You distribute or otherwise make available in 
   101 Executable form must also be made available in Source Code form and that Source 
   102 Code form must be distributed only under the terms of this License. You must 
   103 include a copy of this License with every copy of the Source Code form of the 
   104 Covered Software You distribute or otherwise make available. You must inform 
   105 recipients of any such Covered Software in Executable form as to how they can 
   106 obtain such Covered Software in Source Code form in a reasonable manner on or 
   107 through a medium customarily used for software exchange.
   108 3.2. Modifications.
   109 The Modifications that You create or to which You contribute are governed by 
   110 the terms of this License. You represent that You believe Your Modifications 
   111 are Your original creation(s) and/or You have sufficient rights to grant the 
   112 rights conveyed by this License.
   113 3.3. Required Notices.
   114 You must include a notice in each of Your Modifications that identifies You as 
   115 the Contributor of the Modification. You may not remove or alter any copyright, 
   116 patent or trademark notices contained within the Covered Software, or any 
   117 notices of licensing or any descriptive text giving attribution to any 
   118 Contributor or the Initial Developer.
   119 3.4. Application of Additional Terms.
   120 You may not offer or impose any terms on any Covered Software in Source Code 
   121 form that alters or restricts the applicable version of this License or the 
   122 recipients� rights hereunder. You may choose to offer, and to charge a fee 
   123 for, warranty, support, indemnity or liability obligations to one or more 
   124 recipients of Covered Software. However, you may do so only on Your own behalf, 
   125 and not on behalf of the Initial Developer or any Contributor. You must make it 
   126 absolutely clear that any such warranty, support, indemnity or liability 
   127 obligation is offered by You alone, and You hereby agree to indemnify the 
   128 Initial Developer and every Contributor for any liability incurred by the 
   129 Initial Developer or such Contributor as a result of warranty, support, 
   130 indemnity or liability terms You offer.
   131 3.5. Distribution of Executable Versions.
   132 You may distribute the Executable form of the Covered Software under the terms 
   133 of this License or under the terms of a license of Your choice, which may 
   134 contain terms different from this License, provided that You are in compliance 
   135 with the terms of this License and that the license for the Executable form 
   136 does not attempt to limit or alter the recipient�s rights in the Source Code 
   137 form from the rights set forth in this License. If You distribute the Covered 
   138 Software in Executable form under a different license, You must make it 
   139 absolutely clear that any terms which differ from this License are offered by 
   140 You alone, not by the Initial Developer or Contributor. You hereby agree to 
   141 indemnify the Initial Developer and every Contributor for any liability 
   142 incurred by the Initial Developer or such Contributor as a result of any such 
   143 terms You offer.
   144 3.6. Larger Works.
   145 You may create a Larger Work by combining Covered Software with other code not 
   146 governed by the terms of this License and distribute the Larger Work as a 
   147 single product. In such a case, You must make sure the requirements of this 
   148 License are fulfilled for the Covered Software.
   149 4. Versions of the License.
   150 4.1. New Versions.
   151 Oracle Corp. is the initial license steward and may publish revised and/or new 
   152 versions of this License from time to time. Each version will be given a 
   153 distinguishing version number. Except as provided in Section 4.3, no one other 
   154 than the license steward has the right to modify this License.
   155 4.2. Effect of New Versions.
   156 You may always continue to use, distribute or otherwise make the Covered 
   157 Software available under the terms of the version of the License under which 
   158 You originally received the Covered Software. If the Initial Developer includes 
   159 a notice in the Original Software prohibiting it from being distributed or 
   160 otherwise made available under any subsequent version of the License, You must 
   161 distribute and make the Covered Software available under the terms of the 
   162 version of the License under which You originally received the Covered 
   163 Software. Otherwise, You may also choose to use, distribute or otherwise make 
   164 the Covered Software available under the terms of any subsequent version of the 
   165 License published by the license steward.
   166 4.3. Modified Versions.
   167 When You are an Initial Developer and You want to create a new license for Your 
   168 Original Software, You may create and use a modified version of this License if 
   169 You: (a) rename the license and remove any references to the name of the 
   170 license steward (except to note that the license differs from this License); 
   171 and (b) otherwise make it clear that the license contains terms which differ 
   172 from this License.
   173 5. DISCLAIMER OF WARRANTY.
   174 COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT 
   175 WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT 
   176 LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS, 
   177 MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK 
   178 AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD 
   179 ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL 
   180 DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, 
   181 REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART 
   182 OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT 
   183 UNDER THIS DISCLAIMER.
   184 6. TERMINATION.
   185 6.1. This License and the rights granted hereunder will terminate automatically 
   186 if You fail to comply with terms herein and fail to cure such breach within 30 
   187 days of becoming aware of the breach. Provisions which, by their nature, must 
   188 remain in effect beyond the termination of this License shall survive.
   189 6.2. If You assert a patent infringement claim (excluding declaratory judgment 
   190 actions) against Initial Developer or a Contributor (the Initial Developer or 
   191 Contributor against whom You assert such claim is referred to as "Participant") 
   192 alleging that the Participant Software (meaning the Contributor Version where 
   193 the Participant is a Contributor or the Original Software where the Participant 
   194 is the Initial Developer) directly or indirectly infringes any patent, then any 
   195 and all rights granted directly or indirectly to You by such Participant, the 
   196 Initial Developer (if the Initial Developer is not the Participant) and all 
   197 Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days 
   198 notice from Participant terminate prospectively and automatically at the 
   199 expiration of such 60 day notice period, unless if within such 60 day period 
   200 You withdraw Your claim with respect to the Participant Software against such 
   201 Participant either unilaterally or pursuant to a written agreement with 
   202 Participant.
   203 6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user 
   204 licenses that have been validly granted by You or any distributor hereunder 
   205 prior to termination (excluding licenses granted to You by any distributor) 
   206 shall survive termination.
   207 7. LIMITATION OF LIABILITY.
   208 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING 
   209 NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY 
   210 OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF 
   211 ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, 
   212 INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT 
   213 LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER 
   214 FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN 
   215 IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS 
   216 LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL 
   217 INJURY RESULTING FROM SUCH PARTY�S NEGLIGENCE TO THE EXTENT APPLICABLE LAW 
   218 PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR 
   219 LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND 
   220 LIMITATION MAY NOT APPLY TO YOU.
   221 8. U.S. GOVERNMENT END USERS.
   222 The Covered Software is a "commercial item," as that term is defined in 48 
   223 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that 
   224 term is defined at 48 C.F.R. �252.227-7014(a)(1)) and "commercial computer 
   225 software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept. 
   226 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 
   227 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software 
   228 with only those rights set forth herein. This U.S. Government Rights clause is 
   229 in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision 
   230 that addresses Government rights in computer software under this License.
   231 9. MISCELLANEOUS.
   232 This License represents the complete agreement concerning subject matter 
   233 hereof. If any provision of this License is held to be unenforceable, such 
   234 provision shall be reformed only to the extent necessary to make it 
   235 enforceable. This License shall be governed by the law of the jurisdiction 
   236 specified in a notice contained within the Original Software (except to the 
   237 extent applicable law, if any, provides otherwise), excluding such 
   238 jurisdiction�s conflict-of-law provisions. Any litigation relating to this 
   239 License shall be subject to the jurisdiction of the courts located in the 
   240 jurisdiction and venue specified in a notice contained within the Original 
   241 Software, with the losing party responsible for costs, including, without 
   242 limitation, court costs and reasonable attorneys� fees and expenses. The 
   243 application of the United Nations Convention on Contracts for the International 
   244 Sale of Goods is expressly excluded. Any law or regulation which provides that 
   245 the language of a contract shall be construed against the drafter shall not 
   246 apply to this License. You agree that You alone are responsible for compliance 
   247 with the United States export administration regulations (and the export 
   248 control laws and regulation of any other countries) when You use, distribute or 
   249 otherwise make available any Covered Software.
   250 10. RESPONSIBILITY FOR CLAIMS.
   251 As between Initial Developer and the Contributors, each party is responsible 
   252 for claims and damages arising, directly or indirectly, out of its utilization 
   253 of rights under this License and You agree to work with Initial Developer and 
   254 Contributors to distribute such responsibility on an equitable basis. Nothing 
   255 herein is intended or shall be deemed to constitute any admission of liability.
   256 NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE 
   257 (CDDL)
   258 The code released under the CDDL shall be governed by the laws of the State of 
   259 California (excluding conflict-of-law provisions). Any litigation relating to 
   260 this License shall be subject to the jurisdiction of the Federal Courts of the 
   261 Northern District of California and the state courts of the State of 
   262 California, with venue lying in Santa Clara County, California.
   263 The GNU General Public License (GPL) Version 2, June 1991
   264 
   265 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 
   266 330, Boston, MA 02111-1307 USA
   267 Everyone is permitted to copy and distribute verbatim copies of this license 
   268 document, but changing it is not allowed.
   269 Preamble
   270 The licenses for most software are designed to take away your freedom to share 
   271 and change it. By contrast, the GNU General Public License is intended to 
   272 guarantee your freedom to share and change free software--to make sure the 
   273 software is free for all its users. This General Public License applies to most 
   274 of the Free Software Foundation's software and to any other program whose 
   275 authors commit to using it. (Some other Free Software Foundation software is 
   276 covered by the GNU Library General Public License instead.) You can apply it to 
   277 your programs, too.
   278 When we speak of free software, we are referring to freedom, not price. Our 
   279 General Public Licenses are designed to make sure that you have the freedom to 
   280 distribute copies of free software (and charge for this service if you wish), 
   281 that you receive source code or can get it if you want it, that you can change 
   282 the software or use pieces of it in new free programs; and that you know you 
   283 can do these things.
   284 To protect your rights, we need to make restrictions that forbid anyone to deny 
   285 you these rights or to ask you to surrender the rights. These restrictions 
   286 translate to certain responsibilities for you if you distribute copies of the 
   287 software, or if you modify it.
   288 For example, if you distribute copies of such a program, whether gratis or for 
   289 a fee, you must give the recipients all the rights that you have. You must make 
   290 sure that they, too, receive or can get the source code. And you must show them 
   291 these terms so they know their rights.
   292 We protect your rights with two steps: (1) copyright the software, and (2) 
   293 offer you this license which gives you legal permission to copy, distribute 
   294 and/or modify the software.
   295 Also, for each author's protection and ours, we want to make certain that 
   296 everyone understands that there is no warranty for this free software. If the 
   297 software is modified by someone else and passed on, we want its recipients to 
   298 know that what they have is not the original, so that any problems introduced 
   299 by others will not reflect on the original authors' reputations.
   300 Finally, any free program is threatened constantly by software patents. We wish 
   301 to avoid the danger that redistributors of a free program will individually 
   302 obtain patent licenses, in effect making the program proprietary. To prevent 
   303 this, we have made it clear that any patent must be licensed for everyone's 
   304 free use or not licensed at all.
   305 The precise terms and conditions for copying, distribution and modification 
   306 follow.
   307 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
   308 0. This License applies to any program or other work which contains a notice 
   309 placed by the copyright holder saying it may be distributed under the terms of 
   310 this General Public License. The "Program", below, refers to any such program 
   311 or work, and a "work based on the Program" means either the Program or any 
   312 derivative work under copyright law: that is to say, a work containing the 
   313 Program or a portion of it, either verbatim or with modifications and/or 
   314 translated into another language. (Hereinafter, translation is included without 
   315 limitation in the term "modification".) Each licensee is addressed as "you".
   316 Activities other than copying, distribution and modification are not covered by 
   317 this License; they are outside its scope. The act of running the Program is not 
   318 restricted, and the output from the Program is covered only if its contents 
   319 constitute a work based on the Program (independent of having been made by 
   320 running the Program). Whether that is true depends on what the Program does.
   321 1. You may copy and distribute verbatim copies of the Program's source code as 
   322 you receive it, in any medium, provided that you conspicuously and 
   323 appropriately publish on each copy an appropriate copyright notice and 
   324 disclaimer of warranty; keep intact all the notices that refer to this License 
   325 and to the absence of any warranty; and give any other recipients of the 
   326 Program a copy of this License along with the Program.
   327 You may charge a fee for the physical act of transferring a copy, and you may 
   328 at your option offer warranty protection in exchange for a fee.
   329 2. You may modify your copy or copies of the Program or any portion of it, thus 
   330 forming a work based on the Program, and copy and distribute such modifications 
   331 or work under the terms of Section 1 above, provided that you also meet all of 
   332 these conditions:
   333 a) You must cause the modified files to carry prominent notices stating that 
   334 you changed the files and the date of any change.
   335 b) You must cause any work that you distribute or publish, that in whole or in 
   336 part contains or is derived from the Program or any part thereof, to be 
   337 licensed as a whole at no charge to all third parties under the terms of this 
   338 License.
   339 c) If the modified program normally reads commands interactively when run, you 
   340 must cause it, when started running for such interactive use in the most 
   341 ordinary way, to print or display an announcement including an appropriate 
   342 copyright notice and a notice that there is no warranty (or else, saying that 
   343 you provide a warranty) and that users may redistribute the program under these 
   344 conditions, and telling the user how to view a copy of this License. 
   345 (Exception: if the Program itself is interactive but does not normally print 
   346 such an announcement, your work based on the Program is not required to print 
   347 an announcement.)
   348 These requirements apply to the modified work as a whole. If identifiable 
   349 sections of that work are not derived from the Program, and can be reasonably 
   350 considered independent and separate works in themselves, then this License, and 
   351 its terms, do not apply to those sections when you distribute them as separate 
   352 works. But when you distribute the same sections as part of a whole which is a 
   353 work based on the Program, the distribution of the whole must be on the terms 
   354 of this License, whose permissions for other licensees extend to the entire 
   355 whole, and thus to each and every part regardless of who wrote it.
   356 Thus, it is not the intent of this section to claim rights or contest your 
   357 rights to work written entirely by you; rather, the intent is to exercise the 
   358 right to control the distribution of derivative or collective works based on 
   359 the Program.
   360 In addition, mere aggregation of another work not based on the Program with the 
   361 Program (or with a work based on the Program) on a volume of a storage or 
   362 distribution medium does not bring the other work under the scope of this 
   363 License.
   364 3. You may copy and distribute the Program (or a work based on it, under 
   365 Section 2) in object code or executable form under the terms of Sections 1 and 
   366 2 above provided that you also do one of the following:
   367 a) Accompany it with the complete corresponding machine-readable source code, 
   368 which must be distributed under the terms of Sections 1 and 2 above on a medium 
   369 customarily used for software interchange; or,
   370 b) Accompany it with a written offer, valid for at least three years, to give 
   371 any third party, for a charge no more than your cost of physically performing 
   372 source distribution, a complete machine-readable copy of the corresponding 
   373 source code, to be distributed under the terms of Sections 1 and 2 above on a 
   374 medium customarily used for software interchange; or,
   375 c) Accompany it with the information you received as to the offer to distribute 
   376 corresponding source code. (This alternative is allowed only for noncommercial 
   377 distribution and only if you received the program in object code or executable 
   378 form with such an offer, in accord with Subsection b above.)
   379 The source code for a work means the preferred form of the work for making 
   380 modifications to it. For an executable work, complete source code means all the 
   381 source code for all modules it contains, plus any associated interface 
   382 definition files, plus the scripts used to control compilation and installation 
   383 of the executable. However, as a special exception, the source code distributed 
   384 need not include anything that is normally distributed (in either source or 
   385 binary form) with the major components (compiler, kernel, and so on) of the 
   386 operating system on which the executable runs, unless that component itself 
   387 accompanies the executable.
   388 If distribution of executable or object code is made by offering access to copy 
   389 from a designated place, then offering equivalent access to copy the source 
   390 code from the same place counts as distribution of the source code, even though 
   391 third parties are not compelled to copy the source along with the object code.
   392 4. You may not copy, modify, sublicense, or distribute the Program except as 
   393 expressly provided under this License. Any attempt otherwise to copy, modify, 
   394 sublicense or distribute the Program is void, and will automatically terminate 
   395 your rights under this License. However, parties who have received copies, or 
   396 rights, from you under this License will not have their licenses terminated so 
   397 long as such parties remain in full compliance.
   398 5. You are not required to accept this License, since you have not signed it. 
   399 However, nothing else grants you permission to modify or distribute the Program 
   400 or its derivative works. These actions are prohibited by law if you do not 
   401 accept this License. Therefore, by modifying or distributing the Program (or 
   402 any work based on the Program), you indicate your acceptance of this License to 
   403 do so, and all its terms and conditions for copying, distributing or modifying 
   404 the Program or works based on it.
   405 6. Each time you redistribute the Program (or any work based on the Program), 
   406 the recipient automatically receives a license from the original licensor to 
   407 copy, distribute or modify the Program subject to these terms and conditions. 
   408 You may not impose any further restrictions on the recipients' exercise of the 
   409 rights granted herein. You are not responsible for enforcing compliance by 
   410 third parties to this License.
   411 7. If, as a consequence of a court judgment or allegation of patent 
   412 infringement or for any other reason (not limited to patent issues), conditions 
   413 are imposed on you (whether by court order, agreement or otherwise) that 
   414 contradict the conditions of this License, they do not excuse you from the 
   415 conditions of this License. If you cannot distribute so as to satisfy 
   416 simultaneously your obligations under this License and any other pertinent 
   417 obligations, then as a consequence you may not distribute the Program at all. 
   418 For example, if a patent license would not permit royalty-free redistribution 
   419 of the Program by all those who receive copies directly or indirectly through 
   420 you, then the only way you could satisfy both it and this License would be to 
   421 refrain entirely from distribution of the Program.
   422 If any portion of this section is held invalid or unenforceable under any 
   423 particular circumstance, the balance of the section is intended to apply and 
   424 the section as a whole is intended to apply in other circumstances.
   425 It is not the purpose of this section to induce you to infringe any patents or 
   426 other property right claims or to contest validity of any such claims; this 
   427 section has the sole purpose of protecting the integrity of the free software 
   428 distribution system, which is implemented by public license practices. Many 
   429 people have made generous contributions to the wide range of software 
   430 distributed through that system in reliance on consistent application of that 
   431 system; it is up to the author/donor to decide if he or she is willing to 
   432 distribute software through any other system and a licensee cannot impose that 
   433 choice.
   434 This section is intended to make thoroughly clear what is believed to be a 
   435 consequence of the rest of this License.
   436 8. If the distribution and/or use of the Program is restricted in certain 
   437 countries either by patents or by copyrighted interfaces, the original 
   438 copyright holder who places the Program under this License may add an explicit 
   439 geographical distribution limitation excluding those countries, so that 
   440 distribution is permitted only in or among countries not thus excluded. In such 
   441 case, this License incorporates the limitation as if written in the body of 
   442 this License.
   443 9. The Free Software Foundation may publish revised and/or new versions of the 
   444 General Public License from time to time. Such new versions will be similar in 
   445 spirit to the present version, but may differ in detail to address new problems 
   446 or concerns.
   447 Each version is given a distinguishing version number. If the Program specifies 
   448 a version number of this License which applies to it and "any later version", 
   449 you have the option of following the terms and conditions either of that 
   450 version or of any later version published by the Free Software Foundation. If 
   451 the Program does not specify a version number of this License, you may choose 
   452 any version ever published by the Free Software Foundation.
   453 10. If you wish to incorporate parts of the Program into other free programs 
   454 whose distribution conditions are different, write to the author to ask for 
   455 permission. For software which is copyrighted by the Free Software Foundation, 
   456 write to the Free Software Foundation; we sometimes make exceptions for this. 
   457 Our decision will be guided by the two goals of preserving the free status of 
   458 all derivatives of our free software and of promoting the sharing and reuse of 
   459 software generally.
   460 NO WARRANTY
   461 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR 
   462 THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE 
   463 STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE 
   464 PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, 
   465 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
   466 FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND 
   467 PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU 
   468 ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
   469 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL 
   470 ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE 
   471 PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 
   472 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR 
   473 INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA 
   474 BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 
   475 FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER 
   476 OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
   477 END OF TERMS AND CONDITIONS
   478 How to Apply These Terms to Your New Programs
   479 If you develop a new program, and you want it to be of the greatest possible 
   480 use to the public, the best way to achieve this is to make it free software 
   481 which everyone can redistribute and change under these terms.
   482 To do so, attach the following notices to the program. It is safest to attach 
   483 them to the start of each source file to most effectively convey the exclusion 
   484 of warranty; and each file should have at least the "copyright" line and a 
   485 pointer to where the full notice is found.
   486 One line to give the program's name and a brief idea of what it does.
   487 Copyright (C)
   488 This program is free software; you can redistribute it and/or modify it under 
   489 the terms of the GNU General Public License as published by the Free Software 
   490 Foundation; either version 2 of the License, or (at your option) any later 
   491 version.
   492 This program is distributed in the hope that it will be useful, but WITHOUT ANY 
   493 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
   494 PARTICULAR PURPOSE. See the GNU General Public License for more details.
   495 You should have received a copy of the GNU General Public License along with 
   496 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 
   497 Place, Suite 330, Boston, MA 02111-1307 USA
   498 Also add information on how to contact you by electronic and paper mail.
   499 If the program is interactive, make it output a short notice like this when it 
   500 starts in an interactive mode:
   501 Gnomovision version 69, Copyright (C) year name of author
   502 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This 
   503 is free software, and you are welcome to redistribute it under certain 
   504 conditions; type `show c' for details.
   505 The hypothetical commands `show w' and `show c' should show the appropriate 
   506 parts of the General Public License. Of course, the commands you use may be 
   507 called something other than `show w' and `show c'; they could even be 
   508 mouse-clicks or menu items--whatever suits your program.
   509 You should also get your employer (if you work as a programmer) or your school, 
   510 if any, to sign a "copyright disclaimer" for the program, if necessary. Here is 
   511 a sample; alter the names:
   512 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 
   513 `Gnomovision' (which makes passes at compilers) written by James Hacker.
   514 signature of Ty Coon, 1 April 1989
   515 Ty Coon, President of Vice
   516 This General Public License does not permit incorporating your program into 
   517 proprietary programs. If your program is a subroutine library, you may consider 
   518 it more useful to permit linking proprietary applications with the library. If 
   519 this is what you want to do, use the GNU Library General Public License instead 
   520 of this License.
   521 "CLASSPATH" EXCEPTION TO THE GPL VERSION 2
   522 Certain source files distributed by Oracle America, Inc. and/or its affiliates 
   523 are subject to the following clarification and special exception to the GPLv2, 
   524 based on the GNU Project exception for its Classpath libraries, known as the 
   525 GNU Classpath Exception, but only where Oracle has expressly included in the 
   526 particular source file's header the words "Oracle designates this particular 
   527 file as subject to the "Classpath" exception as provided by Oracle in the 
   528 LICENSE file that accompanied this code."
   529 You should also note that Oracle includes multiple, independent programs in 
   530 this software package. Some of those programs are provided under licenses 
   531 deemed incompatible with the GPLv2 by the Free Software Foundation and others. 
   532 For example, the package includes programs licensed under the Apache License, 
   533 Version 2.0. Such programs are licensed to you under their original licenses.
   534 Oracle facilitates your further distribution of this package by adding the 
   535 Classpath Exception to the necessary parts of its GPLv2 code, which permits you 
   536 to use that code in combination with other independent modules not licensed 
   537 under the GPLv2. However, note that this would not permit you to commingle code 
   538 under an incompatible license with Oracle's GPLv2 licensed code by, for 
   539 example, cutting and pasting such code into a file also containing Oracle's 
   540 GPLv2 licensed code and then distributing the result.
   541 Additionally, if you were to remove the Classpath Exception from any of the 
   542 files to which it applies and distribute the result, you would likely be 
   543 required to license some or all of the other code in that distribution under 
   544 the GPLv2 as well, and since the GPLv2 is incompatible with the license terms 
   545 of some items included in the distribution by Oracle, removing the Classpath 
   546 Exception could therefore effectively compromise your ability to further 
   547 distribute the package.
   548 Proceed with caution and we recommend that you obtain the advice of a lawyer 
   549 skilled in open source matters before removing the Classpath Exception or 
   550 making modifications to this package which may subsequently be redistributed 
   551 and/or involve the use of third party software.
   552 CLASSPATH EXCEPTION
   553 Linking this library statically or dynamically with other modules is making a 
   554 combined work based on this library. Thus, the terms and conditions of the GNU 
   555 General Public License version 2 cover the whole combination.
   556 As a special exception, the copyright holders of this library give you 
   557 permission to link this library with independent modules to produce an 
   558 executable, regardless of the license terms of these independent modules, and 
   559 to copy and distribute the resulting executable under terms of your choice, 
   560 provided that you also meet, for each linked independent module, the terms and 
   561 conditions of the license of that module. An independent module is a module 
   562 which is not derived from or based on this library. If you modify this library, 
   563 you may extend this exception to your version of the library, but you are not 
   564 obligated to do so. If you do not wish to do so, delete this exception 
   565 statement from your version.