Return-Path: X-Original-To: apmail-hc-commits-archive@www.apache.org Delivered-To: apmail-hc-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2573DD94 for ; Thu, 23 Aug 2012 12:50:47 +0000 (UTC) Received: (qmail 60227 invoked by uid 500); 23 Aug 2012 12:50:47 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 60165 invoked by uid 500); 23 Aug 2012 12:50:46 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 60152 invoked by uid 99); 23 Aug 2012 12:50:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 12:50:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2012 12:50:45 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D639823888E4 for ; Thu, 23 Aug 2012 12:50:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1376469 - in /httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol: BasicAsyncRequestConsumer.java BasicAsyncResponseConsumer.java Date: Thu, 23 Aug 2012 12:50:01 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120823125001.D639823888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olegk Date: Thu Aug 23 12:50:01 2012 New Revision: 1376469 URL: http://svn.apache.org/viewvc?rev=1376469&view=rev Log: Fixed typo Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java?rev=1376469&r1=1376468&r2=1376469&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java (original) +++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncRequestConsumer.java Thu Aug 23 12:50:01 2012 @@ -66,7 +66,7 @@ public class BasicAsyncRequestConsumer e if (entity != null) { long len = entity.getContentLength(); if (len > Integer.MAX_VALUE) { - throw new ContentTooLongException("Entity content is not long: " + len); + throw new ContentTooLongException("Entity content is too long: " + len); } if (len < 0) { len = 4096; Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java?rev=1376469&r1=1376468&r2=1376469&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java (original) +++ httpcomponents/httpcore/trunk/httpcore-nio/src/main/java/org/apache/http/nio/protocol/BasicAsyncResponseConsumer.java Thu Aug 23 12:50:01 2012 @@ -64,7 +64,7 @@ public class BasicAsyncResponseConsumer if (entity != null) { long len = entity.getContentLength(); if (len > Integer.MAX_VALUE) { - throw new ContentTooLongException("Entity content is not long: " + len); + throw new ContentTooLongException("Entity content is too long: " + len); } if (len < 0) { len = 4096;