Skip to content

Commit

Permalink
Removed printing status code. Longterm TODO: better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas4g committed Sep 12, 2015
1 parent 0541205 commit 22360a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/cs1331/gitsubmitter/StudentSubmission.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ private SHAObject createTree(String baseTree, String... fileNames)
.toArray(Tree[]::new);

StringBuilder sb = new StringBuilder();
System.out.println(request(String.format("repos/%s/%s/git/trees", user,
repo), "POST", gson.toJson(tree), sb));
request(String.format("repos/%s/%s/git/trees", user,
repo), "POST", gson.toJson(tree), sb);
return gson.fromJson(sb.toString(), SHAObject.class);
}

Expand Down

0 comments on commit 22360a5

Please sign in to comment.