hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1232911 - /httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
Date Wed, 18 Jan 2012 14:44:22 GMT
Author: olegk
Date: Wed Jan 18 14:44:21 2012
New Revision: 1232911

URL: http://svn.apache.org/viewvc?rev=1232911&view=rev
Log:
HTTPCLIENT-1158: fixed typo

Modified:
    httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java

Modified: httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java?rev=1232911&r1=1232910&r2=1232911&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
(original)
+++ httpcomponents/httpclient/branches/4.1.x/httpclient/src/main/java/org/apache/http/client/utils/URIUtils.java
Wed Jan 18 14:44:21 2012
@@ -127,7 +127,7 @@ public class URIUtils {
             final HttpHost target,
             boolean dropFragment) throws URISyntaxException {
         if (uri == null) {
-            throw new IllegalArgumentException("URI may nor be null");
+            throw new IllegalArgumentException("URI may not be null");
         }
         if (target != null) {
             return URIUtils.createURI(



Mime
View raw message