Commit e1dfe407 authored by javier's avatar javier
Browse files

minor fixes

parent ee6a22a1
...@@ -77,9 +77,9 @@ public class Client { ...@@ -77,9 +77,9 @@ public class Client {
request.addHeader("content-type", "application/json"); request.addHeader("content-type", "application/json");
request.setEntity(params); request.setEntity(params);
HttpResponse response = httpClient.execute(request); HttpResponse response = httpClient.execute(request);
TeamDecision[] acceptedDecissions = mapper.readValue(response.getEntity().getContent(), TeamDecision[] accepteddecisions = mapper.readValue(response.getEntity().getContent(),
TeamDecision[].class); TeamDecision[].class);
logger.debug("Accepted decissions: {}", Arrays.toString(acceptedDecissions)); logger.debug("Accepted decisions: {}", Arrays.toString(accepteddecisions));
} catch (IOException e) { } catch (IOException e) {
logger.info("IOError network: {}", e); logger.info("IOError network: {}", e);
} }
...@@ -87,7 +87,7 @@ public class Client { ...@@ -87,7 +87,7 @@ public class Client {
} }
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
String teamToken = "XASADSFASFAaSFAF"; String teamToken = "";
int runs = 5; int runs = 5;
List<Post> posts = getUserWritings(teamToken); List<Post> posts = getUserWritings(teamToken);
int sequence = 0; int sequence = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment