Merged 5.1.N (5.1.2) to 5.2.N (5.2.1)

125817 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2)
      125673 abalmus: MNT-15421 : Intermittent failure SubsystemsTest.testAbstractPropertyBackedBean_performEarlyPropertyChecks_PortEarlyPropertyChecker
         - Fixed intermittently failing test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andreea Dragoi
2016-04-27 12:22:40 +00:00
parent 30a63154fb
commit 4278099cea
2 changed files with 19 additions and 4 deletions

View File

@@ -116,7 +116,7 @@ public class PortEarlyPropertyChecker implements SubsystemEarlyPropertyChecker
{
try
{
PortUtil.checkPort(portNumber, host);
checkPort(portNumber, host);
}
catch (IOException ioe)
{
@@ -164,7 +164,7 @@ public class PortEarlyPropertyChecker implements SubsystemEarlyPropertyChecker
{
try
{
PortUtil.checkPort(portNumber, host);
checkPort(portNumber, host);
}
catch (IOException ioe)
{
@@ -223,6 +223,11 @@ public class PortEarlyPropertyChecker implements SubsystemEarlyPropertyChecker
}
}
protected void checkPort(int portNumber, String host) throws IOException
{
PortUtil.checkPort(portNumber, host);
}
private String appendToErrorString(String stringToAppendTo, String separator, String valueToAppend)
{
if (!stringToAppendTo.equals(""))