Cleaning up javadoc warnings

This commit is contained in:
Kohsuke Kawaguchi
2016-12-17 08:17:20 -08:00
parent a746a310bc
commit 470da06ecf
6 changed files with 3 additions and 9 deletions

View File

@@ -3,7 +3,7 @@
<parent>
<groupId>org.kohsuke</groupId>
<artifactId>pom</artifactId>
<version>14</version>
<version>17</version>
</parent>
<artifactId>github-api</artifactId>

View File

@@ -121,9 +121,7 @@ public class GHRelease extends GHObject {
* Java 7 or greater. Options for fixing this for earlier JVMs can be found here
* http://stackoverflow.com/questions/12361090/server-name-indication-sni-on-java but involve more complicated
* handling of the HTTP requests to github's API.
*
* @throws IOException
*/
*/
public GHAsset uploadAsset(File file, String contentType) throws IOException {
Requester builder = new Requester(owner.root);

View File

@@ -33,7 +33,6 @@ public class GHReleaseBuilder {
*
* @param commitish Defaults to the repositorys default branch (usually "master"). Unused if the Git tag
* already exists.
* @return
*/
public GHReleaseBuilder commitish(String commitish) {
if (commitish != null) {

View File

@@ -449,7 +449,6 @@ public class GHRepository extends GHObject {
* Lists up the collaborators on this repository.
*
* @return Users
* @throws IOException
*/
public PagedIterable<GHUser> listCollaborators() throws IOException {
return listUsers("collaborators");
@@ -818,7 +817,7 @@ public class GHRepository extends GHObject {
}
/**
* Obtains the metadata & the content of a blob.
* Obtains the metadata &amp; the content of a blob.
*
* <p>
* This method retrieves the whole content in memory, so beware when you are dealing with large BLOB.

View File

@@ -30,7 +30,6 @@ public class GHTree {
/**
* Return an array of entries of the trees
* @return
*/
public List<GHTreeEntry> getTree() {
return Collections.unmodifiableList(Arrays.asList(tree));

View File

@@ -416,7 +416,6 @@ public class GitHub {
*
* @param key The license key provided from the API
* @return The license details
* @throws IOException
* @see GHLicense#getKey()
*/
@Preview @Deprecated