Some cleanup

This commit is contained in:
Jeroen van Erp
2016-04-11 15:05:54 +02:00
parent b01eccda4a
commit cd3b0a5bd6
3 changed files with 2 additions and 3 deletions

View File

@@ -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");

View File

@@ -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());

View File

@@ -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" />