Commits

davenewton  committed f5d0239

Fixed comments for S2 wiki.

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1748e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 43b8e7f

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/util/profiling/UtilTimerStack.java

  * Warning:<p/>
  * <!-- START SNIPPET: activationThroughParameterWarning -->
  * 
- * Profiling activation through parameter will need the followings:-
+ * Profiling activation through a parameter requires the following:
+ *
  * <ul>
- *  <li>Profiling interceptor</li>
+ *  <li>Profiling interceptor in interceptor stack</li>
  *  <li>dev mode on (struts.devMode=true in struts.properties)
  * </ul>
  * 
  * 
  * <!-- START SNIPPET: methodDescription -->
  * 
- * One could extends the profiling feature provided by Struts2 in their web application as well. 
+ * One could extend the profiling feature provided by Struts2 in their web application as well. 
  * 
  * <!-- END SNIPPET: methodDescription -->
  * 
  *    String logMessage = "Log message";
  *    UtilTimerStack.push(logMessage);
  *    try {
- *      // do some code
+ *        // do some code
  *    }
  *    finally {
- *      UtilTimerStack.pop(logMessage); //this needs to be the same text as above
+ *        UtilTimerStack.pop(logMessage); // this needs to be the same text as above
  *    }
  *    
  * <!-- END SNIPPET: method1 -->