Skip to content
This repository was archived by the owner on Mar 5, 2020. It is now read-only.

Commit cfa3d15

Browse files
committed
Clean code
1 parent 14fcc5c commit cfa3d15

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/pl/simplemethod/codebin/githubOauth/GithubClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import com.mashape.unirest.http.JsonNode;
55
import com.mashape.unirest.http.Unirest;
66
import com.mashape.unirest.http.exceptions.UnirestException;
7-
import org.json.simple.JSONObject;
87
import org.json.simple.parser.JSONParser;
98
import org.json.simple.parser.ParseException;
109
import org.springframework.stereotype.Service;
@@ -64,7 +63,7 @@ protected org.json.JSONObject getCloneReposMinimalInfo(String token, String user
6463
}
6564

6665
/**
67-
* Statistics contributors in a repository. Does not work for private repositories and requires a double request for working
66+
* Statistics contributors in a repository. Does not work for private repositories and requires a double request for working. https://developer.github.com/v3/repos/statistics/
6867
* @param token Token for authorization
6968
* @param username User name
7069
* @param reposName Name of the repository

src/main/java/pl/simplemethod/codebin/githubOauth/GithubRestController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ResponseEntity getReposInfo(@CookieValue("token") String token, @PathVariable(va
4949
}
5050

5151
/**
52-
* Statistics contributors in a repository. Does not work for private repositories and requires a double request for working
52+
* Statistics contributors in a repository. Does not work for private repositories and requires a double request for working. https://developer.github.com/v3/repos/statistics/
5353
* @param token Token for authorization
5454
* @param username User name
5555
* @param repos Name of the repository

0 commit comments

Comments
 (0)