Skip to content

Commit 64767f2

Browse files
authored
Update to JavaParser 3.26.4
2 parents b1e90b5 + 7634e20 commit 64767f2

File tree

68 files changed

+942
-526
lines changed

Some content is hidden

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

68 files changed

+942
-526
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.java text eol=lf

.github/workflows/create_github_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4.1.7
16+
uses: actions/checkout@v4.2.2
1717

1818
- name: Create Release
1919
id: create_release

.github/workflows/formatting_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- name: Checkout latest code
34-
uses: actions/checkout@v4.1.7
34+
uses: actions/checkout@v4.2.2
3535
with:
3636
fetch-depth: "0"
3737
- name: Set up JDK 11
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout latest code
50-
uses: actions/checkout@v4.1.7
50+
uses: actions/checkout@v4.2.2
5151
with:
5252
fetch-depth: "0"
5353
- name: Set up JDK 11

.github/workflows/maven_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
steps:
6060
## Checkout the current version of the code from the repo.
6161
- name: Checkout latest code
62-
uses: actions/checkout@v4.1.7
62+
uses: actions/checkout@v4.2.2
6363
with:
6464
fetch-depth: "0"
6565

@@ -98,7 +98,7 @@ jobs:
9898

9999

100100
- name: CodeCov - JavaParser Core
101-
uses: codecov/codecov-action@v4.5.0
101+
uses: codecov/codecov-action@v5.4.0
102102
timeout-minutes: 10
103103
with:
104104
files: javaparser-core-testing/target/site/jacoco/jacoco.xml,javaparser-core-testing-bdd/target/site/jacoco/jacoco.xml
@@ -108,7 +108,7 @@ jobs:
108108
env_vars: OS,JDK
109109

110110
- name: CodeCov - JavaParser Symbol Solver
111-
uses: codecov/codecov-action@v4.5.0
111+
uses: codecov/codecov-action@v5.4.0
112112
timeout-minutes: 10
113113
with:
114114
file: javaparser-symbol-solver-testing/target/site/jacoco/jacoco.xml

.github/workflows/prepare_release_changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
# Check out current repository
1717
- name: Fetch Sources
18-
uses: actions/checkout@v4.1.7
18+
uses: actions/checkout@v4.2.2
1919

2020
# Setup Java 11 environment for the next steps
2121
- name: Setup Java

changelog.md

