mirror of
https://github.com/apache/struts.git
synced 2026-08-06 15:17:00 +00:00
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>
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.juneau</groupId>
|
||||
<artifactId>juneau-marshall</artifactId>
|
||||
<version>8.1.3</version>
|
||||
<version>9.2.0</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
|
||||
@@ -62,10 +62,10 @@ public class JuneauXmlHandler implements ContentTypeHandler {
|
||||
LOG.debug("Converting an object of {} into string", obj.getClass().getName());
|
||||
try {
|
||||
serializer
|
||||
.builder()
|
||||
.locale(invocation.getInvocationContext().getLocale())
|
||||
.build()
|
||||
.serialize(obj, stream);
|
||||
.copy()
|
||||
.locale(invocation.getInvocationContext().getLocale())
|
||||
.build()
|
||||
.serialize(obj, stream);
|
||||
return null;
|
||||
} catch (SerializeException e) {
|
||||
throw new IOException(e);
|
||||
|
||||
Reference in New Issue
Block a user