You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2008/02/28 04:24:43 UTC
svn commit: r631826 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
Author: davidillsley
Date: Wed Feb 27 19:24:42 2008
New Revision: 631826
URL: http://svn.apache.org/viewvc?rev=631826&view=rev
Log:
No need to repeatedly call list.size()
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java?rev=631826&r1=631825&r2=631826&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java Wed Feb 27 19:24:42 2008
@@ -283,7 +283,9 @@
log.debug(msgctx.getLogIDString() + " Invoking phase \"" + phaseName + "\"");
}
- while (currentIndex < handlers.size()) {
+ int handlersSize = handlers.size();
+
+ while (currentIndex < handlersSize) {
Handler handler = (Handler) handlers.get(currentIndex);
if (isDebugEnabled) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org