Finish FixIsValidConnection
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -120,12 +120,12 @@ public class SettingsModel implements InitializingBean {
|
|||||||
|
|
||||||
public boolean isValidConnection(String profileName) {
|
public boolean isValidConnection(String profileName) {
|
||||||
return this.getAvailableConnections()
|
return this.getAvailableConnections()
|
||||||
.stream().anyMatch(availableConnectionsModel -> availableConnectionsModel.getProfileName().equals(profileName));
|
.stream().anyMatch(availableConnectionsModel -> availableConnectionsModel.getProfileName().equalsIgnoreCase(profileName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isValidConnection(String profileName, boolean onlyInternal) {
|
public boolean isValidConnection(String profileName, boolean onlyInternal) {
|
||||||
return this.getAvailableConnections(onlyInternal)
|
return this.getAvailableConnections(onlyInternal)
|
||||||
.stream().anyMatch(availableConnectionsModel -> availableConnectionsModel.getProfileName().equals(profileName));
|
.stream().anyMatch(availableConnectionsModel -> availableConnectionsModel.getProfileName().equalsIgnoreCase(profileName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public MailConfigurationModel getDefaultMailConfiguration() {
|
public MailConfigurationModel getDefaultMailConfiguration() {
|
||||||
|
|||||||
Reference in New Issue
Block a user