Skip to content

Commit 342ed18

Browse files
authored
Merge branch 'master' into dependabot/maven/org.apache.derby-derby-10.17.1.0
2 parents 5203f7d + 80a8b77 commit 342ed18

File tree

167 files changed

+19484
-19432
lines changed

Some content is hidden

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

167 files changed

+19484
-19432
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ dependency-reduced-pom.xml
99
nb-configuration.xml
1010
nbactions*.xml
1111
.checkstyle
12+
.vscode
1213

openjpa-all/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>org.apache.openjpa</groupId>
3030
<artifactId>openjpa-parent</artifactId>
31-
<version>4.0.0-SNAPSHOT</version>
31+
<version>4.0.1-SNAPSHOT</version>
3232
</parent>
3333

3434
<artifactId>openjpa-all</artifactId>

openjpa-examples/image-gallery/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<parent>
2828
<groupId>org.apache.openjpa</groupId>
2929
<artifactId>openjpa-examples</artifactId>
30-
<version>4.0.0-SNAPSHOT</version>
30+
<version>4.0.1-SNAPSHOT</version>
3131
</parent>
3232

3333
<groupId>org.apache.openjpa.openjpa-examples</groupId>

openjpa-examples/openbooks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<parent>
3030
<groupId>org.apache.openjpa</groupId>
3131
<artifactId>openjpa-examples</artifactId>
32-
<version>4.0.0-SNAPSHOT</version>
32+
<version>4.0.1-SNAPSHOT</version>
3333
</parent>
3434

3535
<groupId>org.apache.openjpa.openjpa-examples</groupId>

openjpa-examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>org.apache.openjpa</groupId>
3030
<artifactId>openjpa-parent</artifactId>
31-
<version>4.0.0-SNAPSHOT</version>
31+
<version>4.0.1-SNAPSHOT</version>
3232
</parent>
3333

3434
<artifactId>openjpa-examples</artifactId>

openjpa-examples/simple/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>org.apache.openjpa</groupId>
3030
<artifactId>openjpa-examples</artifactId>
31-
<version>4.0.0-SNAPSHOT</version>
31+
<version>4.0.1-SNAPSHOT</version>
3232
</parent>
3333

3434
<groupId>org.apache.openjpa.openjpa-examples</groupId>

openjpa-features/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<groupId>org.apache.openjpa</groupId>
2020
<artifactId>openjpa-parent</artifactId>
21-
<version>4.0.0-SNAPSHOT</version>
21+
<version>4.0.1-SNAPSHOT</version>
2222
</parent>
2323

2424
<artifactId>openjpa-features</artifactId>
@@ -27,6 +27,13 @@
2727

2828
<build>
2929
<plugins>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-javadoc-plugin</artifactId>
33+
<configuration>
34+
<skip>true</skip>
35+
</configuration>
36+
</plugin>
3037
<plugin>
3138
<groupId>org.apache.karaf.tooling</groupId>
3239
<artifactId>karaf-maven-plugin</artifactId>

openjpa-integration/daytrader/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<parent>
2828
<groupId>org.apache.openjpa</groupId>
2929
<artifactId>openjpa-integration</artifactId>
30-
<version>4.0.0-SNAPSHOT</version>
30+
<version>4.0.1-SNAPSHOT</version>
3131
</parent>
3232

3333
<artifactId>openjpa-integration-daytrader</artifactId>

openjpa-integration/examples/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<parent>
3838
<groupId>org.apache.openjpa</groupId>
3939
<artifactId>openjpa-integration</artifactId>
40-
<version>4.0.0-SNAPSHOT</version>
40+
<version>4.0.1-SNAPSHOT</version>
4141
</parent>
4242

4343
<artifactId>openjpa-integration-examples</artifactId>

openjpa-integration/jmx/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>org.apache.openjpa</groupId>
3030
<artifactId>openjpa-integration</artifactId>
31-
<version>4.0.0-SNAPSHOT</version>
31+
<version>4.0.1-SNAPSHOT</version>
3232
</parent>
3333

3434
<artifactId>openjpa-integration-jmx</artifactId>

openjpa-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<parent>
2929
<groupId>org.apache.openjpa</groupId>
3030
<artifactId>openjpa-parent</artifactId>
31-
<version>4.0.0-SNAPSHOT</version>
31+
<version>4.0.1-SNAPSHOT</version>
3232
</parent>
3333

