mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r899083 - /mina/trunk/core/src/main/java/org/apache/mina/filter/statistic/ProfilerTimerFilter.java
Date Thu, 14 Jan 2010 07:00:48 GMT
Author: elecharny
Date: Thu Jan 14 07:00:48 2010
New Revision: 899083

URL: http://svn.apache.org/viewvc?rev=899083&view=rev
Log:
Fixed the missing return in the switch, fix DIRMINA-733

Modified:
    mina/trunk/core/src/main/java/org/apache/mina/filter/statistic/ProfilerTimerFilter.java

Modified: mina/trunk/core/src/main/java/org/apache/mina/filter/statistic/ProfilerTimerFilter.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/filter/statistic/ProfilerTimerFilter.java?rev=899083&r1=899082&r2=899083&view=diff
==============================================================================
--- mina/trunk/core/src/main/java/org/apache/mina/filter/statistic/ProfilerTimerFilter.java
(original)
+++ mina/trunk/core/src/main/java/org/apache/mina/filter/statistic/ProfilerTimerFilter.java
Thu Jan 14 07:00:48 2010
@@ -226,6 +226,8 @@
                     sessionCreatedTimerWorker = new TimerWorker();
                 }
                 
+                return;
+                
             case SESSION_OPENED :
                 profileSessionOpened = true;
                 
@@ -233,6 +235,8 @@
                     sessionOpenedTimerWorker = new TimerWorker();
                 }
                 
+                return;
+                
             case SESSION_IDLE :
                 profileSessionIdle = true;
                 
@@ -240,12 +244,16 @@
                     sessionIdleTimerWorker = new TimerWorker();
                 }
                 
+                return;
+                
             case SESSION_CLOSED :
                 profileSessionClosed = true;
                 
                 if (sessionClosedTimerWorker == null) {
                     sessionClosedTimerWorker = new TimerWorker();
                 }
+                
+                return;
         }
     }
 



Mime
View raw message