From 410503e25d9b723d3010583560f9523564b737f7 Mon Sep 17 00:00:00 2001 From: radekg Date: Sun, 12 Apr 2015 00:03:04 +0200 Subject: [PATCH] Remove any logging dependency from core. --- pom.xml | 24 +------------------ .../gossiperl/client/encryption/Aes256.java | 4 ++-- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index 23a7968..8e879d1 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.gossiperl gossiperl-core - 2.0.0 + 2.1.0 jar @@ -15,8 +15,6 @@ 3.0 2.7 4.12 - 1.7.7 - 1.2.16 @@ -56,26 +54,6 @@ junit ${junit.version} - - org.slf4j - slf4j-api - ${slf4j-api.version} - - - org.slf4j - jcl-over-slf4j - ${slf4j-api.version} - - - org.slf4j - slf4j-log4j12 - ${slf4j-api.version} - - - log4j - log4j - ${log4j.version} - \ No newline at end of file diff --git a/src/main/java/com/gossiperl/client/encryption/Aes256.java b/src/main/java/com/gossiperl/client/encryption/Aes256.java index b6b32f6..fecd08d 100644 --- a/src/main/java/com/gossiperl/client/encryption/Aes256.java +++ b/src/main/java/com/gossiperl/client/encryption/Aes256.java @@ -1,6 +1,7 @@ package com.gossiperl.client.encryption; -import org.apache.log4j.Logger; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import javax.crypto.*; import javax.crypto.spec.IvParameterSpec; @@ -11,7 +12,6 @@ public class Aes256 { private SecretKeySpec key; - private static Logger LOG = Logger.getLogger(Aes256.class); public Aes256(String key) throws NoSuchAlgorithmException, UnsupportedEncodingException { MessageDigest md = MessageDigest.getInstance("SHA-256");