harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r358804 - in /incubator/harmony/enhanced/classlib/trunk/java-src/luni/src: com/ibm/oti/net/www/protocol/http/ com/ibm/oti/util/ org/apache/harmony/luni/util/
Date Fri, 23 Dec 2005 13:50:29 GMT
Author: tellison
Date: Fri Dec 23 05:50:19 2005
New Revision: 358804

URL: http://svn.apache.org/viewcvs?rev=358804&view=rev
Log:
Moving BASE64 encoder/decoder into new package

Added:
    incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Decoder.java
      - copied, changed from r358782, incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Decoder.java
    incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Encoder.java
      - copied, changed from r358782, incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Encoder.java
Removed:
    incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Decoder.java
    incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Encoder.java
Modified:
    incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/net/www/protocol/http/HttpURLConnection.java

Modified: incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/net/www/protocol/http/HttpURLConnection.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/net/www/protocol/http/HttpURLConnection.java?rev=358804&r1=358803&r2=358804&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/net/www/protocol/http/HttpURLConnection.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/net/www/protocol/http/HttpURLConnection.java
Fri Dec 23 05:50:19 2005
@@ -941,7 +941,7 @@
 			connected = false;
 			// base64 encode the username and password
 			byte[] bytes = (pa.getUserName() + ":" + new String(pa.getPassword())).getBytes("ISO8859_1");
-			String encoded = new String(com.ibm.oti.util.BASE64Encoder.encode(bytes), "ISO8859_1");
+			String encoded = new String(org.apache.harmony.luni.util.BASE64Encoder.encode(bytes),
"ISO8859_1");
 			setRequestProperty("Authorization", scheme + " " + encoded);
 			continue;
 		}

Copied: incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Decoder.java
(from r358782, incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Decoder.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Decoder.java?p2=incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Decoder.java&p1=incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Decoder.java&r1=358782&r2=358804&rev=358804&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Decoder.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Decoder.java
Fri Dec 23 05:50:19 2005
@@ -13,7 +13,9 @@
  * limitations under the License.
  */
 
-package com.ibm.oti.util;
+package org.apache.harmony.luni.util;
+
+import com.ibm.oti.util.Msg;
 
 
 /**

Copied: incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Encoder.java
(from r358782, incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Encoder.java)
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Encoder.java?p2=incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Encoder.java&p1=incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Encoder.java&r1=358782&r2=358804&rev=358804&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/com/ibm/oti/util/BASE64Encoder.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/org/apache/harmony/luni/util/BASE64Encoder.java
Fri Dec 23 05:50:19 2005
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-package com.ibm.oti.util;
+package org.apache.harmony.luni.util;
 
 
 /**



Mime
View raw message