jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380893 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java
Date Tue, 04 Sep 2012 21:24:00 GMT
Author: pmouawad
Date: Tue Sep  4 21:23:59 2012
New Revision: 1380893

URL: http://svn.apache.org/viewvc?rev=1380893&view=rev
Log:
Remove final on methods as class is final

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java?rev=1380893&r1=1380892&r2=1380893&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/Base64Encoder.java
Tue Sep  4 21:23:59 2012
@@ -37,11 +37,11 @@ public final class Base64Encoder {
     private Base64Encoder() {
     }
 
-    public static final String encode(String s) {
+    public static String encode(String s) {
         return encode(s.getBytes()); // TODO - charset?
     }
 
-    public static final String encode(byte[] bs) {
+    public static String encode(byte[] bs) {
         StringBuilder out = new StringBuilder();
         int bl = bs.length;
         for (int i = 0; i < bl; i += 3) {
@@ -50,7 +50,7 @@ public final class Base64Encoder {
         return out.toString();
     }
 
-    public static final String encodeAtom(byte[] b, int strt, int left) {
+    public static String encodeAtom(byte[] b, int strt, int left) {
         StringBuilder out = new StringBuilder();
         if (left == 1) {
             byte b1 = b[strt];



Mime
View raw message