You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by hi...@apache.org on 2011/01/28 15:00:29 UTC

svn commit: r1064677 - /synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationFactory.java

Author: hiranya
Date: Fri Jan 28 14:00:29 2011
New Revision: 1064677

URL: http://svn.apache.org/viewvc?rev=1064677&view=rev
Log:
Fixing a typo

Modified:
    synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationFactory.java

Modified: synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationFactory.java
URL: http://svn.apache.org/viewvc/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationFactory.java?rev=1064677&r1=1064676&r2=1064677&view=diff
==============================================================================
--- synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationFactory.java (original)
+++ synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/SynapseXMLConfigurationFactory.java Fri Jan 28 14:00:29 2011
@@ -124,7 +124,7 @@ public class SynapseXMLConfigurationFact
 
     public static ProxyService defineProxy(SynapseConfiguration config, OMElement elem,
                                            Properties properties) {
-        boolean failSafeProxyEnabled = isFaileSafeEnabled(
+        boolean failSafeProxyEnabled = isFailSafeEnabled(
                 SynapseConstants.FAIL_SAFE_MODE_PROXY_SERVICES);
 
         ProxyService proxy = null;
@@ -152,7 +152,7 @@ public class SynapseXMLConfigurationFact
 
     public static Entry defineEntry(SynapseConfiguration config, OMElement elem,
                                     Properties properties) {
-        boolean failSafeLocalEntriesEnabled = isFaileSafeEnabled(
+        boolean failSafeLocalEntriesEnabled = isFailSafeEnabled(
                 SynapseConstants.FAIL_SAFE_MODE_LOCALENTRIES);
 
         Entry entry = null;
@@ -178,7 +178,7 @@ public class SynapseXMLConfigurationFact
     public static Mediator defineSequence(SynapseConfiguration config, OMElement ele,
                                           Properties properties) {
 
-        boolean failSafeSequenceEnabled = isFaileSafeEnabled(
+        boolean failSafeSequenceEnabled = isFailSafeEnabled(
                 SynapseConstants.FAIL_SAFE_MODE_SEQUENCES);
 
         Mediator mediator = null;
@@ -212,7 +212,7 @@ public class SynapseXMLConfigurationFact
 
     public static Endpoint defineEndpoint(SynapseConfiguration config, OMElement ele,
                                           Properties properties) {
-        boolean failSafeEpEnabled = isFaileSafeEnabled(SynapseConstants.FAIL_SAFE_MODE_EP);
+        boolean failSafeEpEnabled = isFailSafeEnabled(SynapseConstants.FAIL_SAFE_MODE_EP);
 
         String name = ele.getAttributeValue(new QName(XMLConfigConstants.NULL_NAMESPACE, "name"));
         Endpoint endpoint = null;
@@ -239,7 +239,7 @@ public class SynapseXMLConfigurationFact
 
     public static SynapseEventSource defineEventSource(SynapseConfiguration config,
                                                        OMElement elem, Properties properties) {
-        boolean failSafeEventSourcesEnabled = isFaileSafeEnabled(
+        boolean failSafeEventSourcesEnabled = isFailSafeEnabled(
                 SynapseConstants.FAIL_SAFE_MODE_EVENT_SOURCE);
         SynapseEventSource eventSource = null;
 
@@ -261,7 +261,7 @@ public class SynapseXMLConfigurationFact
 
     public static PriorityExecutor defineExecutor(SynapseConfiguration config,
                                                        OMElement elem, Properties properties) {
-        boolean failSafeExecutorsEnabled = isFaileSafeEnabled(
+        boolean failSafeExecutorsEnabled = isFailSafeEnabled(
                 SynapseConstants.FAIL_SAFE_MODE_EXECUTORS);
 
         PriorityExecutor executor = null;
@@ -302,7 +302,7 @@ public class SynapseXMLConfigurationFact
         return SynapseXMLConfigurationSerializer.class;
     }
 
-    private static boolean isFaileSafeEnabled(String componentName) {
+    private static boolean isFailSafeEnabled(String componentName) {
         if (failSafeStr != null) {
             String[] failSafeComponents = failSafeStr.split(",");
             if (Arrays.<String>asList(failSafeComponents).indexOf(SynapseConstants.FAIL_SAFE_MODE_ALL) >= 0