hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r943278 - in /httpcomponents/httpclient/trunk: httpclient/src/test/java/org/apache/http/client/utils/TestURLEncodedUtils.java httpmime/src/test/java/org/apache/http/entity/mime/TestMultipartForm.java
Date Tue, 11 May 2010 20:29:17 GMT
Author: sebb
Date: Tue May 11 20:29:17 2010
New Revision: 943278

URL: http://svn.apache.org/viewvc?rev=943278&view=rev
Log:
No need to expose mutable arrays outside the class

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestURLEncodedUtils.java
    httpcomponents/httpclient/trunk/httpmime/src/test/java/org/apache/http/entity/mime/TestMultipartForm.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestURLEncodedUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestURLEncodedUtils.java?rev=943278&r1=943277&r2=943278&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestURLEncodedUtils.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/client/utils/TestURLEncodedUtils.java
Tue May 11 20:29:17 2010
@@ -100,11 +100,11 @@ public class TestURLEncodedUtils {
         Assert.assertTrue(URLEncodedUtils.parse(entity).isEmpty());
     }
 
-    static final int SWISS_GERMAN_HELLO [] = {
+    private static final int SWISS_GERMAN_HELLO [] = {
         0x47, 0x72, 0xFC, 0x65, 0x7A, 0x69, 0x5F, 0x7A, 0xE4, 0x6D, 0xE4
     };
 
-    static final int RUSSIAN_HELLO [] = {
+    private static final int RUSSIAN_HELLO [] = {
         0x412, 0x441, 0x435, 0x43C, 0x5F, 0x43F, 0x440, 0x438,
         0x432, 0x435, 0x442
     };

Modified: httpcomponents/httpclient/trunk/httpmime/src/test/java/org/apache/http/entity/mime/TestMultipartForm.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpmime/src/test/java/org/apache/http/entity/mime/TestMultipartForm.java?rev=943278&r1=943277&r2=943278&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpmime/src/test/java/org/apache/http/entity/mime/TestMultipartForm.java
(original)
+++ httpcomponents/httpclient/trunk/httpmime/src/test/java/org/apache/http/entity/mime/TestMultipartForm.java
Tue May 11 20:29:17 2010
@@ -204,11 +204,11 @@ public class TestMultipartForm {
         tmpfile.delete();
     }
 
-    static final int SWISS_GERMAN_HELLO [] = {
+    private static final int SWISS_GERMAN_HELLO [] = {
         0x47, 0x72, 0xFC, 0x65, 0x7A, 0x69, 0x5F, 0x7A, 0xE4, 0x6D, 0xE4
     };
 
-    static final int RUSSIAN_HELLO [] = {
+    private static final int RUSSIAN_HELLO [] = {
         0x412, 0x441, 0x435, 0x43C, 0x5F, 0x43F, 0x440, 0x438,
         0x432, 0x435, 0x442
     };



Mime
View raw message