This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6ff60e3b0c4 CAMEL-20714 Added public no-arg constructor for
SourceCache (#13903)
6ff60e3b0c4 is described below
commit 6ff60e3b0c451426b778ee0bae3b11acf71622dd
Author: Dmitry Kryukov <[email protected]>
AuthorDate: Wed Apr 24 22:15:31 2024 +0300
CAMEL-20714 Added public no-arg constructor for SourceCache (#13903)
---
.../src/main/java/org/apache/camel/util/xml/SourceCache.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/core/camel-xml-jaxp/src/main/java/org/apache/camel/util/xml/SourceCache.java
b/core/camel-xml-jaxp/src/main/java/org/apache/camel/util/xml/SourceCache.java
index 67a67a1b2eb..c32f4fc4938 100644
---
a/core/camel-xml-jaxp/src/main/java/org/apache/camel/util/xml/SourceCache.java
+++
b/core/camel-xml-jaxp/src/main/java/org/apache/camel/util/xml/SourceCache.java
@@ -40,6 +40,10 @@ public final class SourceCache extends StringSource
implements StreamCache {
this.length = data.length();
}
+ public SourceCache() {
+ throw new IllegalStateException();
+ }
+
@Override
public void reset() {
// do nothing here