Skip to content

Commit 48d4ad2

Browse files
authored
chore: Updating License Headers (#231)
- Consistency and being explicit that added files are under GPLv2. - Modifications clause explicit for any added changes to existing files.
1 parent 0621156 commit 48d4ad2

File tree

91 files changed

+1990
-1600
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1990
-1600
lines changed

build.gradle.kts

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
/*
2-
* AWS JDBC Driver for MySQL
3-
* Copyright Amazon.com Inc. or affiliates.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it under
6-
* the terms of the GNU General Public License, version 2.0, as published by the
7-
* Free Software Foundation.
8-
*
9-
* This program is also distributed with certain software (including but not
10-
* limited to OpenSSL) that is licensed under separate terms, as designated in a
11-
* particular file or component or in included license documentation. The
12-
* authors of this program hereby grant you an additional permission to link the
13-
* program and your derivative works with the separately licensed software that
14-
* they have included with MySQL.
15-
*
16-
* Without limiting anything contained in the foregoing, this file, which is
17-
* part of this connector, is also subject to the Universal FOSS Exception,
18-
* version 1.0, a copy of which can be found at
19-
* http://oss.oracle.com/licenses/universal-foss-exception.
20-
*
21-
* This program is distributed in the hope that it will be useful, but WITHOUT
22-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
23-
* FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
24-
* for more details.
25-
*
26-
* You should have received a copy of the GNU General Public License along with
27-
* this program; if not, write to the Free Software Foundation, Inc.,
28-
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29-
*/
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License, version 2.0
6+
* (GPLv2), as published by the Free Software Foundation, with the
7+
* following additional permissions:
8+
*
9+
* This program is distributed with certain software that is licensed
10+
* under separate terms, as designated in a particular file or component
11+
* or in the license documentation. Without limiting your rights under
12+
* the GPLv2, the authors of this program hereby grant you an additional
13+
* permission to link the program and your derivative works with the
14+
* separately licensed software that they have included with the program.
15+
*
16+
* Without limiting the foregoing grant of rights under the GPLv2 and
17+
* additional permission as to separately licensed software, this
18+
* program is also subject to the Universal FOSS Exception, version 1.0,
19+
* a copy of which can be found along with its FAQ at
20+
* http://oss.oracle.com/licenses/universal-foss-exception.
21+
*
22+
* This program is distributed in the hope that it will be useful, but
23+
* WITHOUT ANY WARRANTY; without even the implied warranty of
24+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25+
* See the GNU General Public License, version 2.0, for more details.
26+
*
27+
* You should have received a copy of the GNU General Public License
28+
* along with this program. If not, see
29+
* http://www.gnu.org/licenses/gpl-2.0.html.
30+
*/
3031

3132
import org.apache.tools.ant.filters.ReplaceTokens
3233

gradle.properties

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
12
#
2-
# AWS JDBC Driver for MySQL
3-
# Copyright 2020 Amazon.com Inc. or affiliates.
3+
# This program is free software; you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License, version 2.0
5+
# (GPLv2), as published by the Free Software Foundation, with the
6+
# following additional permissions:
47
#
5-
# This program is free software; you can redistribute it and/or modify it under
6-
# the terms of the GNU General Public License, version 2.0, as published by the
7-
# Free Software Foundation.
8+
# This program is distributed with certain software that is licensed
9+
# under separate terms, as designated in a particular file or component
10+
# or in the license documentation. Without limiting your rights under
11+
# the GPLv2, the authors of this program hereby grant you an additional
12+
# permission to link the program and your derivative works with the
13+
# separately licensed software that they have included with the program.
814
#
9-
# This program is also distributed with certain software (including but not
10-
# limited to OpenSSL) that is licensed under separate terms, as designated in a
11-
# particular file or component or in included license documentation. The
12-
# authors of MySQL hereby grant you an additional permission to link the
13-
# program and your derivative works with the separately licensed software that
14-
# they have included with MySQL.
15-
#
16-
# Without limiting anything contained in the foregoing, this file, which is
17-
# part of this connector, is also subject to the Universal FOSS Exception,
18-
# version 1.0, a copy of which can be found at
15+
# Without limiting the foregoing grant of rights under the GPLv2 and
16+
# additional permission as to separately licensed software, this
17+
# program is also subject to the Universal FOSS Exception, version 1.0,
18+
# a copy of which can be found along with its FAQ at
1919
# http://oss.oracle.com/licenses/universal-foss-exception.
2020
#
21-
# This program is distributed in the hope that it will be useful, but WITHOUT
22-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
23-
# FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
24-
# for more details.
25-
#
26-
# You should have received a copy of the GNU General Public License along with
27-
# this program; if not, write to the Free Software Foundation, Inc.,
28-
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21+
# This program is distributed in the hope that it will be useful, but
22+
# WITHOUT ANY WARRANTY; without even the implied warranty of
23+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24+
# See the GNU General Public License, version 2.0, for more details.
2925
#
26+
# You should have received a copy of the GNU General Public License
27+
# along with this program. If not, see
28+
# http://www.gnu.org/licenses/gpl-2.0.html.
3029

3130
# Plugins
3231
com.github.autostyle.version=3.1

settings.gradle.kts

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
/*
2-
* AWS JDBC Driver for MySQL
3-
* Copyright Amazon.com Inc. or affiliates.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it under
6-
* the terms of the GNU General Public License, version 2.0, as published by the
7-
* Free Software Foundation.
8-
*
9-
* This program is also distributed with certain software (including but not
10-
* limited to OpenSSL) that is licensed under separate terms, as designated in a
11-
* particular file or component or in included license documentation. The
12-
* authors of this program hereby grant you an additional permission to link the
13-
* program and your derivative works with the separately licensed software that
14-
* they have included with MySQL.
15-
*
16-
* Without limiting anything contained in the foregoing, this file, which is
17-
* part of this connector, is also subject to the Universal FOSS Exception,
18-
* version 1.0, a copy of which can be found at
19-
* http://oss.oracle.com/licenses/universal-foss-exception.
20-
*
21-
* This program is distributed in the hope that it will be useful, but WITHOUT
22-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
23-
* FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
24-
* for more details.
25-
*
26-
* You should have received a copy of the GNU General Public License along with
27-
* this program; if not, write to the Free Software Foundation, Inc.,
28-
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29-
*/
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License, version 2.0
6+
* (GPLv2), as published by the Free Software Foundation, with the
7+
* following additional permissions:
8+
*
9+
* This program is distributed with certain software that is licensed
10+
* under separate terms, as designated in a particular file or component
11+
* or in the license documentation. Without limiting your rights under
12+
* the GPLv2, the authors of this program hereby grant you an additional
13+
* permission to link the program and your derivative works with the
14+
* separately licensed software that they have included with the program.
15+
*
16+
* Without limiting the foregoing grant of rights under the GPLv2 and
17+
* additional permission as to separately licensed software, this
18+
* program is also subject to the Universal FOSS Exception, version 1.0,
19+
* a copy of which can be found along with its FAQ at
20+
* http://oss.oracle.com/licenses/universal-foss-exception.
21+
*
22+
* This program is distributed in the hope that it will be useful, but
23+
* WITHOUT ANY WARRANTY; without even the implied warranty of
24+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25+
* See the GNU General Public License, version 2.0, for more details.
26+
*
27+
* You should have received a copy of the GNU General Public License
28+
* along with this program. If not, see
29+
* http://www.gnu.org/licenses/gpl-2.0.html.
30+
*/
3031

3132
rootProject.name = "aws-mysql-jdbc"
3233

src/demo/java/customplugins/ExecutionTimeConnectionPlugin.java

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
/*
2-
* AWS JDBC Driver for MySQL
3-
* Copyright Amazon.com Inc. or affiliates.
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
*
5-
* Redistribution and use in source and binary forms, with or without modification,
6-
* are permitted provided that the following conditions are met:
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License, version 2.0
6+
* (GPLv2), as published by the Free Software Foundation, with the
7+
* following additional permissions:
78
*
8-
* 1. Redistributions of source code must retain the above copyright notice,
9-
* this list of conditions and the following disclaimer.
9+
* This program is distributed with certain software that is licensed
10+
* under separate terms, as designated in a particular file or component
11+
* or in the license documentation. Without limiting your rights under
12+
* the GPLv2, the authors of this program hereby grant you an additional
13+
* permission to link the program and your derivative works with the
14+
* separately licensed software that they have included with the program.
1015
*
11-
* 2. Redistributions in binary form must reproduce the above copyright notice,
12-
* this list of conditions and the following disclaimer in the documentation and/or
13-
* other materials provided with the distribution.
16+
* Without limiting the foregoing grant of rights under the GPLv2 and
17+
* additional permission as to separately licensed software, this
18+
* program is also subject to the Universal FOSS Exception, version 1.0,
19+
* a copy of which can be found along with its FAQ at
20+
* http://oss.oracle.com/licenses/universal-foss-exception.
1421
*
15-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
16-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
18-
* SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19-
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20-
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
* This program is distributed in the hope that it will be useful, but
23+
* WITHOUT ANY WARRANTY; without even the implied warranty of
24+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25+
* See the GNU General Public License, version 2.0, for more details.
2426
*
27+
* You should have received a copy of the GNU General Public License
28+
* along with this program. If not, see
29+
* http://www.gnu.org/licenses/gpl-2.0.html.
2530
*/
2631

2732
package customplugins;

src/demo/java/customplugins/ExecutionTimeConnectionPluginFactory.java

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
/*
2-
* AWS JDBC Driver for MySQL
3-
* Copyright Amazon.com Inc. or affiliates.
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
*
5-
* Redistribution and use in source and binary forms, with or without modification,
6-
* are permitted provided that the following conditions are met:
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License, version 2.0
6+
* (GPLv2), as published by the Free Software Foundation, with the
7+
* following additional permissions:
78
*
8-
* 1. Redistributions of source code must retain the above copyright notice,
9-
* this list of conditions and the following disclaimer.
9+
* This program is distributed with certain software that is licensed
10+
* under separate terms, as designated in a particular file or component
11+
* or in the license documentation. Without limiting your rights under
12+
* the GPLv2, the authors of this program hereby grant you an additional
13+
* permission to link the program and your derivative works with the
14+
* separately licensed software that they have included with the program.
1015
*
11-
* 2. Redistributions in binary form must reproduce the above copyright notice,
12-
* this list of conditions and the following disclaimer in the documentation and/or
13-
* other materials provided with the distribution.
16+
* Without limiting the foregoing grant of rights under the GPLv2 and
17+
* additional permission as to separately licensed software, this
18+
* program is also subject to the Universal FOSS Exception, version 1.0,
19+
* a copy of which can be found along with its FAQ at
20+
* http://oss.oracle.com/licenses/universal-foss-exception.
1421
*
15-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
16-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
18-
* SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19-
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20-
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
* This program is distributed in the hope that it will be useful, but
23+
* WITHOUT ANY WARRANTY; without even the implied warranty of
24+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25+
* See the GNU General Public License, version 2.0, for more details.
2426
*
27+
* You should have received a copy of the GNU General Public License
28+
* along with this program. If not, see
29+
* http://www.gnu.org/licenses/gpl-2.0.html.
2530
*/
2631

2732
package customplugins;

src/demo/java/customplugins/MethodCountConnectionPlugin.java

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
/*
2-
* AWS JDBC Driver for MySQL
3-
* Copyright Amazon.com Inc. or affiliates.
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
43
*
5-
* Redistribution and use in source and binary forms, with or without modification,
6-
* are permitted provided that the following conditions are met:
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License, version 2.0
6+
* (GPLv2), as published by the Free Software Foundation, with the
7+
* following additional permissions:
78
*
8-
* 1. Redistributions of source code must retain the above copyright notice,
9-
* this list of conditions and the following disclaimer.
9+
* This program is distributed with certain software that is licensed
10+
* under separate terms, as designated in a particular file or component
11+
* or in the license documentation. Without limiting your rights under
12+
* the GPLv2, the authors of this program hereby grant you an additional
13+
* permission to link the program and your derivative works with the
14+
* separately licensed software that they have included with the program.
1015
*
11-
* 2. Redistributions in binary form must reproduce the above copyright notice,
12-
* this list of conditions and the following disclaimer in the documentation and/or
13-
* other materials provided with the distribution.
16+
* Without limiting the foregoing grant of rights under the GPLv2 and
17+
* additional permission as to separately licensed software, this
18+
* program is also subject to the Universal FOSS Exception, version 1.0,
19+
* a copy of which can be found along with its FAQ at
20+
* http://oss.oracle.com/licenses/universal-foss-exception.
1421
*
15-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
16-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17-
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
18-
* SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
19-
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20-
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23-
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22+
* This program is distributed in the hope that it will be useful, but
23+
* WITHOUT ANY WARRANTY; without even the implied warranty of
24+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25+
* See the GNU General Public License, version 2.0, for more details.
2426
*
27+
* You should have received a copy of the GNU General Public License
28+
* along with this program. If not, see
29+
* http://www.gnu.org/licenses/gpl-2.0.html.
2530
*/
2631

2732
package customplugins;

0 commit comments

Comments
 (0)