[#160] Removed unnecessary Slf4j loggers

fixes #160
This commit is contained in:
Marcin Grzejszczak
2016-02-18 11:23:09 +01:00
parent cf6f629663
commit c0620c410c
16 changed files with 69 additions and 68 deletions

View File

@@ -16,7 +16,8 @@
package sample;
import org.slf4j.Logger;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.embedded.EmbeddedServletContainerInitializedEvent;
import org.springframework.context.ApplicationListener;
@@ -31,8 +32,7 @@ import org.springframework.web.client.RestTemplate;
*/
@MessageEndpoint public class SampleService implements
ApplicationListener<EmbeddedServletContainerInitializedEvent> {
private static final Logger log = org.slf4j.LoggerFactory
.getLogger(SampleService.class);
private static final Log log = LogFactory.getLog(SampleService.class);
@Autowired private RestTemplate restTemplate;
private int port;

View File

@@ -16,7 +16,8 @@
package sample;
import org.slf4j.Logger;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.integration.annotation.MessageEndpoint;
import org.springframework.integration.annotation.ServiceActivator;
@@ -29,8 +30,7 @@ import org.springframework.messaging.Message;
@MessageEndpoint
public class SampleTransformer {
private static final Logger log = org.slf4j.LoggerFactory
.getLogger(SampleTransformer.class);
private static final Log log = LogFactory.getLog(SampleTransformer.class);
@Autowired
SampleBackground background;