private boolean validateLicenseKey(final String licenseKey){
  return licenseKey != null && licenseKey.length() == LICENSE_KEY_LENGTH;
}

private boolean validateLicenseKey ( final String licenseKey ) { return licenseKey != null && licenseKey . length ( ) == LICENSE_KEY_LENGTH ; }
validates license key lenght .
