Skip to content

Commit

Permalink
updated the jar
Browse files Browse the repository at this point in the history
  • Loading branch information
tirth1796 committed Jul 6, 2016
1 parent 754f495 commit d995d20
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .recommenders/caches/identified-project-coordinates.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[[{"location":"/Users/tirthshah/Desktop/Tirth/appbase-droid/appbasedroid","type":"PROJECT","hints":{"PROJECT_NAME":"appbasedroid"}},"appbaseio:appbase-droid:0.0.1"]]
[[{"location":"/Users/tirthshah/.m2/repository/org/asynchttpclient/async-http-client/2.0.2/async-http-client-2.0.2.jar","type":"JAR","hints":{}},"org.asynchttpclient:async-http-client:2.0.2"]]
Binary file not shown.
Empty file.
Binary file modified appbase-droid.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ public static void main(String[] args) {
System.out.println("https://"+user+":"+pass+"@scalr.api.appbase.io");
appbase=new AppbaseClient("https://"+user+":"+pass+"@scalr.api.appbase.io", "jsfiddle-demo");
try {
System.out.println(appbase.prepareIndex(type, "1",jsonDoc).execute().get().getResponseBody());
System.out.println(appbase.prepareIndex(type,jsonDoc).execute().get().getResponseBody());
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ExecutionException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
appbase.close();
Expand All @@ -44,10 +42,8 @@ public static void main(String[] args) {
// try {
// r = a.preparePut(URL+"/"+appName+"/"+type+"/45").addHeader("Authorization", "Basic " + getAuth()).setBody(jsonDoc).execute().get().getResponseBody();
// } catch (InterruptedException e) {
// // TODO Auto-generated catch block
// e.printStackTrace();
// } catch (ExecutionException e) {
// // TODO Auto-generated catch block
// e.printStackTrace();
// }
// System.out.println(r);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
import java.io.IOException;
import java.io.PipedInputStream;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.concurrent.ExecutionException;

import org.asynchttpclient.AsyncCompletionHandler;
import org.asynchttpclient.HttpResponseBodyPart;
import org.asynchttpclient.HttpResponseHeaders;
import org.asynchttpclient.ListenableFuture;
import org.asynchttpclient.Response;
import org.junit.BeforeClass;
Expand Down

0 comments on commit d995d20

Please sign in to comment.