qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject svn commit: r1463148 - /qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/model/adapter/PortFactory.java
Date Mon, 01 Apr 2013 14:35:22 GMT
Author: robbie
Date: Mon Apr  1 14:35:22 2013
New Revision: 1463148

URL: http://svn.apache.org/r1463148
Log:
QPID-4657, QPID-4683: really going all out on the spelling fixes :P

Modified:
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/model/adapter/PortFactory.java

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/model/adapter/PortFactory.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/model/adapter/PortFactory.java?rev=1463148&r1=1463147&r2=1463148&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/model/adapter/PortFactory.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/model/adapter/PortFactory.java
Mon Apr  1 14:35:22 2013
@@ -113,7 +113,7 @@ public class PortFactory
 
             if(useClientAuth && !port.getTransports().contains(Transport.SSL))
             {
-                throw new IllegalConfigurationException("Can't create port which requests
SSL client certificates but doesnt use SSL transport.");
+                throw new IllegalConfigurationException("Can't create port which requests
SSL client certificates but doesn't use SSL transport.");
             }
         }
         else
@@ -135,7 +135,7 @@ public class PortFactory
                     Collection<Protocol> portProtocols = existingPort.getProtocols();
                     if (portProtocols != null && portProtocols.contains(protocol))
                     {
-                        throw new IllegalConfigurationException("Port for protocol " + protocol
+ " already exist. Only one management port per protocol can be created");
+                        throw new IllegalConfigurationException("Port for protocol " + protocol
+ " already exists. Only one management port per protocol can be created.");
                     }
                 }
             }
@@ -148,7 +148,7 @@ public class PortFactory
         {
             if(broker.getKeyStores().isEmpty())
             {
-                throw new IllegalConfigurationException("Cant create port which requires
SSL as the broker has no keystore configured.");
+                throw new IllegalConfigurationException("Can't create port which requires
SSL as the broker has no keystore configured.");
             }
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message