Roberto Sánchez
2014-09-18 a4b1e4c32927208e92ca9895fa780e18051d3932
src/main/java/net/curisit/securis/utils/LicUtils.java
....@@ -9,7 +9,7 @@
99
1010 public class LicUtils {
1111
12
- private static final Logger log = LogManager.getLogger(LicUtils.class);
12
+ private static final Logger LOG = LogManager.getLogger(LicUtils.class);
1313
1414 public static String md5(String str) {
1515 try {
....@@ -18,7 +18,7 @@
1818 BigInteger i = new BigInteger(1, mDigest.digest());
1919 return String.format("%1$032x", i);
2020 } catch (NoSuchAlgorithmException e) {
21
- log.error("Error generating MD5 for string: " + str, e);
21
+ LOG.error("Error generating MD5 for string: " + str, e);
2222 }
2323 return null;
2424 }
....@@ -34,7 +34,7 @@
3434 BigInteger i = new BigInteger(1, mDigest.digest());
3535 return String.format("%1$064x", i);
3636 } catch (NoSuchAlgorithmException e) {
37
- log.error("Error generating SHA-256 for bytes: " + bytes, e);
37
+ LOG.error("Error generating SHA-256 for bytes: " + bytes, e);
3838 }
3939 return null;
4040 }
....@@ -48,7 +48,7 @@
4848 BigInteger i = new BigInteger(1, mDigest.digest());
4949 return String.format("%1$064x", i);
5050 } catch (NoSuchAlgorithmException e) {
51
- log.error("Error generating SHA-256 for bytes: " + bytes, e);
51
+ LOG.error("Error generating SHA-256 for bytes: " + bytes, e);
5252 }
5353 return null;
5454 }