Skip to content

Commit e275bf9

Browse files
committed
Merge change-license-header
2 parents 6347776 + b90234f commit e275bf9

File tree

556 files changed

+4406
-5083
lines changed

Some content is hidden

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

556 files changed

+4406
-5083
lines changed

pom.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,13 @@
135135
<plugin>
136136
<groupId>org.codehaus.mojo</groupId>
137137
<artifactId>license-maven-plugin</artifactId>
138-
<version>1.6</version>
138+
<version>1.17</version>
139139
<configuration>
140140
<verbose>false</verbose>
141141
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
142142
<canUpdateDescription>false</canUpdateDescription>
143+
<licenseName>dual_lgpl_ap2</licenseName>
144+
<licenseResolver>${project.baseUri}/src/license</licenseResolver>
143145
</configuration>
144146
<executions>
145147
<execution>
@@ -148,12 +150,6 @@
148150
<goal>update-file-header</goal>
149151
</goals>
150152
<phase>process-sources</phase>
151-
<configuration>
152-
<licenseName>lgpl_v2_1</licenseName>
153-
<roots>
154-
<root>src/main/java</root>
155-
</roots>
156-
</configuration>
157153
</execution>
158154
</executions>
159155
</plugin>
@@ -401,7 +397,7 @@
401397
<module name="RedundantImport" />
402398
<module name="UnusedImports" />
403399

404-
<module name="WhitespaceAfter" />
400+
<module name="WhitespaceAfter" />
405401

406402
<module name="NeedBraces" />
407403
<module name="UnnecessaryParentheses" />

src/license/dual_lgpl_ap2/header.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dual licensed under GNU LGPL 2.1 or Apache License 2.0

src/license/dual_lgpl_ap2/license.txt

Lines changed: 710 additions & 0 deletions
Large diffs are not rendered by default.

src/license/licenses.properties

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
###
2+
# #%L
3+
# JSQLParser library
4+
# %%
5+
# Copyright (C) 2004 - 2019 JSQLParser
6+
# %%
7+
# Dual licensed under GNU LGPL 2.1 or Apache License 2.0
8+
# #L%
9+
###
10+
dual_lgpl_ap2=Dual License GNU LGPL 2.1 or Apache License 2.0

src/main/java/net/sf/jsqlparser/JSQLParserException.java

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,16 @@
1-
/*
1+
/*-
22
* #%L
33
* JSQLParser library
44
* %%
5-
* Copyright (C) 2004 - 2013 JSQLParser
5+
* Copyright (C) 2004 - 2019 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser;
2311

24-
/**
25-
* An exception class with stack trace informations
26-
*/
2712
public class JSQLParserException extends Exception {
2813

29-
/* The serial class version */
3014
private static final long serialVersionUID = -1099039459759769980L;
3115
private Throwable cause = null;
3216

src/main/java/net/sf/jsqlparser/expression/Alias.java

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,14 @@
1-
/*
1+
/*-
22
* #%L
33
* JSQLParser library
44
* %%
5-
* Copyright (C) 2004 - 2014 JSQLParser
5+
* Copyright (C) 2004 - 2019 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;
2311

24-
/**
25-
*
26-
* @author toben
27-
*/
2812
public class Alias {
2913

3014
private String name;

src/main/java/net/sf/jsqlparser/expression/AllComparisonExpression.java

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
1-
/*
1+
/*-
22
* #%L
33
* JSQLParser library
44
* %%
5-
* Copyright (C) 2004 - 2013 JSQLParser
5+
* Copyright (C) 2004 - 2019 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;

src/main/java/net/sf/jsqlparser/expression/AnalyticExpression.java

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
1-
/*
1+
/*-
22
* #%L
33
* JSQLParser library
44
* %%
5-
* Copyright (C) 2004 - 2013 JSQLParser
5+
* Copyright (C) 2004 - 2019 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;
@@ -27,14 +15,6 @@
2715
import java.util.List;
2816
import net.sf.jsqlparser.expression.operators.relational.ExpressionList;
2917

30-
/**
31-
* Analytic function. The name of the function is variable but the parameters following the special
32-
* analytic function path. e.g. row_number() over (order by test). Additional there can be an
33-
* expression for an analytical aggregate like sum(col) or the "all collumns" wildcard like
34-
* count(*).
35-
*
36-
* @author tw
37-
*/
3818
public class AnalyticExpression extends ASTNodeAccessImpl implements Expression {
3919

4020
private final OrderByClause orderBy = new OrderByClause();

src/main/java/net/sf/jsqlparser/expression/AnalyticType.java

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,14 @@
1-
/*
1+
/*-
22
* #%L
33
* JSQLParser library
44
* %%
5-
* Copyright (C) 2004 - 2017 JSQLParser
5+
* Copyright (C) 2004 - 2019 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
22-
/*
23-
* Copyright (C) 2017 JSQLParser.
24-
*
25-
* This library is free software; you can redistribute it and/or
26-
* modify it under the terms of the GNU Lesser General Public
27-
* License as published by the Free Software Foundation; either
28-
* version 2.1 of the License, or (at your option) any later version.
29-
*
30-
* This library is distributed in the hope that it will be useful,
31-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
32-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33-
* Lesser General Public License for more details.
34-
*
35-
* You should have received a copy of the GNU Lesser General Public
36-
* License along with this library; if not, write to the Free Software
37-
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
38-
* MA 02110-1301 USA
39-
*/
4010
package net.sf.jsqlparser.expression;
4111

42-
/**
43-
*
44-
* @author Tobias Warneke ([email protected])
45-
*/
4612
public enum AnalyticType {
4713
OVER,
4814
WITHIN_GROUP

src/main/java/net/sf/jsqlparser/expression/AnyComparisonExpression.java

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,17 @@
1-
/*
1+
/*-
22
* #%L
33
* JSQLParser library
44
* %%
5-
* Copyright (C) 2004 - 2013 JSQLParser
5+
* Copyright (C) 2004 - 2019 JSQLParser
66
* %%
7-
* This program is free software: you can redistribute it and/or modify
8-
* it under the terms of the GNU Lesser General Public License as
9-
* published by the Free Software Foundation, either version 2.1 of the
10-
* License, or (at your option) any later version.
11-
*
12-
* This program is distributed in the hope that it will be useful,
13-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
* GNU General Lesser Public License for more details.
16-
*
17-
* You should have received a copy of the GNU General Lesser Public
18-
* License along with this program. If not, see
19-
* <http://www.gnu.org/licenses/lgpl-2.1.html>.
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
208
* #L%
219
*/
2210
package net.sf.jsqlparser.expression;
2311

2412
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2513
import net.sf.jsqlparser.statement.select.SubSelect;
2614

27-
/**
28-
* Combines ANY and SOME expressions.
29-
*
30-
* @author toben
31-
*/
3215
public class AnyComparisonExpression extends ASTNodeAccessImpl implements Expression {
3316

3417
private final SubSelect subSelect;

0 commit comments

Comments
 (0)