rsanchez
2014-10-22 ffc60638fba7475b4cb6a863aa8f27c7e5a9b059
src/main/java/net/curisit/securis/LicenseManager.java
....@@ -147,7 +147,7 @@
147147 public void save(SignedLicenseBean signedLic, File file) throws SeCurisException {
148148 byte[] json;
149149 try {
150
- json = JsonUtils.toJSON(signedLic, true).getBytes("utf-8");
150
+ json = JsonUtils.toPrettyJSON(signedLic).getBytes("utf-8");
151151 Files.write(Paths.get(file.toURI()), json, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
152152 } catch (UnsupportedEncodingException e) {
153153 LOG.error("Error creating json doc from license: " + signedLic, e);