Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lou wolford committed Dec 18, 2014
1 parent 29e7ff8 commit 8062fd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/gov/adlnet/xapi/client/BaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

//import android.util.Base64;
import javax.xml.bind.DatatypeConverter;
//import org.apache.commons.codec.binary.Base64;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down Expand Up @@ -54,7 +53,6 @@ protected void init(URL uri, String user, String password) {
this.password = password;
// this.authString = "Basic " + Base64.encodeToString((this.username + ":" + this.password).getBytes(), Base64.DEFAULT);
this.authString = "Basic " + DatatypeConverter.printBase64Binary((this.username + ":" + this.password).getBytes());
// this.authString = "Basic " + Base64.encodeBase64((this.username + ":" + this.password).getBytes()).toString();
}

protected String readFromConnection(HttpURLConnection conn)
Expand Down

0 comments on commit 8062fd7

Please sign in to comment.