From 2fba1839dec1c4e8997a7073747763d2af0e3d68 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Tue, 4 Jun 2013 00:18:35 +0000 Subject: [PATCH] Match this kind of param name to the other methods in this class (encoding -> charset). git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489242 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/client/utils/URLEncodedUtils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java b/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java index dea8238cc..9bcda7349 100644 --- a/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java +++ b/httpclient/src/main/java/org/apache/http/client/utils/URLEncodedUtils.java @@ -74,15 +74,15 @@ public class URLEncodedUtils { * * @param uri * uri to parse - * @param encoding - * encoding to use while parsing the query + * @param charset + * charset name to use while parsing the query */ - public static List parse (final URI uri, final String encoding) { + public static List parse (final URI uri, final String charset) { final String query = uri.getRawQuery(); if (query != null && query.length() > 0) { final List result = new ArrayList(); final Scanner scanner = new Scanner(query); - parse(result, scanner, encoding); + parse(result, scanner, charset); return result; } else { return Collections.emptyList();