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 2009/02/05 20:30:42 UTC

svn commit: r741251 - /activemq/activemq-protobuf/trunk/activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/JavaGenerator.java

Author: chirino
Date: Thu Feb  5 19:30:41 2009
New Revision: 741251

URL: http://svn.apache.org/viewvc?rev=741251&view=rev
Log:
Fixing compile issue when deferred_decode=true

Modified:
    activemq/activemq-protobuf/trunk/activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/JavaGenerator.java

Modified: activemq/activemq-protobuf/trunk/activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/JavaGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-protobuf/trunk/activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/JavaGenerator.java?rev=741251&r1=741250&r2=741251&view=diff
==============================================================================
--- activemq/activemq-protobuf/trunk/activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/JavaGenerator.java (original)
+++ activemq/activemq-protobuf/trunk/activemq-protobuf/src/main/java/org/apache/activemq/protobuf/compiler/JavaGenerator.java Thu Feb  5 19:30:41 2009
@@ -699,7 +699,7 @@
             p("org.apache.activemq.protobuf.CodedOutputStream original=null;");
             p("if( encodedForm == null ) {");
             indent();
-            p("encodedForm = new Buffer(new byte[size]);");
+            p("encodedForm = new org.apache.activemq.protobuf.Buffer(new byte[size]);");
             p("original = output;");
             p("output = new org.apache.activemq.protobuf.CodedOutputStream(encodedForm);");
             unindent();