Roberto Sánchez
2014-09-18 ca4f38f1305667758c2c2e90b45cd19bdb532721
src/main/java/net/curisit/securis/LicenseManager.java
....@@ -88,8 +88,9 @@
8888 */
8989 public LicenseBean requestLicense() throws SeCurisException {
9090 RequestBean req = ReqGenerator.getInstance().createRequest(Params.get(Params.KEYS.APPLICATION_CODE), Params.get(Params.KEYS.CUSTOMER_CODE));
91
- if (true)
91
+ if (true) {
9292 throw new SeCurisException("Action not implemented yet");
93
+ }
9394 LicenseBean lic = requestLicenseToServer(req);
9495 return lic;
9596 }
....@@ -150,8 +151,9 @@
150151 */
151152 public LicenseBean renew(File licenseFile) throws SeCurisException {
152153 LicenseBean lic = validateLicense(licenseFile);
153
- if (true)
154
+ if (true) {
154155 throw new SeCurisException("Action not implemented yet");
156
+ }
155157 // TODO: Send the current LicenseBean to server to check if a new one is prepared.
156158 return lic;
157159 }