You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/09/07 15:24:50 UTC

svn commit: r812125 - /tomcat/trunk/java/org/apache/catalina/core/ApplicationFilterConfig.java

Author: markt
Date: Mon Sep  7 13:24:50 2009
New Revision: 812125

URL: http://svn.apache.org/viewvc?rev=812125&view=rev
Log:
Fix spelling and other minor niggles

Modified:
    tomcat/trunk/java/org/apache/catalina/core/ApplicationFilterConfig.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationFilterConfig.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationFilterConfig.java?rev=812125&r1=812124&r2=812125&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationFilterConfig.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationFilterConfig.java Mon Sep  7 13:24:50 2009
@@ -277,7 +277,7 @@
      */
     void release() {
 
-        unregsiterJMX();
+        unregisterJMX();
         
         if (this.filter != null)
         {
@@ -331,7 +331,7 @@
 
             // Release any previously allocated filter instance
             if (this.filter != null){
-                if( Globals.IS_SECURITY_ENABLED) {
+                if (Globals.IS_SECURITY_ENABLED) {
                     try{
                         SecurityUtil.doAsPrivilege("destroy", filter);
                     } catch(java.lang.Exception ex){
@@ -405,23 +405,23 @@
             Registry.getRegistry(null, null).registerComponent(this, oname,
                     null);
         } catch (Exception ex) {
-            log.info(sm.getString("applicationFilterConfig.jmxRegsiterFail",
+            log.info(sm.getString("applicationFilterConfig.jmxRegisterFail",
                     getFilterClass(), getFilterName()), ex);
         }
     }
     
-    private void unregsiterJMX() {
+    private void unregisterJMX() {
         // unregister this component
         if (oname != null) {
             try {
                 Registry.getRegistry(null, null).unregisterComponent(oname);
-                if(log.isDebugEnabled())
+                if (log.isDebugEnabled())
                     log.debug(sm.getString(
-                            "applicationFilterConfig.jmxUnregsiter",
+                            "applicationFilterConfig.jmxUnregister",
                             getFilterClass(), getFilterName()));
             } catch(Exception ex) {
                 log.error(sm.getString(
-                        "applicationFilterConfig.jmxUnregsiterFail",
+                        "applicationFilterConfig.jmxUnregisterFail",
                         getFilterClass(), getFilterName()), ex);
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org