Removed unnecessary DefaultLoggerFactory inner class from DefaultConfig

Fixed license header in LoggerFactory.java (via gradle licenseForamat)
This commit is contained in:
David Solin
2016-08-24 07:34:01 -05:00
parent cf5830eda5
commit 6579f6f710
2 changed files with 1 additions and 19 deletions

View File

@@ -85,24 +85,6 @@ public class DefaultConfig
setKeepAliveProvider(KeepAliveProvider.HEARTBEAT); setKeepAliveProvider(KeepAliveProvider.HEARTBEAT);
} }
/**
* Default SLF4J-based implementation of the SSHJ LoggerFactory.
*/
public static class DefaultLoggerFactory implements LoggerFactory {
private DefaultLoggerFactory() {
}
@Override
public Logger getLogger(String name) {
return org.slf4j.LoggerFactory.getLogger(name);
}
@Override
public Logger getLogger(Class<?> clazz) {
return org.slf4j.LoggerFactory.getLogger(clazz);
}
}
@Override @Override
public void setLoggerFactory(LoggerFactory loggerFactory) { public void setLoggerFactory(LoggerFactory loggerFactory) {
super.setLoggerFactory(loggerFactory); super.setLoggerFactory(loggerFactory);

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C)2016 - SSHJ Contributors * Copyright (C)2009 - SSHJ Contributors
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.