axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r405818 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java
Date Fri, 12 May 2006 18:10:43 GMT
Author: dims
Date: Fri May 12 11:10:43 2006
New Revision: 405818

URL: http://svn.apache.org/viewcvs?rev=405818&view=rev
Log:
Fix javadoc and spelling

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java?rev=405818&r1=405817&r2=405818&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/Phase.java Fri May
12 11:10:43 2006
@@ -70,10 +70,9 @@
     private ArrayList handlers;
 
     /**
-     * this is want if the phaseFirst and phaseLst same hanlder
-     * that is for this phase there is only one phase
+     * A handler has been marked as present in both the first phase and the last phase
      */
-    private boolean isOneHanlder;
+    private boolean isOneHandler;
 
     /**
      * Field phaseName
@@ -140,7 +139,7 @@
                 return;
             }
         }
-        if (isOneHanlder) {
+        if (isOneHandler) {
             // TODO : should we allow both phaseFirst and phaseLast to be true for one Handler??
             throw new PhaseException(this.getPhaseName()
                     + "can only have one handler, since there is a "
@@ -155,7 +154,7 @@
                         + " is invalid or incorrect phase rules");
             } else {
                 handlers.add(handler.getHandler());
-                isOneHanlder = true;
+                isOneHandler = true;
             }
         } else if (handler.getRules().isPhaseFirst()) {
             setPhaseFirst(handler.getHandler());
@@ -534,7 +533,7 @@
                 phaselastset = false;
             }
             if(rule.isPhaseFirst()&& rule.isPhaseLast()){
-                isOneHanlder = false;
+                isOneHandler = false;
             }
             log.info("removed handler " + handler.getName().getLocalPart()
                     + " from the phase " + phaseName);



Mime
View raw message