mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r591594 - /mina/trunk/core/src/main/java/org/apache/mina/filter/traffic/ReadThrottleFilter.java
Date Sat, 03 Nov 2007 11:19:13 GMT
Author: trustin
Date: Sat Nov  3 04:19:12 2007
New Revision: 591594

URL: http://svn.apache.org/viewvc?rev=591594&view=rev
Log:
Somewhat clearer switch-case statement

Modified:
    mina/trunk/core/src/main/java/org/apache/mina/filter/traffic/ReadThrottleFilter.java

Modified: mina/trunk/core/src/main/java/org/apache/mina/filter/traffic/ReadThrottleFilter.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/filter/traffic/ReadThrottleFilter.java?rev=591594&r1=591593&r2=591594&view=diff
==============================================================================
--- mina/trunk/core/src/main/java/org/apache/mina/filter/traffic/ReadThrottleFilter.java (original)
+++ mina/trunk/core/src/main/java/org/apache/mina/filter/traffic/ReadThrottleFilter.java Sat
Nov  3 04:19:12 2007
@@ -399,10 +399,14 @@
         switch (policy) {
         case CLOSE:
             session.close();
+            raiseException(session);
+            break;
         case EXCEPTION:
             raiseException(session);
+            break;
         case LOG:
             log(session);
+            break;
         }
     }
     



Mime
View raw message