Skip to content

Commit

Permalink
Cleaned up Javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Messner committed Dec 4, 2014
1 parent a41c2e0 commit a5ab678
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/messners/gitlab/api/AbstractApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ protected ClientResponse delete (ClientResponse.Status expectedStatus, Multivalu
* Convenience method for adding query and form parameters to a get() or post() call.
*
* @param formData
* @param string
* @param email
* @param name
* @param value
*/
protected void addFormParam(Form formData, String name, Object value) throws IllegalArgumentException {
addFormParam(formData, name, value, false);
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/messners/gitlab/api/CommitsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public CommitsApi (GitLabApi gitLabApi) {
* GET /projects/:id/repository/commits
*
* @param projectId
* @return
* @return a List<Commit> containing the commits for the specified project ID
* @throws GitLabApiException
*/
public List<Commit> getCommits (int projectId) throws GitLabApiException {
Expand All @@ -41,7 +41,7 @@ public List<Commit> getCommits (int projectId) throws GitLabApiException {
*
* @param projectId
* @param sha a commit hash or name of a branch or tag
* @return
* @return the Commit instance for the specified project ID/sha pair
* @throws GitLabApiException
*/
public Commit getCommits (int projectId, String sha) throws GitLabApiException {
Expand All @@ -57,7 +57,7 @@ public Commit getCommits (int projectId, String sha) throws GitLabApiException {
*
* @param projectId
* @param sha a commit hash or name of a branch or tag
* @return
* @return the Diff instance for the specified project ID/sha pair
* @throws GitLabApiException
*/
public Diff getDiff (int projectId, String sha) throws GitLabApiException {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/messners/gitlab/api/JacksonJson.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public <T> T unmarshal (Class<T> returnType, String postData)
* Marshals the supplied object out as a formatted JSON string.
*
* @param object the object to output as a JSON string
* @return
* @return a String containing the JSON for the specified object
*/
public <T> String marshal (final T object) {

Expand Down
6 changes: 1 addition & 5 deletions src/main/java/com/messners/gitlab/api/ProjectApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,7 @@ public void deleteHook (ProjectHook hook) throws GitLabApiException {
*
* PUT /projects/:id/hooks/:hook_id
*
* @param projectId
* @param url
* @param doPushEvents
* @param doIssuesEvents
* @param doMergeRequestsEvents
* @param hook
* @return the modified project hook
* @throws GitLabApiException
*/
Expand Down

0 comments on commit a5ab678

Please sign in to comment.