This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 277b530338 Improved: Update sshd dependency and implementation 
(OFBIZ-12612)
277b530338 is described below

commit 277b530338dca03f4313c34a0dbb04cd7fc8d97d
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Tue May 10 10:39:37 2022 +0200

    Improved: Update sshd dependency and implementation (OFBIZ-12612)
    
    Adds missing ASL2 license header
---
 .../apache/ofbiz/content/ftp/SshClientHelper.java  | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git 
a/applications/content/src/main/java/org/apache/ofbiz/content/ftp/SshClientHelper.java
 
b/applications/content/src/main/java/org/apache/ofbiz/content/ftp/SshClientHelper.java
index 1b93116192..5d3e803863 100644
--- 
a/applications/content/src/main/java/org/apache/ofbiz/content/ftp/SshClientHelper.java
+++ 
b/applications/content/src/main/java/org/apache/ofbiz/content/ftp/SshClientHelper.java
@@ -1,5 +1,25 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ 
*******************************************************************************/
 package org.apache.ofbiz.content.ftp;
 
+import java.util.ArrayList;
+
 import org.apache.sshd.client.ClientBuilder;
 import org.apache.sshd.client.SshClient;
 import org.apache.sshd.client.config.keys.ClientIdentityLoader;
@@ -7,8 +27,6 @@ import org.apache.sshd.common.NamedFactory;
 import org.apache.sshd.common.kex.BuiltinDHFactories;
 import org.apache.sshd.common.signature.BuiltinSignatures;
 
-import java.util.ArrayList;
-
 public abstract class SshClientHelper {
 
     private static SshClient client = null;

Reply via email to