Skip to content

Commit 470da06

Browse files
committed
Cleaning up javadoc warnings
1 parent a746a31 commit 470da06

6 files changed

Lines changed: 3 additions & 9 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.kohsuke</groupId>
55
<artifactId>pom</artifactId>
6-
<version>14</version>
6+
<version>17</version>
77
</parent>
88

99
<artifactId>github-api</artifactId>

src/main/java/org/kohsuke/github/GHRelease.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ static GHRelease[] wrap(GHRelease[] releases, GHRepository owner) {
121121
* Java 7 or greater. Options for fixing this for earlier JVMs can be found here
122122
* http://stackoverflow.com/questions/12361090/server-name-indication-sni-on-java but involve more complicated
123123
* handling of the HTTP requests to github's API.
124-
*
125-
* @throws IOException
126-
*/
124+
*/
127125
public GHAsset uploadAsset(File file, String contentType) throws IOException {
128126
Requester builder = new Requester(owner.root);
129127

src/main/java/org/kohsuke/github/GHReleaseBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public GHReleaseBuilder body(String body) {
3333
*
3434
* @param commitish Defaults to the repository’s default branch (usually "master"). Unused if the Git tag
3535
* already exists.
36-
* @return
3736
*/
3837
public GHReleaseBuilder commitish(String commitish) {
3938
if (commitish != null) {

src/main/java/org/kohsuke/github/GHRepository.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ public GHPersonSet<GHUser> getCollaborators() throws IOException {
449449
* Lists up the collaborators on this repository.
450450
*
451451
* @return Users
452-
* @throws IOException
453452
*/
454453
public PagedIterable<GHUser> listCollaborators() throws IOException {
455454
return listUsers("collaborators");
@@ -818,7 +817,7 @@ public GHTree getTreeRecursive(String sha, int recursive) throws IOException {
818817
}
819818

820819
/**
821-
* Obtains the metadata & the content of a blob.
820+
* Obtains the metadata &amp; the content of a blob.
822821
*
823822
* <p>
824823
* This method retrieves the whole content in memory, so beware when you are dealing with large BLOB.

src/main/java/org/kohsuke/github/GHTree.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public String getSha() {
3030

3131
/**
3232
* Return an array of entries of the trees
33-
* @return
3433
*/
3534
public List<GHTreeEntry> getTree() {
3635
return Collections.unmodifiableList(Arrays.asList(tree));

src/main/java/org/kohsuke/github/GitHub.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ protected void wrapUp(GHUser[] page) {
416416
*
417417
* @param key The license key provided from the API
418418
* @return The license details
419-
* @throws IOException
420419
* @see GHLicense#getKey()
421420
*/
422421
@Preview @Deprecated

0 commit comments

Comments
 (0)