Roberto Sánchez
2014-02-24 3ef2ddd5cb1ee57317ffb757aceb86355a612a17
src/main/java/net/curisit/securis/LicenseManager.java
....@@ -38,9 +38,7 @@
3838 * </p>
3939 *
4040 * @param licFile
41
- * @param appCode
42
- * @param customerCode
43
- * @return
41
+ * @return The license bean stored in file
4442 * @throws SeCurisException
4543 */
4644 public LicenseBean validateLicense(File licFile) throws SeCurisException {
....@@ -58,7 +56,7 @@
5856 }
5957
6058 /**
61
- * Creates a new request file with current hardware in the File passed as paramter
59
+ * Creates a new request file with current hardware in the File passed as parameter
6260 *
6361 * @param outputRequestFile
6462 * File where the request data will be saved
....@@ -83,6 +81,8 @@
8381 */
8482 public LicenseBean sync(File licenseFile) throws SeCurisException {
8583 LicenseBean lic = validateLicense(licenseFile);
84
+ if (true)
85
+ throw new SeCurisException("Action not implemented yet");
8686 // TODO: Send the current LicenseBean to server to check if a new one is prepared.
8787 return lic;
8888 }