String alertName = notification.getFieldValue("alertName");
String alertText = notification.getFieldValue("alertText");
String alertLevel = notification.getFieldValue("alertLevel");
- boolean isNewAlert = Boolean.valueOf(notification.getFieldValue("isNewAlert"));
+ boolean isNewAlert = Boolean.parseBoolean(notification.getFieldValue("isNewAlert"));
// Generate text
String subject = generateSubject(projectName, alertLevel, isNewAlert);
}
@VisibleForTesting
- protected void logServerId(Logger logger) {
+ void logServerId(Logger logger) {
PropertyDto serverIdProp = propertiesDao.selectGlobalProperty(CoreProperties.PERMANENT_SERVER_ID);
if (serverIdProp != null) {
// a server ID has been generated, let's print out the other useful informations that can help debugging license issues