CAMEL-10560, to able to access new method getSubmittedFileName() (is not in datasource interface) change class's visibility
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4b60f7cb Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4b60f7cb Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4b60f7cb Branch: refs/heads/master Commit: 4b60f7cbb3f2519deb721b84ffaa3c1dad3ad34d Parents: 23cf005 Author: Fabrizio Spataro <fabrizio.spat...@bizmate.it> Authored: Fri Dec 9 12:52:55 2016 +0100 Committer: Fabrizio Spataro <fabrizio.spat...@bizmate.it> Committed: Fri Dec 9 12:52:55 2016 +0100 ---------------------------------------------------------------------- .../apache/camel/component/servlet/AttachmentHttpBinding.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/4b60f7cb/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java ---------------------------------------------------------------------- diff --git a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java index f9598fd..dd2ba36 100644 --- a/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java +++ b/components/camel-servlet/src/main/java/org/apache/camel/component/servlet/AttachmentHttpBinding.java @@ -35,7 +35,7 @@ import org.apache.camel.impl.DefaultAttachment; * <p/> * This implementation is needed to deal with attachments when using Servlet. */ -final class AttachmentHttpBinding extends DefaultHttpBinding { +public final class AttachmentHttpBinding extends DefaultHttpBinding { AttachmentHttpBinding() { } @@ -59,7 +59,7 @@ final class AttachmentHttpBinding extends DefaultHttpBinding { } } - final class PartDataSource implements DataSource { + public final class PartDataSource implements DataSource { private final Part part; PartDataSource(Part part) {