From 3fbd863fcb58bed7c1ed1a047170a536e73f7a36 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Sat, 3 Jan 2015 11:44:36 -0500 Subject: [PATCH] INT-3592: Fix (S)FTP Gateway CTOR Visibility JIRA: https://jira.spring.io/browse/INT-3592 CTORs were incorrectly `private` which is ok for XML configuration, but not for DSL/Java Config. --- .../integration/ftp/gateway/FtpOutboundGateway.java | 4 ++-- .../integration/sftp/gateway/SftpOutboundGateway.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java b/spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java index e878cf211e..0a80125af6 100644 --- a/spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java +++ b/spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ public class FtpOutboundGateway extends AbstractRemoteFileOutboundGateway remoteFileTemplate, String command, String expression) { + public FtpOutboundGateway(RemoteFileTemplate remoteFileTemplate, String command, String expression) { super(remoteFileTemplate, command, expression); } diff --git a/spring-integration-sftp/src/main/java/org/springframework/integration/sftp/gateway/SftpOutboundGateway.java b/spring-integration-sftp/src/main/java/org/springframework/integration/sftp/gateway/SftpOutboundGateway.java index 21585ee28f..9648eb02d9 100644 --- a/spring-integration-sftp/src/main/java/org/springframework/integration/sftp/gateway/SftpOutboundGateway.java +++ b/spring-integration-sftp/src/main/java/org/springframework/integration/sftp/gateway/SftpOutboundGateway.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ public class SftpOutboundGateway extends AbstractRemoteFileOutboundGateway remoteFileTemplate, String command, String expression) { + public SftpOutboundGateway(RemoteFileTemplate remoteFileTemplate, String command, String expression) { super(remoteFileTemplate, command, expression); }