You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2013/01/30 15:43:16 UTC

svn commit: r1440434 - /activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/ConfigurationResource.scala

Author: chirino
Date: Wed Jan 30 14:43:16 2013
New Revision: 1440434

URL: http://svn.apache.org/viewvc?rev=1440434&view=rev
Log:
Fixes an assertion failure.

Modified:
    activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/ConfigurationResource.scala

Modified: activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/ConfigurationResource.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/ConfigurationResource.scala?rev=1440434&r1=1440433&r2=1440434&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/ConfigurationResource.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/ConfigurationResource.scala Wed Jan 30 14:43:16 2013
@@ -71,9 +71,7 @@ class ConfigurationResource extends Reso
   def if_allowed[T](func: =>T):T = {
     with_broker[T]{ broker =>
       configing[T](broker) {
-        sync[T](broker) {
-          func
-        }
+        func
       }
     }
   }