3434
<artifactId>openjpa-integration</artifactId>

openjpa-integration/slf4j/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<parent>
2828
<groupId>org.apache.openjpa</groupId>
2929
<artifactId>openjpa-integration</artifactId>
30-
<version>4.0.0-SNAPSHOT</version>
30+
<version>4.0.1-SNAPSHOT</version>
3131
</parent>
3232

3333
<artifactId>openjpa-integration-slf4j</artifactId>

openjpa-integration/tck/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<parent>
7979
<groupId>org.apache.openjpa</groupId>
8080
<artifactId>openjpa-integration</artifactId>
81-
<version>4.0.0-SNAPSHOT</version>
81+
<version>4.0.1-SNAPSHOT</version>
8282
</parent>
8383

8484
<artifactId>openjpa-integration-tck</artifactId>

openjpa-integration/validation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<parent>
2828
<groupId>org.apache.openjpa</groupId>
2929
<artifactId>openjpa-integration</artifactId>
30-
<version>4.0.0-SNAPSHOT</version>
30+
<version>4.0.1-SNAPSHOT</version>
3131
</parent>
3232

3333
<artifactId>openjpa-integration-validation</artifactId>

openjpa-jdbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<parent>
2828
<groupId>org.apache.openjpa</groupId>
2929
<artifactId>openjpa-parent</artifactId>
30-
<version>4.0.0-SNAPSHOT</version>
30+
<version>4.0.1-SNAPSHOT</version>
3131
</parent>
3232

3333
<artifactId>openjpa-jdbc</artifactId>
Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
1-
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one
3-
* or more contributor license agreements. See the NOTICE file
4-
* distributed with this work for additional information
5-
* regarding copyright ownership. The ASF licenses this file
6-
* to you under the Apache License, Version 2.0 (the
7-
* "License"); you may not use this file except in compliance
8-
* with the License. You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing,
13-
* software distributed under the License is distributed on an
14-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15-
* KIND, either express or implied. See the License for the
16-
* specific language governing permissions and limitations
17-
* under the License.
18-
*/
19-
package org.apache.openjpa.jdbc.kernel.exps;
20-
21-
/**
22-
* OPENJPA-1794
23-
* An aggregate unary operation that can indicate whether a null value from the data store
24-
* should be returned as null.
25-
*/
26-
public abstract class NullableAggregateUnaryOp extends UnaryOp {
27-
private static final long serialVersionUID = 1L;
28-
29-
public NullableAggregateUnaryOp(Val val) {
30-
super(val);
31-
}
32-
33-
public NullableAggregateUnaryOp(Val val, boolean noParen) {
34-
super(val, noParen);
35-
}
36-
37-
@Override
38-
protected boolean nullableValue(ExpContext ctx, ExpState state) {
39-
// If this is a simple operator (no joins involved), check compatibility to determine
40-
// whether 'null' should be returned for the aggregate operation
41-
if (ctx != null && ctx.store != null && (state.joins == null || state.joins.isEmpty())) {
42-
return ctx.store.getConfiguration().getCompatibilityInstance().getReturnNullOnEmptyAggregateResult();
43-
}
44-
return false;
45-
}
46-
}
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package org.apache.openjpa.jdbc.kernel.exps;
20+
21+
/**
22+
* OPENJPA-1794
23+
* An aggregate unary operation that can indicate whether a null value from the data store
24+
* should be returned as null.
25+
*/
26+
public abstract class NullableAggregateUnaryOp extends UnaryOp {
27+
private static final long serialVersionUID = 1L;
28+
29+
public NullableAggregateUnaryOp(Val val) {
30+
super(val);
31+
}
32+
33+
public NullableAggregateUnaryOp(Val val, boolean noParen) {
34+
super(val, noParen);
35+
}
36+
37+
@Override
38+
protected boolean nullableValue(ExpContext ctx, ExpState state) {
39+
// If this is a simple operator (no joins involved), check compatibility to determine
40+
// whether 'null' should be returned for the aggregate operation
41+
if (ctx != null && ctx.store != null && (state.joins == null || state.joins.isEmpty())) {
42+
return ctx.store.getConfiguration().getCompatibilityInstance().getReturnNullOnEmptyAggregateResult();
43+
}
44+
return false;
45+
}
46+
}

0 commit comments

Comments
 (0)