Roberto Sánchez
2014-09-18 a4b1e4c32927208e92ca9895fa780e18051d3932
src/main/java/net/curisit/securis/LicenseManager.java
....@@ -25,7 +25,7 @@
2525 */
2626 public class LicenseManager {
2727
28
- private static final Logger log = LogManager.getLogger(License.class);
28
+ private static final Logger LOG = LogManager.getLogger(License.class);
2929
3030 private static LicenseManager singleton = new LicenseManager();
3131
....@@ -109,14 +109,14 @@
109109 json = JsonUtils.toJSON(signedLic, true).getBytes("utf-8");
110110 Files.write(Paths.get(file.toURI()), json, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
111111 } catch (UnsupportedEncodingException e) {
112
- log.error("Error creating json doc from license: " + license, e);
112
+ LOG.error("Error creating json doc from license: " + license, e);
113113 throw new SeCurisException("Error creating json doc from license: " + license, e);
114114 } catch (IOException e) {
115
- log.error("Error creating license file: " + file, e);
115
+ LOG.error("Error creating license file: " + file, e);
116116 throw new SeCurisException("Error creating json doc from license: " + license, e);
117117 }
118118
119
- log.debug("License saved in {}", file);
119
+ LOG.debug("License saved in {}", file);
120120
121121 }
122122