Skip to content

Commit 853dd91

Browse files
dependabot[bot]lukaszlenartclaude
authored
build(deps): bump org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0 (#1512)
* build(deps): bump org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0 Bumps org.apache.juneau:juneau-marshall from 8.1.3 to 9.2.0. --- updated-dependencies: - dependency-name: org.apache.juneau:juneau-marshall dependency-version: 9.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix(rest): update JuneauXmlHandler for Juneau 9.x API compatibility Replace deprecated builder() method with copy() to fix compilation error after juneau-marshall upgrade from 8.1.3 to 9.2.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Lukasz Lenart <lukaszlenart@apache.org> Co-authored-by: Claude <noreply@anthropic.com>
1 parent fb5ac9e commit 853dd91

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

plugins/rest/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<dependency>
5959
<groupId>org.apache.juneau</groupId>
6060
<artifactId>juneau-marshall</artifactId>
61-
<version>8.1.3</version>
61+
<version>9.2.0</version>
6262
<optional>true</optional>
6363
</dependency>
6464

plugins/rest/src/main/java/org/apache/struts2/rest/handler/JuneauXmlHandler.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public String fromObject(ActionInvocation invocation, Object obj, String resultC
6262
LOG.debug("Converting an object of {} into string", obj.getClass().getName());
6363
try {
6464
serializer
65-
.builder()
66-
.locale(invocation.getInvocationContext().getLocale())
67-
.build()
68-
.serialize(obj, stream);
65+
.copy()
66+
.locale(invocation.getInvocationContext().getLocale())
67+
.build()
68+
.serialize(obj, stream);
6969
return null;
7070
} catch (SerializeException e) {
7171
throw new IOException(e);

0 commit comments

Comments
 (0)