You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by jv...@apache.org on 2011/09/19 15:21:14 UTC

svn commit: r1172612 - in /mina/trunk: http/pom.xml http/src/main/java/org/apache/mina/http/HttpServerCodec.java pom.xml

Author: jvermillard
Date: Mon Sep 19 13:21:13 2011
New Revision: 1172612

URL: http://svn.apache.org/viewvc?rev=1172612&view=rev
Log:
fixed some compilation issues and bumped cobertura version

Modified:
    mina/trunk/http/pom.xml
    mina/trunk/http/src/main/java/org/apache/mina/http/HttpServerCodec.java
    mina/trunk/pom.xml

Modified: mina/trunk/http/pom.xml
URL: http://svn.apache.org/viewvc/mina/trunk/http/pom.xml?rev=1172612&r1=1172611&r2=1172612&view=diff
==============================================================================
--- mina/trunk/http/pom.xml (original)
+++ mina/trunk/http/pom.xml Mon Sep 19 13:21:13 2011
@@ -31,7 +31,7 @@
   <packaging>bundle</packaging>
   <properties>
     <symbolicName>${project.groupId}.http</symbolicName>
-    <exportedPackage>${project.groupId}</exportedPackage>
+    <exportedPackage>${project.groupId}.http.api</exportedPackage>
   </properties>
 
   <dependencies>

Modified: mina/trunk/http/src/main/java/org/apache/mina/http/HttpServerCodec.java
URL: http://svn.apache.org/viewvc/mina/trunk/http/src/main/java/org/apache/mina/http/HttpServerCodec.java?rev=1172612&r1=1172611&r2=1172612&view=diff
==============================================================================
--- mina/trunk/http/src/main/java/org/apache/mina/http/HttpServerCodec.java (original)
+++ mina/trunk/http/src/main/java/org/apache/mina/http/HttpServerCodec.java Mon Sep 19 13:21:13 2011
@@ -128,7 +128,7 @@ public class HttpServerCodec implements 
             // send the chunk of body
             controller.callReadNextFilter(session, msg);
             // do we have reach end of body ?
-            int remaining = session.getAttribute(BODY_REMAINING_BYTES);
+            int remaining = (Integer) session.getAttribute(BODY_REMAINING_BYTES);
             remaining -= chunkSize;
 
             if (remaining <= 0) {

Modified: mina/trunk/pom.xml
URL: http://svn.apache.org/viewvc/mina/trunk/pom.xml?rev=1172612&r1=1172611&r2=1172612&view=diff
==============================================================================
--- mina/trunk/pom.xml (original)
+++ mina/trunk/pom.xml Mon Sep 19 13:21:13 2011
@@ -214,7 +214,7 @@
       <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>cobertura-maven-plugin</artifactId>
-          <version>2.3</version>
+          <version>2.4</version>
           <configuration>
               <formats>
                   <format>xml</format>