Lines changed: 79 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
Next Release (Version 3.26.3-snapshot)
2+
Next Release (Version 3.26.5-snapshot)
33
--------------------------------------
4-
[issues resolved](https://github.com/javaparser/javaparser/milestone/210?closed=1)
4+
[issues resolved](https://github.com/javaparser/javaparser/milestone/212?closed=1)
55

66
### Added
77
### Changed
@@ -10,6 +10,83 @@ Next Release (Version 3.26.3-snapshot)
1010
### Fixed
1111
### Security
1212

13+
Next Release (Version 3.26.4)
14+
----------------------------
15+
[issues resolved](https://github.com/javaparser/javaparser/milestone/211?closed=1)
16+
17+
### Developer Changes
18+
19+
* fix(deps): update byte-buddy.version to v1.17.5 (PR [#4702](https://github.com/javaparser/javaparser/pull/4702) by [@renovate[bot]](https://github.com/apps/renovate))
20+
* chore(deps): update dependency com.puppycrawl.tools:checkstyle to v10.22.0 (PR [#4700](https://github.com/javaparser/javaparser/pull/4700) by [@renovate[bot]](https://github.com/apps/renovate))
21+
* chore(deps): update dependency org.apache.maven.plugins:maven-install-plugin to v3.1.4 (PR [#4689](https://github.com/javaparser/javaparser/pull/4689) by [@renovate[bot]](https://github.com/apps/renovate))
22+
* chore(deps): update codecov/codecov-action action to v5.4.0 (PR [#4688](https://github.com/javaparser/javaparser/pull/4688) by [@renovate[bot]](https://github.com/apps/renovate))
23+
* chore(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3.1.4 (PR [#4687](https://github.com/javaparser/javaparser/pull/4687) by [@renovate[bot]](https://github.com/apps/renovate))
24+
* chore(deps): update dependency com.diffplug.spotless:spotless-maven-plugin to v2.44.3 (PR [#4682](https://github.com/javaparser/javaparser/pull/4682) by [@renovate[bot]](https://github.com/apps/renovate))
25+
* chore(deps): update dependency org.apache.maven.plugins:maven-clean-plugin to v3.4.1 (PR [#4681](https://github.com/javaparser/javaparser/pull/4681) by [@renovate[bot]](https://github.com/apps/renovate))
26+
* chore(deps): update dependency org.assertj:assertj-core to v3.27.2 (PR [#4644](https://github.com/javaparser/javaparser/pull/4644) by [@renovate[bot]](https://github.com/apps/renovate))
27+
* fix(deps): update dependency com.google.guava:guava to v33.4.0-jre (PR [#4637](https://github.com/javaparser/javaparser/pull/4637) by [@renovate[bot]](https://github.com/apps/renovate))
28+
29+
### Uncategorised
30+
31+
* Fix: issue 4554 Import added through CompilationUnit.addImport should not have a range (PR [#4693](https://github.com/javaparser/javaparser/pull/4693) by [@jlerbsc](https://github.com/jlerbsc))
32+
* Improving documentation on SwithEntry (PR [#4685](https://github.com/javaparser/javaparser/pull/4685) by [@jlerbsc](https://github.com/jlerbsc))
33+
* Fix issue 4670 LexicalPreservingPrinter removed incorect token when removing modifier of a Parameter with annotations (PR [#4674](https://github.com/javaparser/javaparser/pull/4674) by [@jlerbsc](https://github.com/jlerbsc))
34+
* Fix: issue 4668 Issue with FieldAccessExpr resolving for custom class (PR [#4671](https://github.com/javaparser/javaparser/pull/4671) by [@jlerbsc](https://github.com/jlerbsc))
35+
* #4664 remove misleading javadoc (PR [#4666](https://github.com/javaparser/javaparser/pull/4666) by [@verhasi](https://github.com/verhasi))
36+
* #4653 use report-aggregate of jacoco instead of report to use the dep… (PR [#4658](https://github.com/javaparser/javaparser/pull/4658) by [@verhasi](https://github.com/verhasi))
37+
38+
### :heart: Contributors
39+
40+
Thank You to all contributors who worked on this release!
41+
42+
* [@jlerbsc](https://github.com/jlerbsc)
43+
* [@verhasi](https://github.com/verhasi)
44+
45+
Version 3.26.3
46+
--------------
47+
[issues resolved](https://github.com/javaparser/javaparser/milestone/210?closed=1)
48+
49+
### Changed
50+
51+
* Fixes #4599 making B.class for testing non-empty (PR [#4600](https://github.com/javaparser/javaparser/pull/4600) by [@JiriOndrusek](https://github.com/JiriOndrusek))
52+
53+
### Fixed
54+
55+
* Fix: issue 3990 Local Enum and Interface (Java 16) (PR [#4626](https://github.com/javaparser/javaparser/pull/4626) by [@jlerbsc](https://github.com/jlerbsc))
56+
* Fix bug in `VisitorSet.toString()` (PR [#4615](https://github.com/javaparser/javaparser/pull/4615) by [@Laughh](https://github.com/Laughh))
57+
* Fix issue #4607: don't forget to clone guard when cloning stmt.SwitchEntry (PR [#4608](https://github.com/javaparser/javaparser/pull/4608) by [@DaniilSuchkov](https://github.com/DaniilSuchkov))
58+
* Fixed return within void method (PR [#4587](https://github.com/javaparser/javaparser/pull/4587) by [@Universe-E](https://github.com/Universe-E))
59+
* Fix: issue 4579 Switch expr and var incompatibility (PR [#4581](https://github.com/javaparser/javaparser/pull/4581) by [@jlerbsc](https://github.com/jlerbsc))
60+
* Fix: issue 4568 Resolution of ObjectCreationExprs broken (PR [#4577](https://github.com/javaparser/javaparser/pull/4577) by [@jlerbsc](https://github.com/jlerbsc))
61+
* Fix issue 4560 Does not solve String.format on multiline strings (PR [#4561](https://github.com/javaparser/javaparser/pull/4561) by [@jlerbsc](https://github.com/jlerbsc))
62+
63+
64+
### Developer Changes
65+
66+
* fix(deps): update byte-buddy.version to v1.15.11 (PR [#4635](https://github.com/javaparser/javaparser/pull/4635) by [@renovate[bot]](https://github.com/apps/renovate))
67+
* chore(deps): update codecov/codecov-action action to v5.1.0 (PR [#4629](https://github.com/javaparser/javaparser/pull/4629) by [@renovate[bot]](https://github.com/apps/renovate))
68+
* chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.11.1 (PR [#4605](https://github.com/javaparser/javaparser/pull/4605) by [@renovate[bot]](https://github.com/apps/renovate))
69+
* chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 (PR [#4604](https://github.com/javaparser/javaparser/pull/4604) by [@renovate[bot]](https://github.com/apps/renovate))
70+
* chore(deps): update actions/checkout action to v4.2.2 (PR [#4594](https://github.com/javaparser/javaparser/pull/4594) by [@renovate[bot]](https://github.com/apps/renovate))
71+
* chore(deps): update junit5 monorepo to v5.11.3 (PR [#4589](https://github.com/javaparser/javaparser/pull/4589) by [@renovate[bot]](https://github.com/apps/renovate))
72+
* fix(deps): update dependency net.bytebuddy:byte-buddy-agent to v1.15.5 (PR [#4586](https://github.com/javaparser/javaparser/pull/4586) by [@renovate[bot]](https://github.com/apps/renovate))
73+
* fix(deps): update dependency com.google.guava:guava to v33.3.1-jre (PR [#4558](https://github.com/javaparser/javaparser/pull/4558) by [@renovate[bot]](https://github.com/apps/renovate))
74+
* chore(deps): update dependency org.hamcrest:hamcrest to v3 (PR [#4510](https://github.com/javaparser/javaparser/pull/4510) by [@renovate[bot]](https://github.com/apps/renovate))
75+
76+
### Uncategorised
77+
78+
79+
### :heart: Contributors
80+
81+
Thank You to all contributors who worked on this release!
82+
83+
* [@DaniilSuchkov](https://github.com/DaniilSuchkov)
84+
* [@JiriOndrusek](https://github.com/JiriOndrusek)
85+
* [@jlerbsc](https://github.com/jlerbsc)
86+
* [@Universe-E](https://github.com/Universe-E)
87+
* [@Laughh](https://github.com/Laughh)
88+
89+
1390
Version 3.26.2
1491
--------------
1592
[issues resolved](https://github.com/javaparser/javaparser/milestone/209?closed=1)

javaparser-core-generators/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>javaparser-parent</artifactId>
55
<groupId>com.github.javaparser</groupId>
6-
<version>3.26.2</version>
6+
<version>3.26.4</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99

javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/other/TokenKindGenerator.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ public void generate() {
9292

9393
private void generateValueOfEntry(SwitchStmt valueOfSwitch, String name, IntegerLiteralExpr kind) {
9494
final SwitchEntry entry = new SwitchEntry(
95-
new NodeList<>(kind), SwitchEntry.Type.STATEMENT_GROUP, new NodeList<>(new ReturnStmt(name)), false);
95+
new NodeList<>(kind),
96+
SwitchEntry.Type.STATEMENT_GROUP,
97+
new NodeList<>(new ReturnStmt(name)),
98+
false,
99+
null);
96100
valueOfSwitch.getEntries().addFirst(entry);
97101
}
98102

javaparser-core-generators/src/test/resources/com/github/javaparser/generator/core/quality/NotNullGeneratorTest/expected/ConstructorParameterWithSuperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import com.github.javaparser.quality.NotNull;
21
/*
32
* Copyright (C) 2007-2010 Júlio Vilmar Gesser.
43
* Copyright (C) 2011, 2013-2021 The JavaParser Team.
@@ -19,6 +18,7 @@
1918
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2019
* GNU Lesser General Public License for more details.
2120
*/
21+
import com.github.javaparser.quality.NotNull;
2222
import com.github.javaparser.quality.Preconditions;
2323

2424
class A {

javaparser-core-metamodel-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>javaparser-parent</artifactId>
55
<groupId>com.github.javaparser</groupId>
6-
<version>3.26.2</version>
6+
<version>3.26.4</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99

0 commit comments

Comments
 (0)