activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1152921 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/ConfigStore.scala
Date Mon, 01 Aug 2011 20:21:34 GMT
Author: chirino
Date: Mon Aug  1 20:21:34 2011
New Revision: 1152921

URL: http://svn.apache.org/viewvc?rev=1152921&view=rev
Log:
Fix bug with format string.  If XSD validation failed, broker would not start up even if strict
validation was not enabled.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/ConfigStore.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/ConfigStore.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/ConfigStore.scala?rev=1152921&r1=1152920&r2=1152921&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/ConfigStore.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/ConfigStore.scala
Mon Aug  1 20:21:34 2011
@@ -49,7 +49,7 @@ object ConfigStore {
             case 1=> "error"
             case 2=> "fatal error"
           }
-          func("% at (%d:%d): %s ".format(level, event.getLocator().getLineNumber(), event.getLocator().getColumnNumber(),
event.getMessage()))
+          func("%s at (%d:%d): %s ".format(level, event.getLocator().getLineNumber(), event.getLocator().getColumnNumber(),
event.getMessage()))
           true
         }
     })



Mime
View raw message