1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/c.s.tools.ide.analysis.modernize/license.txt Wed Jun 07 20:23:29 2017 +0300
1.3 @@ -0,0 +1,565 @@
1.4 +NetBeans IDE Dual License Header and License Notice
1.5 +
1.6 +Oracle elects to use only the GNU Lesser General Public License version 2.1
1.7 +(LGPL) for any software where a choice of LGPL/GPL license versions are made
1.8 +available with the language indicating that LGPLv2.1/GPLv2 or any later version
1.9 +may be used, or where a choice of which version of the LGPL/GPL is applied is
1.10 +unspecified.
1.11 +For more information on the license please see: the NetBeans License FAQs.
1.12 +
1.13 +COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
1.14 +
1.15 +1. Definitions.
1.16 +1.1. "Contributor" means each individual or entity that creates or contributes
1.17 +to the creation of Modifications.
1.18 +1.2. "Contributor Version" means the combination of the Original Software,
1.19 +prior Modifications used by a Contributor (if any), and the Modifications made
1.20 +by that particular Contributor.
1.21 +1.3. "Covered Software" means (a) the Original Software, or (b) Modifications,
1.22 +or (c) the combination of files containing Original Software with files
1.23 +containing Modifications, in each case including portions thereof.
1.24 +1.4. "Executable" means the Covered Software in any form other than Source Code.
1.25 +1.5. "Initial Developer" means the individual or entity that first makes
1.26 +Original Software available under this License.
1.27 +1.6. "Larger Work" means a work which combines Covered Software or portions
1.28 +thereof with code not governed by the terms of this License.
1.29 +1.7. "License" means this document.
1.30 +1.8. "Licensable" means having the right to grant, to the maximum extent
1.31 +possible, whether at the time of the initial grant or subsequently acquired,
1.32 +any and all of the rights conveyed herein.
1.33 +1.9 "Modifications" means the Source Code and Executable form of any of the
1.34 +following:
1.35 +A. Any file that results from an addition to, deletion from or modification of
1.36 +the contents of a file containing Original Software or previous Modifications;
1.37 +B. Any new file that contains any part of the Original Software or previous
1.38 +Modification; or
1.39 +C. Any new file that is contributed or otherwise made available under the terms
1.40 +of this License.
1.41 +1.10. "Original Software" means the Source Code and Executable form of computer
1.42 +software code that is originally released under this License.
1.43 +1.11. "Patent Claims" means any patent claim(s), now owned or hereafter
1.44 +acquired, including without limitation, method, process, and apparatus claims,
1.45 +in any patent Licensable by grantor.
1.46 +1.12. "Source Code" means (a) the common form of computer software code in
1.47 +which modifications are made and (b) associated documentation included in or
1.48 +with such code.
1.49 +1.13. "You" (or "Your") means an individual or a legal entity exercising rights
1.50 +under, and complying with all of the terms of, this License. For legal
1.51 +entities, "You" includes any entity which controls, is controlled by, or is
1.52 +under common control with You. For purposes of this definition, "control" means
1.53 +(a) the power, direct or indirect, to cause the direction or management of such
1.54 +entity, whether by contract or otherwise, or (b) ownership of more than fifty
1.55 +percent (50%) of the outstanding shares or beneficial ownership of such entity.
1.56 +2. License Grants.
1.57 +2.1. The Initial Developer Grant.
1.58 +Conditioned upon Your compliance with Section 3.1 below and subject to third
1.59 +party intellectual property claims, the Initial Developer hereby grants You a
1.60 +world-wide, royalty-free, non-exclusive license:
1.61 +(a) under intellectual property rights (other than patent or trademark)
1.62 +Licensable by Initial Developer, to use, reproduce, modify, display, perform,
1.63 +sublicense and distribute the Original Software (or portions thereof), with or
1.64 +without Modifications, and/or as part of a Larger Work; and
1.65 +(b) under Patent Claims infringed by the making, using or selling of Original
1.66 +Software, to make, have made, use, practice, sell, and offer for sale, and/or
1.67 +otherwise dispose of the Original Software (or portions thereof).
1.68 +(c) The licenses granted in Sections 2.1(a) and (b) are effective on the date
1.69 +Initial Developer first distributes or otherwise makes the Original Software
1.70 +available to a third party under the terms of this License.
1.71 +(d) Notwithstanding Section 2.1(b) above, no patent license is granted: (1) for
1.72 +code that You delete from the Original Software, or (2) for infringements
1.73 +caused by: (i) the modification of the Original Software, or (ii) the
1.74 +combination of the Original Software with other software or devices.
1.75 +2.2. Contributor Grant.
1.76 +Conditioned upon Your compliance with Section 3.1 below and subject to third
1.77 +party intellectual property claims, each Contributor hereby grants You a
1.78 +world-wide, royalty-free, non-exclusive license:
1.79 +(a) under intellectual property rights (other than patent or trademark)
1.80 +Licensable by Contributor to use, reproduce, modify, display, perform,
1.81 +sublicense and distribute the Modifications created by such Contributor (or
1.82 +portions thereof), either on an unmodified basis, with other Modifications, as
1.83 +Covered Software and/or as part of a Larger Work; and
1.84 +(b) under Patent Claims infringed by the making, using, or selling of
1.85 +Modifications made by that Contributor either alone and/or in combination with
1.86 +its Contributor Version (or portions of such combination), to make, use, sell,
1.87 +offer for sale, have made, and/or otherwise dispose of: (1) Modifications made
1.88 +by that Contributor (or portions thereof); and (2) the combination of
1.89 +Modifications made by that Contributor with its Contributor Version (or
1.90 +portions of such combination).
1.91 +(c) The licenses granted in Sections 2.2(a) and 2.2(b) are effective on the
1.92 +date Contributor first distributes or otherwise makes the Modifications
1.93 +available to a third party.
1.94 +(d) Notwithstanding Section 2.2(b) above, no patent license is granted: (1) for
1.95 +any code that Contributor has deleted from the Contributor Version; (2) for
1.96 +infringements caused by: (i) third party modifications of Contributor Version,
1.97 +or (ii) the combination of Modifications made by that Contributor with other
1.98 +software (except as part of the Contributor Version) or other devices; or (3)
1.99 +under Patent Claims infringed by Covered Software in the absence of
1.100 +Modifications made by that Contributor.
1.101 +3. Distribution Obligations.
1.102 +3.1. Availability of Source Code.
1.103 +Any Covered Software that You distribute or otherwise make available in
1.104 +Executable form must also be made available in Source Code form and that Source
1.105 +Code form must be distributed only under the terms of this License. You must
1.106 +include a copy of this License with every copy of the Source Code form of the
1.107 +Covered Software You distribute or otherwise make available. You must inform
1.108 +recipients of any such Covered Software in Executable form as to how they can
1.109 +obtain such Covered Software in Source Code form in a reasonable manner on or
1.110 +through a medium customarily used for software exchange.
1.111 +3.2. Modifications.
1.112 +The Modifications that You create or to which You contribute are governed by
1.113 +the terms of this License. You represent that You believe Your Modifications
1.114 +are Your original creation(s) and/or You have sufficient rights to grant the
1.115 +rights conveyed by this License.
1.116 +3.3. Required Notices.
1.117 +You must include a notice in each of Your Modifications that identifies You as
1.118 +the Contributor of the Modification. You may not remove or alter any copyright,
1.119 +patent or trademark notices contained within the Covered Software, or any
1.120 +notices of licensing or any descriptive text giving attribution to any
1.121 +Contributor or the Initial Developer.
1.122 +3.4. Application of Additional Terms.
1.123 +You may not offer or impose any terms on any Covered Software in Source Code
1.124 +form that alters or restricts the applicable version of this License or the
1.125 +recipients� rights hereunder. You may choose to offer, and to charge a fee
1.126 +for, warranty, support, indemnity or liability obligations to one or more
1.127 +recipients of Covered Software. However, you may do so only on Your own behalf,
1.128 +and not on behalf of the Initial Developer or any Contributor. You must make it
1.129 +absolutely clear that any such warranty, support, indemnity or liability
1.130 +obligation is offered by You alone, and You hereby agree to indemnify the
1.131 +Initial Developer and every Contributor for any liability incurred by the
1.132 +Initial Developer or such Contributor as a result of warranty, support,
1.133 +indemnity or liability terms You offer.
1.134 +3.5. Distribution of Executable Versions.
1.135 +You may distribute the Executable form of the Covered Software under the terms
1.136 +of this License or under the terms of a license of Your choice, which may
1.137 +contain terms different from this License, provided that You are in compliance
1.138 +with the terms of this License and that the license for the Executable form
1.139 +does not attempt to limit or alter the recipient�s rights in the Source Code
1.140 +form from the rights set forth in this License. If You distribute the Covered
1.141 +Software in Executable form under a different license, You must make it
1.142 +absolutely clear that any terms which differ from this License are offered by
1.143 +You alone, not by the Initial Developer or Contributor. You hereby agree to
1.144 +indemnify the Initial Developer and every Contributor for any liability
1.145 +incurred by the Initial Developer or such Contributor as a result of any such
1.146 +terms You offer.
1.147 +3.6. Larger Works.
1.148 +You may create a Larger Work by combining Covered Software with other code not
1.149 +governed by the terms of this License and distribute the Larger Work as a
1.150 +single product. In such a case, You must make sure the requirements of this
1.151 +License are fulfilled for the Covered Software.
1.152 +4. Versions of the License.
1.153 +4.1. New Versions.
1.154 +Oracle Corp. is the initial license steward and may publish revised and/or new
1.155 +versions of this License from time to time. Each version will be given a
1.156 +distinguishing version number. Except as provided in Section 4.3, no one other
1.157 +than the license steward has the right to modify this License.
1.158 +4.2. Effect of New Versions.
1.159 +You may always continue to use, distribute or otherwise make the Covered
1.160 +Software available under the terms of the version of the License under which
1.161 +You originally received the Covered Software. If the Initial Developer includes
1.162 +a notice in the Original Software prohibiting it from being distributed or
1.163 +otherwise made available under any subsequent version of the License, You must
1.164 +distribute and make the Covered Software available under the terms of the
1.165 +version of the License under which You originally received the Covered
1.166 +Software. Otherwise, You may also choose to use, distribute or otherwise make
1.167 +the Covered Software available under the terms of any subsequent version of the
1.168 +License published by the license steward.
1.169 +4.3. Modified Versions.
1.170 +When You are an Initial Developer and You want to create a new license for Your
1.171 +Original Software, You may create and use a modified version of this License if
1.172 +You: (a) rename the license and remove any references to the name of the
1.173 +license steward (except to note that the license differs from this License);
1.174 +and (b) otherwise make it clear that the license contains terms which differ
1.175 +from this License.
1.176 +5. DISCLAIMER OF WARRANTY.
1.177 +COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT
1.178 +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
1.179 +LIMITATION, WARRANTIES THAT THE COVERED SOFTWARE IS FREE OF DEFECTS,
1.180 +MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK
1.181 +AS TO THE QUALITY AND PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD
1.182 +ANY COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL
1.183 +DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING,
1.184 +REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART
1.185 +OF THIS LICENSE. NO USE OF ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT
1.186 +UNDER THIS DISCLAIMER.
1.187 +6. TERMINATION.
1.188 +6.1. This License and the rights granted hereunder will terminate automatically
1.189 +if You fail to comply with terms herein and fail to cure such breach within 30
1.190 +days of becoming aware of the breach. Provisions which, by their nature, must
1.191 +remain in effect beyond the termination of this License shall survive.
1.192 +6.2. If You assert a patent infringement claim (excluding declaratory judgment
1.193 +actions) against Initial Developer or a Contributor (the Initial Developer or
1.194 +Contributor against whom You assert such claim is referred to as "Participant")
1.195 +alleging that the Participant Software (meaning the Contributor Version where
1.196 +the Participant is a Contributor or the Original Software where the Participant
1.197 +is the Initial Developer) directly or indirectly infringes any patent, then any
1.198 +and all rights granted directly or indirectly to You by such Participant, the
1.199 +Initial Developer (if the Initial Developer is not the Participant) and all
1.200 +Contributors under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
1.201 +notice from Participant terminate prospectively and automatically at the
1.202 +expiration of such 60 day notice period, unless if within such 60 day period
1.203 +You withdraw Your claim with respect to the Participant Software against such
1.204 +Participant either unilaterally or pursuant to a written agreement with
1.205 +Participant.
1.206 +6.3. In the event of termination under Sections 6.1 or 6.2 above, all end user
1.207 +licenses that have been validly granted by You or any distributor hereunder
1.208 +prior to termination (excluding licenses granted to You by any distributor)
1.209 +shall survive termination.
1.210 +7. LIMITATION OF LIABILITY.
1.211 +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
1.212 +NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
1.213 +OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED SOFTWARE, OR ANY SUPPLIER OF
1.214 +ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,
1.215 +INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
1.216 +LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
1.217 +FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN
1.218 +IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS
1.219 +LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
1.220 +INJURY RESULTING FROM SUCH PARTY�S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
1.221 +PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
1.222 +LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND
1.223 +LIMITATION MAY NOT APPLY TO YOU.
1.224 +8. U.S. GOVERNMENT END USERS.
1.225 +The Covered Software is a "commercial item," as that term is defined in 48
1.226 +C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" (as that
1.227 +term is defined at 48 C.F.R. �252.227-7014(a)(1)) and "commercial computer
1.228 +software documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
1.229 +1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through
1.230 +227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Software
1.231 +with only those rights set forth herein. This U.S. Government Rights clause is
1.232 +in lieu of, and supersedes, any other FAR, DFAR, or other clause or provision
1.233 +that addresses Government rights in computer software under this License.
1.234 +9. MISCELLANEOUS.
1.235 +This License represents the complete agreement concerning subject matter
1.236 +hereof. If any provision of this License is held to be unenforceable, such
1.237 +provision shall be reformed only to the extent necessary to make it
1.238 +enforceable. This License shall be governed by the law of the jurisdiction
1.239 +specified in a notice contained within the Original Software (except to the
1.240 +extent applicable law, if any, provides otherwise), excluding such
1.241 +jurisdiction�s conflict-of-law provisions. Any litigation relating to this
1.242 +License shall be subject to the jurisdiction of the courts located in the
1.243 +jurisdiction and venue specified in a notice contained within the Original
1.244 +Software, with the losing party responsible for costs, including, without
1.245 +limitation, court costs and reasonable attorneys� fees and expenses. The
1.246 +application of the United Nations Convention on Contracts for the International
1.247 +Sale of Goods is expressly excluded. Any law or regulation which provides that
1.248 +the language of a contract shall be construed against the drafter shall not
1.249 +apply to this License. You agree that You alone are responsible for compliance
1.250 +with the United States export administration regulations (and the export
1.251 +control laws and regulation of any other countries) when You use, distribute or
1.252 +otherwise make available any Covered Software.
1.253 +10. RESPONSIBILITY FOR CLAIMS.
1.254 +As between Initial Developer and the Contributors, each party is responsible
1.255 +for claims and damages arising, directly or indirectly, out of its utilization
1.256 +of rights under this License and You agree to work with Initial Developer and
1.257 +Contributors to distribute such responsibility on an equitable basis. Nothing
1.258 +herein is intended or shall be deemed to constitute any admission of liability.
1.259 +NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
1.260 +(CDDL)
1.261 +The code released under the CDDL shall be governed by the laws of the State of
1.262 +California (excluding conflict-of-law provisions). Any litigation relating to
1.263 +this License shall be subject to the jurisdiction of the Federal Courts of the
1.264 +Northern District of California and the state courts of the State of
1.265 +California, with venue lying in Santa Clara County, California.
1.266 +The GNU General Public License (GPL) Version 2, June 1991
1.267 +
1.268 +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite
1.269 +330, Boston, MA 02111-1307 USA
1.270 +Everyone is permitted to copy and distribute verbatim copies of this license
1.271 +document, but changing it is not allowed.
1.272 +Preamble
1.273 +The licenses for most software are designed to take away your freedom to share
1.274 +and change it. By contrast, the GNU General Public License is intended to
1.275 +guarantee your freedom to share and change free software--to make sure the
1.276 +software is free for all its users. This General Public License applies to most
1.277 +of the Free Software Foundation's software and to any other program whose
1.278 +authors commit to using it. (Some other Free Software Foundation software is
1.279 +covered by the GNU Library General Public License instead.) You can apply it to
1.280 +your programs, too.
1.281 +When we speak of free software, we are referring to freedom, not price. Our
1.282 +General Public Licenses are designed to make sure that you have the freedom to
1.283 +distribute copies of free software (and charge for this service if you wish),
1.284 +that you receive source code or can get it if you want it, that you can change
1.285 +the software or use pieces of it in new free programs; and that you know you
1.286 +can do these things.
1.287 +To protect your rights, we need to make restrictions that forbid anyone to deny
1.288 +you these rights or to ask you to surrender the rights. These restrictions
1.289 +translate to certain responsibilities for you if you distribute copies of the
1.290 +software, or if you modify it.
1.291 +For example, if you distribute copies of such a program, whether gratis or for
1.292 +a fee, you must give the recipients all the rights that you have. You must make
1.293 +sure that they, too, receive or can get the source code. And you must show them
1.294 +these terms so they know their rights.
1.295 +We protect your rights with two steps: (1) copyright the software, and (2)
1.296 +offer you this license which gives you legal permission to copy, distribute
1.297 +and/or modify the software.
1.298 +Also, for each author's protection and ours, we want to make certain that
1.299 +everyone understands that there is no warranty for this free software. If the
1.300 +software is modified by someone else and passed on, we want its recipients to
1.301 +know that what they have is not the original, so that any problems introduced
1.302 +by others will not reflect on the original authors' reputations.
1.303 +Finally, any free program is threatened constantly by software patents. We wish
1.304 +to avoid the danger that redistributors of a free program will individually
1.305 +obtain patent licenses, in effect making the program proprietary. To prevent
1.306 +this, we have made it clear that any patent must be licensed for everyone's
1.307 +free use or not licensed at all.
1.308 +The precise terms and conditions for copying, distribution and modification
1.309 +follow.
1.310 +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1.311 +0. This License applies to any program or other work which contains a notice
1.312 +placed by the copyright holder saying it may be distributed under the terms of
1.313 +this General Public License. The "Program", below, refers to any such program
1.314 +or work, and a "work based on the Program" means either the Program or any
1.315 +derivative work under copyright law: that is to say, a work containing the
1.316 +Program or a portion of it, either verbatim or with modifications and/or
1.317 +translated into another language. (Hereinafter, translation is included without
1.318 +limitation in the term "modification".) Each licensee is addressed as "you".
1.319 +Activities other than copying, distribution and modification are not covered by
1.320 +this License; they are outside its scope. The act of running the Program is not
1.321 +restricted, and the output from the Program is covered only if its contents
1.322 +constitute a work based on the Program (independent of having been made by
1.323 +running the Program). Whether that is true depends on what the Program does.
1.324 +1. You may copy and distribute verbatim copies of the Program's source code as
1.325 +you receive it, in any medium, provided that you conspicuously and
1.326 +appropriately publish on each copy an appropriate copyright notice and
1.327 +disclaimer of warranty; keep intact all the notices that refer to this License
1.328 +and to the absence of any warranty; and give any other recipients of the
1.329 +Program a copy of this License along with the Program.
1.330 +You may charge a fee for the physical act of transferring a copy, and you may
1.331 +at your option offer warranty protection in exchange for a fee.
1.332 +2. You may modify your copy or copies of the Program or any portion of it, thus
1.333 +forming a work based on the Program, and copy and distribute such modifications
1.334 +or work under the terms of Section 1 above, provided that you also meet all of
1.335 +these conditions:
1.336 +a) You must cause the modified files to carry prominent notices stating that
1.337 +you changed the files and the date of any change.
1.338 +b) You must cause any work that you distribute or publish, that in whole or in
1.339 +part contains or is derived from the Program or any part thereof, to be
1.340 +licensed as a whole at no charge to all third parties under the terms of this
1.341 +License.
1.342 +c) If the modified program normally reads commands interactively when run, you
1.343 +must cause it, when started running for such interactive use in the most
1.344 +ordinary way, to print or display an announcement including an appropriate
1.345 +copyright notice and a notice that there is no warranty (or else, saying that
1.346 +you provide a warranty) and that users may redistribute the program under these
1.347 +conditions, and telling the user how to view a copy of this License.
1.348 +(Exception: if the Program itself is interactive but does not normally print
1.349 +such an announcement, your work based on the Program is not required to print
1.350 +an announcement.)
1.351 +These requirements apply to the modified work as a whole. If identifiable
1.352 +sections of that work are not derived from the Program, and can be reasonably
1.353 +considered independent and separate works in themselves, then this License, and
1.354 +its terms, do not apply to those sections when you distribute them as separate
1.355 +works. But when you distribute the same sections as part of a whole which is a
1.356 +work based on the Program, the distribution of the whole must be on the terms
1.357 +of this License, whose permissions for other licensees extend to the entire
1.358 +whole, and thus to each and every part regardless of who wrote it.
1.359 +Thus, it is not the intent of this section to claim rights or contest your
1.360 +rights to work written entirely by you; rather, the intent is to exercise the
1.361 +right to control the distribution of derivative or collective works based on
1.362 +the Program.
1.363 +In addition, mere aggregation of another work not based on the Program with the
1.364 +Program (or with a work based on the Program) on a volume of a storage or
1.365 +distribution medium does not bring the other work under the scope of this
1.366 +License.
1.367 +3. You may copy and distribute the Program (or a work based on it, under
1.368 +Section 2) in object code or executable form under the terms of Sections 1 and
1.369 +2 above provided that you also do one of the following:
1.370 +a) Accompany it with the complete corresponding machine-readable source code,
1.371 +which must be distributed under the terms of Sections 1 and 2 above on a medium
1.372 +customarily used for software interchange; or,
1.373 +b) Accompany it with a written offer, valid for at least three years, to give
1.374 +any third party, for a charge no more than your cost of physically performing
1.375 +source distribution, a complete machine-readable copy of the corresponding
1.376 +source code, to be distributed under the terms of Sections 1 and 2 above on a
1.377 +medium customarily used for software interchange; or,
1.378 +c) Accompany it with the information you received as to the offer to distribute
1.379 +corresponding source code. (This alternative is allowed only for noncommercial
1.380 +distribution and only if you received the program in object code or executable
1.381 +form with such an offer, in accord with Subsection b above.)
1.382 +The source code for a work means the preferred form of the work for making
1.383 +modifications to it. For an executable work, complete source code means all the
1.384 +source code for all modules it contains, plus any associated interface
1.385 +definition files, plus the scripts used to control compilation and installation
1.386 +of the executable. However, as a special exception, the source code distributed
1.387 +need not include anything that is normally distributed (in either source or
1.388 +binary form) with the major components (compiler, kernel, and so on) of the
1.389 +operating system on which the executable runs, unless that component itself
1.390 +accompanies the executable.
1.391 +If distribution of executable or object code is made by offering access to copy
1.392 +from a designated place, then offering equivalent access to copy the source
1.393 +code from the same place counts as distribution of the source code, even though
1.394 +third parties are not compelled to copy the source along with the object code.
1.395 +4. You may not copy, modify, sublicense, or distribute the Program except as
1.396 +expressly provided under this License. Any attempt otherwise to copy, modify,
1.397 +sublicense or distribute the Program is void, and will automatically terminate
1.398 +your rights under this License. However, parties who have received copies, or
1.399 +rights, from you under this License will not have their licenses terminated so
1.400 +long as such parties remain in full compliance.
1.401 +5. You are not required to accept this License, since you have not signed it.
1.402 +However, nothing else grants you permission to modify or distribute the Program
1.403 +or its derivative works. These actions are prohibited by law if you do not
1.404 +accept this License. Therefore, by modifying or distributing the Program (or
1.405 +any work based on the Program), you indicate your acceptance of this License to
1.406 +do so, and all its terms and conditions for copying, distributing or modifying
1.407 +the Program or works based on it.
1.408 +6. Each time you redistribute the Program (or any work based on the Program),
1.409 +the recipient automatically receives a license from the original licensor to
1.410 +copy, distribute or modify the Program subject to these terms and conditions.
1.411 +You may not impose any further restrictions on the recipients' exercise of the
1.412 +rights granted herein. You are not responsible for enforcing compliance by
1.413 +third parties to this License.
1.414 +7. If, as a consequence of a court judgment or allegation of patent
1.415 +infringement or for any other reason (not limited to patent issues), conditions
1.416 +are imposed on you (whether by court order, agreement or otherwise) that
1.417 +contradict the conditions of this License, they do not excuse you from the
1.418 +conditions of this License. If you cannot distribute so as to satisfy
1.419 +simultaneously your obligations under this License and any other pertinent
1.420 +obligations, then as a consequence you may not distribute the Program at all.
1.421 +For example, if a patent license would not permit royalty-free redistribution
1.422 +of the Program by all those who receive copies directly or indirectly through
1.423 +you, then the only way you could satisfy both it and this License would be to
1.424 +refrain entirely from distribution of the Program.
1.425 +If any portion of this section is held invalid or unenforceable under any
1.426 +particular circumstance, the balance of the section is intended to apply and
1.427 +the section as a whole is intended to apply in other circumstances.
1.428 +It is not the purpose of this section to induce you to infringe any patents or
1.429 +other property right claims or to contest validity of any such claims; this
1.430 +section has the sole purpose of protecting the integrity of the free software
1.431 +distribution system, which is implemented by public license practices. Many
1.432 +people have made generous contributions to the wide range of software
1.433 +distributed through that system in reliance on consistent application of that
1.434 +system; it is up to the author/donor to decide if he or she is willing to
1.435 +distribute software through any other system and a licensee cannot impose that
1.436 +choice.
1.437 +This section is intended to make thoroughly clear what is believed to be a
1.438 +consequence of the rest of this License.
1.439 +8. If the distribution and/or use of the Program is restricted in certain
1.440 +countries either by patents or by copyrighted interfaces, the original
1.441 +copyright holder who places the Program under this License may add an explicit
1.442 +geographical distribution limitation excluding those countries, so that
1.443 +distribution is permitted only in or among countries not thus excluded. In such
1.444 +case, this License incorporates the limitation as if written in the body of
1.445 +this License.
1.446 +9. The Free Software Foundation may publish revised and/or new versions of the
1.447 +General Public License from time to time. Such new versions will be similar in
1.448 +spirit to the present version, but may differ in detail to address new problems
1.449 +or concerns.
1.450 +Each version is given a distinguishing version number. If the Program specifies
1.451 +a version number of this License which applies to it and "any later version",
1.452 +you have the option of following the terms and conditions either of that
1.453 +version or of any later version published by the Free Software Foundation. If
1.454 +the Program does not specify a version number of this License, you may choose
1.455 +any version ever published by the Free Software Foundation.
1.456 +10. If you wish to incorporate parts of the Program into other free programs
1.457 +whose distribution conditions are different, write to the author to ask for
1.458 +permission. For software which is copyrighted by the Free Software Foundation,
1.459 +write to the Free Software Foundation; we sometimes make exceptions for this.
1.460 +Our decision will be guided by the two goals of preserving the free status of
1.461 +all derivatives of our free software and of promoting the sharing and reuse of
1.462 +software generally.
1.463 +NO WARRANTY
1.464 +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
1.465 +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
1.466 +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
1.467 +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
1.468 +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
1.469 +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
1.470 +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU
1.471 +ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1.472 +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
1.473 +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
1.474 +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1.475 +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
1.476 +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
1.477 +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1.478 +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
1.479 +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
1.480 +END OF TERMS AND CONDITIONS
1.481 +How to Apply These Terms to Your New Programs
1.482 +If you develop a new program, and you want it to be of the greatest possible
1.483 +use to the public, the best way to achieve this is to make it free software
1.484 +which everyone can redistribute and change under these terms.
1.485 +To do so, attach the following notices to the program. It is safest to attach
1.486 +them to the start of each source file to most effectively convey the exclusion
1.487 +of warranty; and each file should have at least the "copyright" line and a
1.488 +pointer to where the full notice is found.
1.489 +One line to give the program's name and a brief idea of what it does.
1.490 +Copyright (C)
1.491 +This program is free software; you can redistribute it and/or modify it under
1.492 +the terms of the GNU General Public License as published by the Free Software
1.493 +Foundation; either version 2 of the License, or (at your option) any later
1.494 +version.
1.495 +This program is distributed in the hope that it will be useful, but WITHOUT ANY
1.496 +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1.497 +PARTICULAR PURPOSE. See the GNU General Public License for more details.
1.498 +You should have received a copy of the GNU General Public License along with
1.499 +this program; if not, write to the Free Software Foundation, Inc., 59 Temple
1.500 +Place, Suite 330, Boston, MA 02111-1307 USA
1.501 +Also add information on how to contact you by electronic and paper mail.
1.502 +If the program is interactive, make it output a short notice like this when it
1.503 +starts in an interactive mode:
1.504 +Gnomovision version 69, Copyright (C) year name of author
1.505 +Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This
1.506 +is free software, and you are welcome to redistribute it under certain
1.507 +conditions; type `show c' for details.
1.508 +The hypothetical commands `show w' and `show c' should show the appropriate
1.509 +parts of the General Public License. Of course, the commands you use may be
1.510 +called something other than `show w' and `show c'; they could even be
1.511 +mouse-clicks or menu items--whatever suits your program.
1.512 +You should also get your employer (if you work as a programmer) or your school,
1.513 +if any, to sign a "copyright disclaimer" for the program, if necessary. Here is
1.514 +a sample; alter the names:
1.515 +Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1.516 +`Gnomovision' (which makes passes at compilers) written by James Hacker.
1.517 +signature of Ty Coon, 1 April 1989
1.518 +Ty Coon, President of Vice
1.519 +This General Public License does not permit incorporating your program into
1.520 +proprietary programs. If your program is a subroutine library, you may consider
1.521 +it more useful to permit linking proprietary applications with the library. If
1.522 +this is what you want to do, use the GNU Library General Public License instead
1.523 +of this License.
1.524 +"CLASSPATH" EXCEPTION TO THE GPL VERSION 2
1.525 +Certain source files distributed by Oracle America, Inc. and/or its affiliates
1.526 +are subject to the following clarification and special exception to the GPLv2,
1.527 +based on the GNU Project exception for its Classpath libraries, known as the
1.528 +GNU Classpath Exception, but only where Oracle has expressly included in the
1.529 +particular source file's header the words "Oracle designates this particular
1.530 +file as subject to the "Classpath" exception as provided by Oracle in the
1.531 +LICENSE file that accompanied this code."
1.532 +You should also note that Oracle includes multiple, independent programs in
1.533 +this software package. Some of those programs are provided under licenses
1.534 +deemed incompatible with the GPLv2 by the Free Software Foundation and others.
1.535 +For example, the package includes programs licensed under the Apache License,
1.536 +Version 2.0. Such programs are licensed to you under their original licenses.
1.537 +Oracle facilitates your further distribution of this package by adding the
1.538 +Classpath Exception to the necessary parts of its GPLv2 code, which permits you
1.539 +to use that code in combination with other independent modules not licensed
1.540 +under the GPLv2. However, note that this would not permit you to commingle code
1.541 +under an incompatible license with Oracle's GPLv2 licensed code by, for
1.542 +example, cutting and pasting such code into a file also containing Oracle's
1.543 +GPLv2 licensed code and then distributing the result.
1.544 +Additionally, if you were to remove the Classpath Exception from any of the
1.545 +files to which it applies and distribute the result, you would likely be
1.546 +required to license some or all of the other code in that distribution under
1.547 +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms
1.548 +of some items included in the distribution by Oracle, removing the Classpath
1.549 +Exception could therefore effectively compromise your ability to further
1.550 +distribute the package.
1.551 +Proceed with caution and we recommend that you obtain the advice of a lawyer
1.552 +skilled in open source matters before removing the Classpath Exception or
1.553 +making modifications to this package which may subsequently be redistributed
1.554 +and/or involve the use of third party software.
1.555 +CLASSPATH EXCEPTION
1.556 +Linking this library statically or dynamically with other modules is making a
1.557 +combined work based on this library. Thus, the terms and conditions of the GNU
1.558 +General Public License version 2 cover the whole combination.
1.559 +As a special exception, the copyright holders of this library give you
1.560 +permission to link this library with independent modules to produce an
1.561 +executable, regardless of the license terms of these independent modules, and
1.562 +to copy and distribute the resulting executable under terms of your choice,
1.563 +provided that you also meet, for each linked independent module, the terms and
1.564 +conditions of the license of that module. An independent module is a module
1.565 +which is not derived from or based on this library. If you modify this library,
1.566 +you may extend this exception to your version of the library, but you are not
1.567 +obligated to do so. If you do not wish to do so, delete this exception
1.568 +statement from your version.