Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 86045 invoked from network); 25 Jun 2002 01:04:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 25 Jun 2002 01:04:03 -0000 Received: (qmail 19846 invoked by uid 97); 25 Jun 2002 01:04:15 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 19820 invoked by uid 97); 25 Jun 2002 01:04:15 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 19801 invoked by uid 97); 25 Jun 2002 01:04:14 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 25 Jun 2002 01:03:46 -0000 Message-ID: <20020625010346.64319.qmail@icarus.apache.org> From: bayard@apache.org To: jakarta-commons-sandbox-cvs@apache.org Subject: cvs commit: jakarta-commons-sandbox/servlet/src/java/org/apache/commons/servlet RequestUtils.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bayard 2002/06/24 18:03:45 Modified: servlet/src/java/org/apache/commons/servlet RequestUtils.java Log: Changed to compile against org.apache.commons.lang.Strings. Revision Changes Path 1.2 +4 -4 jakarta-commons-sandbox/servlet/src/java/org/apache/commons/servlet/RequestUtils.java Index: RequestUtils.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/servlet/src/java/org/apache/commons/servlet/RequestUtils.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- RequestUtils.java 22 Feb 2002 18:00:50 -0000 1.1 +++ RequestUtils.java 25 Jun 2002 01:03:45 -0000 1.2 @@ -57,7 +57,7 @@ import javax.servlet.http.HttpServletRequest; -import org.apache.commons.util.StringUtils; +import org.apache.commons.lang.Strings; /** * This class provides utilities for getting information from @@ -92,7 +92,7 @@ if (headerValue == null) { // dash w/ title case - header = StringUtils.replace(header, "_", "-"); + header = Strings.replace(header, "_", "-"); headerValue = request.getHeader(header); if (headerValue == null) { @@ -107,7 +107,7 @@ if (headerValue == null) { // underscore w/ all lower - header = StringUtils.replace(header, "-", "_"); + header = Strings.replace(header, "-", "_"); headerValue = request.getHeader(header); } } -- To unsubscribe, e-mail: For additional commands, e-mail: