Skip to content

Commit 610fdef

Browse files
committed
summarize license first thing
1 parent ca4a669 commit 610fdef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

IntelliJ/src/main/java/com/nuix/javaenginesimple/LicenseFilter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ public void acquireAnyLicense() {
4747
* @return True if all requirements met, false if any requirement has not been met.
4848
*/
4949
public boolean isValid(AvailableLicence license) {
50+
logger.info("Checking License: "+LicenseFeaturesLogger.summarizeLicense(license));
51+
5052
// A license of this type will throw a null pointer exception due to it having a null workers value
5153
if(license.getShortName().equalsIgnoreCase("server")) {
52-
logger.info("!!! Ignoring 'Nuix Server' license as we cannot claim it for our needs...");
54+
logger.info("!!! Ignoring 'Nuix Server' license as we cannot make use of it...");
5355
return false;
5456
}
5557

56-
logger.info("Checking License: "+LicenseFeaturesLogger.summarizeLicense(license));
57-
5858
int workerCount = ((LicenceProperties)license).getWorkers();
5959

6060
// Verify the minimum worker count

0 commit comments

Comments
 (0)