mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 23:30:55 +03:00
Some cleanup
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package com.hierynomus.sshj.backport;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class JavaVersion {
|
||||
public static boolean isJava7OrEarlier() {
|
||||
String property = System.getProperty("java.specification.version");
|
||||
|
||||
@@ -89,7 +89,7 @@ public class SFTPClient
|
||||
|
||||
public void mkdirs(String path)
|
||||
throws IOException {
|
||||
final Deque<String> dirsToMake = new LinkedList<String>();
|
||||
final Deque<String> dirsToMake = new LinkedList<>();
|
||||
for (PathComponents current = engine.getPathHelper().getComponents(path); ;
|
||||
current = engine.getPathHelper().getComponents(current.getParent())) {
|
||||
final FileAttributes attrs = statExistence(current.getPath());
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
|
||||
<logger name="org.apache.sshd.server" level="debug" />
|
||||
<logger name="net.schmizz.sshj" level="debug"/>
|
||||
<logger name="net.schmizz.sshj.transport" level="trace" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user